Handling the rendering of the Success and Failure Page.
Depending on how your business has been configured on the E-Mandates platform, when your payers click the Sign button they may be directed to provide an authentication code. This unique code will be sent to your payers either via SMS or e-mail.
Note: You will need to provide our configuration team with the Success and Failure URLs that you require when you first register for E-Mandates. See the Configuration section.
Once the payer has verified his/her details and a success page has been returned you will need to persist the following details returned in the Success URL:
- Encoded mandate ID
- Encoded scheme ID
- Optionally the (unencoded) mandate reference (or UMR)
(You will use these values later to Create Direct Debit payments).
The Success Page URL might have the following query parameters, for example:
A Failure Page URL would have the following, for example: