Start a new topic

Paypal Express Checkout problems

Greetings.

I palced PaypalExpress Checkout button on my site and tried to update billing data on chargebee.

After obtaining of transation_id from PayPal through DoExpressCheckout operation, I've tried to update billing data with the operation:


Result result = com.chargebee.models.Customer

                        .updatePaymentMethod(customerId)

                        .paymentMethodType(Type.PAYPAL_EXPRESS_CHECKOUT)

                        .paymentMethodReferenceId(transactionId).request();


But I have error:


"api_error_code": "payment_method_verification_failed",

  "error_code": "add_card_error",

  "error_msg": "Problem while adding the payment method. Error message : Billing Agreement Id or transaction Id is not valid",

  "http_status_code": 400,

  "message": "Problem while adding the payment method. Error message : Billing Agreement Id or transaction Id is not valid",

  "type": "payment"


PayPal Express gateway is set to my test account.

What's wrong?



1 person has this question
Login or Signup to post a comment