Skip to content

Accept the customer back

After the payment is finished, the customer can click the Return to shop button, and Demo PSP will redirect the customer back to the success_url, decline_url or fail_url with the following parameters in the request query string:

Info

If there are parameters in return links that the merchant specified, Demo PSP does not change them, but simply adds own parameters.

For example, if success_url is http://www.example.com/payment/success?mytracking_id=1234, then the return link to the successful URL will be http://www.example.com/payment/success?mytracking_id=1234&token=ed873d8f3765d0a7a0c610de7fae31c07da0b3c5977d30a1c94df619aa5c6378&status=successful&uid=2343-5fcb2bda3b.

Example of the successful_url where the system redirects the customer
http://www.example.com/payment/success?token=ed873d8f3765d0a7a0c610de7fae31c07da0b3c5977d30a1c94df619aa5c6378&status=successful&uid=2343-5fcb2bda3b