Custom ecommerce cart. Return from merchant check

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
tunnelboy
New php-forum User
New php-forum User
Posts: 10
Joined: Wed Oct 21, 2015 5:15 pm

Sat Jun 29, 2019 11:45 am

I have been running a custom made Ecommerce cart and I've got one glitch I can't figure out.

Someone checks out using a credit card to our merchant API. The merchant ok's the payment, but upon return, host has a glitch or goes down and customer receives a blank page or other such "can't connect" error. So customer tries transaction again and there is a double payment.

Granted this happens just once or twice a YEAR, but it does happen and customer is usually not happy about a double payment. Any ideas on some kind of check I can do to make sure this doesn't happen?

Same situation with a PayPal transaction. Customer is sent to PP for pre-auth, returns, checks out and does final auth and website is not there upon return. PP took funds, but customer doesn't know this and tries again.

Thx

Post Reply