Support the development of TastyIgniter Learn more
I don’t know how, but a customer has managed to create a duplicate order. The system has also taken the payment twice using Square.
Anything I can do to prevent it from happening again?
wakey18 Idempotency is already enabled in Square… so in this case I would suggest the customer has actually placed 2 orders or its gotten through Square’s checks.
I have had the same issue a couple times with Stripe. Infrequent and generally I have just handled by either having the restaurant reject the second order (using the Order Approver add-on) or manually refunding in Stripe.
djtimca so far I know idempotency should be enabled for stripe payment gateway
Could it be related to Order Approver, Stripe Authorize and/or Multi-Vendor Stripe Connect (all of which I have in place)?
Multiple orders in Stripe is definitely handled by idempotency… you may see duplicate orders in the admin, but only one payment. Only one of the duplicate orders should have the default payment status - the others should have an incomplete status.
ryanmitchell I have had two occasions where both went through and I had to issue a refund on one. Not sure which piece of the puzzle allowed it to happen but for sure it has happened twice.
ryanmitchell OK not sure what is happening then.
It def was a duplicate order the large order plus note were the same, the order timestamp was the same (almost, only different by microseconds).
djtimca payments are handled by pay register so it can only be on that side of things. Idempotency is the way this is solved and we have enabled it, so its likely the issue isnt in the code we control.