Duplicate and Triplicate Stripe Payments for some Checkout Transactions
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Duplicate and Triplicate Stripe Payments for some Checkout Transactions
Aimeos 2019.10
Omnipay ^3.0
PHP 7.2
Linux
In about 10-15% of transactions we're seeing duplicate and even triplicate Stripe payments occurring.
Each payment in the stripe dashboard has a different token but the same order No and same date:hour:min
Most of these have happened on the iPhone X running IOS 13 with a few on Mac/Safari and one on chrome.
Wondering if the payment system allows multiple hits on the submit button with no checks to prevent this from happening?
Omnipay ^3.0
PHP 7.2
Linux
In about 10-15% of transactions we're seeing duplicate and even triplicate Stripe payments occurring.
Each payment in the stripe dashboard has a different token but the same order No and same date:hour:min
Most of these have happened on the iPhone X running IOS 13 with a few on Mac/Safari and one on chrome.
Wondering if the payment system allows multiple hits on the submit button with no checks to prevent this from happening?
Re: Duplicate and Triplicate Stripe Payments for some Checkout Transactions
Stipe documentation suggests to disable the button until an error occurs:
The current code doesn't seem to do that:
https://github.com/aimeoscom/ai-payment ... #L267-L352
If you can fix the problem, please create a pull request on Github so it can be solved permanently.
See https://stripe.com/docs/payments/accept ... it-paymentstripe.confirmCardPayment may take several seconds to complete. During that time, disable your form from being resubmitted and show a waiting indicator like a spinner. If you receive an error, show it to the customer, re-enable the form, and hide the waiting indicator.
The current code doesn't seem to do that:
https://github.com/aimeoscom/ai-payment ... #L267-L352
If you can fix the problem, please create a pull request on Github so it can be solved permanently.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 1
- Joined: 04 May 2021, 09:48
Re: Duplicate and Triplicate Stripe Payments for some Checkout Transactions
Laravel 5.6, aimeos-laravel 2020.04, PHP version 7.1. Development environment: Laravel Valet on MacOS 10.13.6, High Sierra, nginx.
I believe I have a fix for this issue now following the Stripe guidelines. I would like to run it by an Aimeos administrator before sharing, but I don't seem to have the privileges to see members lists just now.
I believe I have a fix for this issue now following the Stripe guidelines. I would like to run it by an Aimeos administrator before sharing, but I don't seem to have the privileges to see members lists just now.
Re: Duplicate and Triplicate Stripe Payments for some Checkout Transactions
If you have a fix, please create a pull request on Github:
https://github.com/aimeoscom/ai-payments
https://github.com/aimeoscom/ai-payments
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star