Error message for card payments - Something went wrong. We'll take you back to the checkout so you can try again
See original GitHub issueDescription
Some of our customers are receiving an error message saying Error message for card payments - Something went wrong. We'll take you back to the checkout so you can try again
This happens when they try to pay using Debit or Credit card
button. Please note that we have successfully processed other transactions through the Paypal checkout buttons and our customer has already contacted their bank to check that the transaction is not being blocked from their side.
- Screenshots or videos that show the issue
-
Your code
createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: context.get('transactionAmount').toString(), } }], application_context: { shipping_preference: 'NO_SHIPPING' } }); }, onApprove: function(data, actions) { context.ui.set('showProcessingModal', true); run.later(() => { //Basically stop showing that modal after 5 seconds.. as there is a lot of auto magic with Paypal context.ui.set('showProcessingModal', false); }, 5000); return actions.order.capture().then(function(details) { context.handleSuccesfulPayment(details) }); }, onError: function (err) { context.handleFailedPayment(stripeResponse).then().finally(()=> { context.ui.set('showProcessingModal', false); context.ui.showGeneralMessage('Oops', 'We were unable to process your payment. Please get in touch.'); }); } }).render('#paypal-button-container-'+context.elementId);```
-
The
paypal.version
from your browser console
5.0.126
- The exact browser version
- A link to your page with the issue, if possible
I’ve created a similar trip in our staging environment here: https://staging.timbuktutravel.com/trip/-ad3787f5-4a38-425c-bc09-a9fe35765f12/pay
you can log in with: email: paypal@test.com password: paypal123
- All console logs during the time of the issue, especially error messages
- Does the issue also occur at developer.paypal.com/demo/checkout?
- Does the issue occur consistently, or intermittently? Intermittently
Steps to reproduce
Go to the pay page of one of the trips that we sell Click the black “Debit or Credit card” button. Fill in the card details. See error message Some customers are able to pay. Some customers are not able to pay. Seeing this error message. We have two different customers that are experiencing this with different cards
Affected browsers
- Chrome
- Safari
- Firefox
- Edge
- IE
- Chrome Mobile/Tablet
- Safari Mobile/Tablet
- Web View / Safari ViewController
- Other
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:38 (1 by maintainers)
Experiencing this issue with my PayHip product pages.
Experiencing the same issue now, just discovered as of a few days ago.