- 🇨🇭Switzerland berdir Switzerland
We've been testing this for a long time and the commerce issue has been committed now.
Automatically closed - issue fixed for 2 weeks with no activity.
For a long time we always had race conditions between these two requests:
The issue is, that the payment is completed in PaymentOrderUpdater on request destruction and because both orders are processed in parallel, race conditions happens like order mails are sent twice and so on.
See here:
https://www.drupal.org/project/commerce/issues/3085805 →
All attempt to fix the issue on commerce_core side did not work. So the proper solution seems to be to use order locking on the payment provider.
The idea is to basically always wait for the notification from Saferpay BEFORE the client can trigger the "onReturn" functionality when returning from the payment provider.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
We've been testing this for a long time and the commerce issue has been committed now.
Automatically closed - issue fixed for 2 weeks with no activity.