You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That essentially is correct and is how I have some test scripts successfuly running. The transaction reference and ID look like they may be a little mixed up on the middle, but I don't know enough about your database to say for sure.
The response to the initial authorize will return a transactionReference generated by the gateway. That trancationReference is then passed to the capture endpoint. The same transactionReference is then returned with the response to that (you then call it transaction_id at this point for looking it up on your persistent payment storage). The response to the capture will also return the sametransactionReference.
On the gateway response, the transId (the capture) and the refTransId (the transaction being captured) are one and the same. Fir a void or refund, I believe they will differ, since those would be separate transactions.
this my code
returned $transaction_id is always zero , the mode of authorize.net is test ,
Is that correct ?
[JDJ: edited for formatting]
The text was updated successfully, but these errors were encountered: