paypal checkout works fine in sandbox mode but not in live mode

votati
Contributor
Contributor

I am implementing paypal checkout on my website. When a customer of mine pays with paypal everything works ok, but when they pay with credit/debit card it is rejected. I have LIVE mode set up In sandbox mode everything works fine! pay with paypal or card, but in live mode, it does not work to pay with card. I would like to know how I can see more details about the error. 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Chiranjeevi
Moderator
Moderator

Good day @votati,

 

Thank you for posting to the PayPal community.

 

This should be an issue with the customer funding source/instruments used during the checkout flow.

 

https://developer.paypal.com/api/rest/reference/orders/v2/errors/#link-captureorder

 

Could you please request the customers/buyers to try different/valid card details.

 

I would suggest to try processing a test payment using a card which is not linked to your PayPal account, since merchant can't process self payments.

 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

View solution in original post

Login to Me Too
8 REPLIES 8

votati
Contributor
Contributor

up 😞

Login to Me Too
Solved

MTS_Chiranjeevi
Moderator
Moderator

Good day @votati,

 

Thank you for posting to the PayPal community.

 

This should be an issue with the customer funding source/instruments used during the checkout flow.

 

https://developer.paypal.com/api/rest/reference/orders/v2/errors/#link-captureorder

 

Could you please request the customers/buyers to try different/valid card details.

 

I would suggest to try processing a test payment using a card which is not linked to your PayPal account, since merchant can't process self payments.

 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

votati
Contributor
Contributor

Several customers tried with a credit card, but always got the same error. The error is: 

votati_0-1690321176947.png

Translated to English: Sorry, we could not associate this card. Please verify that all details are correct and try again or try a different card.

 

The error displayed on the console:
ppxo_inline_guest_unhandled_error

votati_1-1690321259975.png

 

I will try to open an MTS ticket.

Login to Me Too

IamDEV
Contributor
Contributor

Hi @votati 

Has this issue been resolved? I'm currently experiencing the same problem, and the error isn't being triggered in the onError method either.

Login to Me Too

IamDEV
Contributor
Contributor

I am encountering an issue with the error code

ppxo_inline_guest_unhandled_error

 

during a payment attempt, and I am trying to figure out how to capture and handle this error programmatically within my JavaScript code. Specifically, the error does not trigger the

onError

callback or any other error handling mechanism within the PayPal Buttons integration.

Could you please clarify how I can detect this error and implement proper error handling in the code? I'm specifically looking for a solution that allows us to capture and manage this error programmatically during the payment flow.

Login to Me Too

votati
Contributor
Contributor

I couldn't catch the error because the onError callback was not called, and I couldn't do it with a javascript try-catch either because the paypal code is executed through an html <iframe> element.

 

I don't remember how I fixed it, maybe because my local development sv was http and not https?
Try doing it but with an https domain, not http.

Login to Me Too

IamDEV
Contributor
Contributor

@MTS_Chiranjeevi  - Can you please guide me on above my question. Thanks

Login to Me Too

IamDEV
Contributor
Contributor

Thanks for your suggestion! However, I’m already using an HTTPS domain for my site, so I don’t think the issue is related to HTTP vs. HTTPS.

I’m still encountering the ppxo_inline_guest_unhandled_error during the payment flow.

Does you have any clue or experience with how this issue could be fixed or how to properly handle this error programmatically in the PayPal Buttons integration?

Thanks

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.