Race condition - checkout error blocks the customer on order page, but order is created in prestashop and funds transferred #1370
Replies: 5 comments
-
|
Hello @Maofree can you tell us the prestashop versions of these 2 stores? What you describe is a race condition problem. I will try to see if I can reproduce it. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matks in all these cases the customer remains blocked on the order page displaying a notice that does not give a precise explanation of the error but is generic I think you need to focus on the alert. Apparently, it's not an error, since PayPal withdraws the funds from the customer's account or card, and the order is created on PrestaShop without the customer being redirected to the order confirmation page. If there's a withdrawal, even if there were a warning from PayPal, it shouldn't be considered a critical error; the customer should be able to see the order confirmation page. On the larger site, this problem occurs every 1-3 days; on the smaller site, every 1-2 weeks. It's not limited to a specific country or PayPal payment method, but rather to that type of alert, perhaps when the customer doesn't have funds in their PayPal account and the customer's account is checked to make the withdrawal from there (this is just a guess as to the nature of the alert, but it also occurs when they pay by card). There could be many reasons, so in my opinion it is better to check if the withdrawal has been made by the customer, at this point let the customer complete the order even if there are warnings. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matks Can you tell me if you understand the nature of the problem? If you'd like, I can provide you with the codes for the transactions that had this problem, and can you tell PayPal what the problem is? bye |
Beta Was this translation helpful? Give feedback.
-
|
Hello @Maofree Just to keep you informed: right now we are receiving multiple inputs from multiple sources, so we're trying to handle everything at once 😉
If you have some items we can use to better understand, we always welcome it 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm reporting here a problem I've been reporting to the module support team in numerous tickets for a year.
This problem is present on two websites; the error occurs randomly, and I don't know how to reproduce it.
One thing I've noticed is that orders with problems have this message on the admin page: "The bank has accepted the transfer of responsibility. You can safely process your order."
All other PayPal orders do not have this message.
These are two of some tickets I opened to report this error
https://help-center.prestashop.com/hc/it/requests/315771
https://help-center.prestashop.com/hc/it/requests/374826
I'll explain this error in detail.
Basically, the customer places the order on the checkout page by pressing the "Confirm Order" button (whether by card or PayPal account). However, in some cases, this displays a warning, but the order is created correctly in PrestaShop and the funds are debited from the customer's account or card and sent to the merchant's account.
Then, what often happens is that the customer presses the "Confirm Order" button again, and a subsequent order is created and the funds are debited again, even though they receive a new error with "Card ID = 0."
Since everything is working, I think the order completion process is being blocked by a warning and not an error.
In fact, the defective orders display the message I mentioned.
The problem has recurred on both sites over the last two days.
This problem isn't present on any of the other sites I manage.
Now, PayPal support has asked for information, and I've repeated these things.
ps_checkout v8.5.0.3
bye
Beta Was this translation helpful? Give feedback.
All reactions