im using laravel 5 with omnipay/paypal to make some express chekouts.
everything seems good except that in my paypal response i want to know why i have two ACK vars, because some tutorials on the web use it to verify if the payment is accepted or not...
The problem:
On the first time i click on "Pay" im redirected and i have:
["ACK"]=>
string(7) "Success"
["PAYMENTINFO_0_ACK"]=>
string(7) "Success"
Then, if i reload my page i have:
["ACK"]=>
string(18) "SuccessWithWarning"
["PAYMENTINFO_0_ACK"]=>
string(7) "Success"
["L_LONGMESSAGE0"]=>
string(67) "A successful transaction has already been completed for this token."
My question:
What is the difference between ACK and PAYMENTINFO_0_ACK ?
When paypal say you to use ACK to handle errors : https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECGettingStarted/#id84fb96ff-148f-421c-8cde-b9f9583091ca
Thanks