Zen Cart 1.5.5d
PHP 5.4.36
PayPal Express and Payments Pro installed.
Our store is recording two orders one second apart. The PP transaction ID is the same and only one payment is being made. Customer is getting an error saying something about (sorry, don't have exact language) a duplicate invoice.
We've enable logging and I do have the logs for both orders. Time stamps are one second different. Heading in each file is:
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.5
Response for #1:
[TOKEN] => EC-83E50027K27786748
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2017-02-03T13:53:54Z
[CORRELATIONID] => 2148ef06eec15
[ACK] => Success
[VERSION] => 124.0
[BUILD] => 28806785
Response for #2:
[TOKEN] => EC-83E50027K27786748
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2017-02-03T13:53:55Z
[CORRELATIONID] => 436d14df414
[ACK] => SuccessWithWarning
[VERSION] => 124.0
[BUILD] => 28806785
[L_ERRORCODE0] => 11607
[L_SHORTMESSAGE0] => Duplicate Request
[L_LONGMESSAGE0] => A successful transaction has already been completed for this token.
[L_SEVERITYCODE0] => Warning
At first, we thought customers might be clicking the payment button twice so a few days ago disable the button on submit so they can't do that.
How can this be happening and what can we do about it?
Bookmarks