Issue
I am integrating Authorize.net Payment gateway (SIM Method) to my website. I have actually integrated it. But I am facing some problem in verifying the successful payment in relay response. As in most of the payment we pass an orderid or a reference number which in turn we can use to verify the particular order is complete. But how we can implement this on Authorized.net SIM method? I am using relay response to get the details of transaction.
Solution
The Authorize.net SIM API that you are referring to is deprecated and is replaced by the Accept Hosted method.
Using ths SIM API, the Payment Gateway Response contains the x_response_code, the value of which indicates the overall status of the transaction.
- 1 - Approved
- 2 - Declined
- 3 - Error
- 4 - Held for Review
There are also the following SIM API Payment Gateway fields returned in the response:
- x_trans_id: The payment-gateway-assigned identification number for the transaction
- x_invoice_num: The merchant-assigned invoice number for the transaction. Format: 20-character maximum (no symbols)
- x_po_num: The merchant-assigned purchase order number. Format: 25-character maximum (no symbols)
Answered By - Nexus Software Systems Answer Checked By - David Goodson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.