Page History
...
An example of a response when an order was created successfully:
Code Block | ||
---|---|---|
| ||
{"url": "https://payments.paysecure.ru/pay/pay.cfm?CFSID=MCRdVzAjKDM3Ai0nXVVKSCRbXl8pVyAgIAo%3D&stage=iframe", "expirationtime":"07.07.2018 16:37:53", "orderstate": "In Process"} |
If the order was created successfully, the value of the order status "In Process" is always returned, and only when such a status is received, you can use the URL returned by the service to redirect the payer or substitute it in the iFrame address.
An example of an error response:
Code Block | ||
---|---|---|
| ||
{"URL":"", "expirationtime":"07.07.2018 13:37:53", 'orderstate": "Decline"} |