Responses
To Redirect Page and to Postback Url
The response from the server is an array. If the status has the value "OK" the transaction has been successfully processed.
The response array has the following structure:
Name | Data Type | Description |
---|---|---|
sid | String | Has the sid where transaction was processed |
status | String | Has the value "OK" for a successful transaction, or "EXC" for a failed transaction |
parent_txid | String | Parent transaction id |
txid | String | The transaction ID |
tx_action | String | The state change txaction, e.g. "PAYMENT" |
amount | String | The amount processed. The gateway currency amount |
currency | String | The currency in which the transaction was processed |
comment | String | Response from the gateway |
rebillkey | String | rebillkey for the transaction, if rebill is allowed |
descriptor | String | Gateway descriptor name |
tid | String | From the original transaction |
ref1 | String | From the original transaction |
ref2 | String | From the original transaction |
ref3 | String | From the original transaction |
ref4 | String | From the original transaction |
vrfy | String | This is a sha 256 hash so the data can be verified. To generate hash with sha256 the string of sid;rcode;txid;status;amount;currency;txaction |
error | f an error has occurred, then the status value will equal "EXC" and these parameters will be sent as well | |
error_type | String | The error type |
error_sys | String | The system that caused the error (client or server) |
error_msg | String | The error message |
error_info | String | Error information that contains the bank message and bank code |
error_code | String | Txprocess UAT error code |
Last updated