Notifications

Notifications are sent using the HTTP protocol to the URL provided by the merchant. Notifications are sent with HTTP protocol to URL provided by merchant. Data is transmitted as POST parameter strdata, which contain XML structure.

NODE
REQUIRED
DATA TYPE
DESCRIPTION

result

YES

Character

Result indicates the result of the transaction. OK: means transaction notification was received and accepted. ERROR: means error detected in the notification from the gateway.

gatetransid

NO

Character 36

Unique gateway transaction id.

merchanttransid

NO

Character max 50.

Unique merchant transaction id received in the request.

errorcode

NO

Character

Optional Error Code from the Merchant

errormessage

NO

Character

Optional description of the error.

Notifications Responses

Response from the merchant must be a non-encoded plain XML. Responses to each notification have the same structure. If no response, an invalid response or an error is received from the merchant, the system will attempt to deliver notification for the following 7 days. No further notifications will be sent and the merchant account may be suspended pending resolution of the problem. The Response will take the form of the following example:

  <?xmlversion="1.0" encoding="utf-8" ?>
<response>
		<result> </result>
		<gatetransid> </gatetransid>
		<merchanttransid>760</merchanttransid>
		<errorcode> </errorcode>
		<errormessage> </errormessage>		
</response> 

Last updated