Page History
To notify the merchant about payment results in real-time the IPS Assist provides the service for synchronous sending the results of the payment to the merchant server. After completion of the buyer payment (by bankcard or by e-cash) the message is being sent to the merchant server via HTTP POST method or SOAP method with parameters of the payment.
In the Personal Account you can specify the URL for sending the results, the type of signature and the secret word.
...
If the expected response setting is different from HTTP 200, then in response to the message about the payment results, the IPS Assist expects an xml package from the enterprise system.
The response must be generated depending on the Protocol Type setting in the Personal Account section Payment result options.
For POST protocol type
In case of the successful receiving and processing message the format of the replay packet should be:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<pushpaymentresult firstcode="0" secondcode="0">
<order>
<billnumber>value</billnumber>
<packetdate>value</packetdate>
</order>
</pushpaymentresult> |
In case of failure:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<pushpaymentresult firstcode="value" secondcode="value">
</pushpaymentresult> |
For SOAP protocol type
In case of the successful receiving and processing message the format of the replay packet should be:
...