#KarlS - Double Payment
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? Which API(s) are you using? Was Checkout used? Is it a custom payment form?
Here is a tx id: txn_3Jr3wqG30Vl6ne6N0EaPhiPD
One more example:
txn_3Jr3xcG30Vl6ne6N1S3M1lh7
those 2 represent a duplicate payment
Taking a look, hang on...
thanks. the code on the backend is a stripped down super basic stripe code written in PHP
These two Charges were created by your PHP code for two different Customers. Have a look at these requests:
First Charge: https://dashboard.stripe.com/logs/req_86hyk9k2XWVb9o
Second Charge: https://dashboard.stripe.com/logs/req_R7or037mAzsm3Y
To prevent duplicate charges we recommend you disable your "pay" button once it's been clicked and implement idempotency: https://stripe.com/docs/idempotency
those links not working
Oh, my fault. Edited. Will you try now?
Are you logged in to the same account where these Charges exist?
wrong Strip session
ok, so that is part of the problem.
our code does not try to match up customers by email address... so everycharge ends up creating a new customer
I'll check if we are disabling the order button on submit...
So it gets stranger. I'm looking at the date/time received for both records and they are within a minute of each. We also collect the user "signature" which is an abitrary text field they type their name into. Well the names match, but not by casing which means they did fill out the form twice... I have a call into the customer.