After a user has loaded the paypage, they may exit the payment page in three different scenarios - having successfully completed the transaction, having unsuccessfully completed the transaction, and having cancelled (not attempted) the transaction. Asperato can send the user to different URLs for each of these three separate scenarios.
These URLs can be set by changing the value of fields on the payment object - these fields are Success_Endpoint
, Fail_endpoint
, and Cancel_endpoint
, and control the URL where a user will be sent in these three scenarios.
UPDATE - Starting from Asperato ONE v2.19 it is possible to set up default endpoints for authorisations & payments, as described in release notes here.
Endpoint Considerations:
- Endpoints need to be set on individual payment/authorisation records. This can be done manually, or more likely, in practice, via a Salesforce Process Builder/Workflow.
- Redirection to endpoints will apply when payment/authorisations are processed via the Ecommerce URL only, they do not apply when payments/authorisations are processed from within the Asperato application.
- It is possible to automatically advance straight to the endpoints without displaying the standard Asperato screens. Please contact the Asperato team to request this.
- Redirection to endpoints will not take effect when the Asperato paypage is iframed. Postmessages should be used with iframes.