When a customer completes a payment, you will want to redirect them back to your site or to a screen that will track the payments from your side. This can be done in the following ways:
Global redirects
If you want every customer to be redirected to the same URL, use global redirects. These redirects are configured in the admin console.
Admin dashboard redirects
Redirects set in the admin dashboard will be applied to all pay-ins but can be overwritten by per-transaction redirects.
- Click on the profile icon on the top right of the admin dashboard.
- Select the Company Settings option.
- Click on the Payin Settings Tab.
Click Edit.
Fill in the following links:
Redirect Link |
Explanation |
Payment authorisation processing URL |
Redirection URL used within a payment journey when a payment has been successfully authorised. This applies to desktop and mobile. |
Payment failure authorisation URL |
Redirection URL used within a payment journey when a payment fails or is cancelled. This applies to desktop and mobile. |
Pay-in redirects set in the transaction
It is possible to set up redirects per transaction. This might be used if you are directing desktop and mobile users to different locations, or to return customers to different places depending on how they were referred into the payment journey.
Payment parameter |
Explanation |
successRedirectUrl |
Redirection URL used within a payment journey when a payment has been successfully authorised. This applies to desktop |
failureRedirectUrl |
Redirection URL used within a payment journey when a payment fails or is cancelled. This applies to desktop. |
successBankRedirectUrl |
Redirection URL used within a payment journey when a payment has been successfully authorised. This applies to mobile. |
failureBankRedirectUrl |
Redirection URL used within a payment journey when a payment fails or is cancelled. This applies to mobile. |
These parameters are set API for the following types of transactions:
Hosted pages (preferred)
SDK
- https://developers.yaspa.com/#creating-the-pay-in-instruction
- https://developers.yaspa.com/#creating-the-verified-pay-in-instruction
Related articles
- Understanding the Pay-in Journey
- Setting up pay-in bank accounts
- Understanding pay-in webhook notifications
- Set-up payment webhooks