Custom & Additional Settings
Endpoint URL Re-Direction
unaric payments allows you to control where customers are redirected after interacting with payment and authorisation pay pages this can be managed at both the organization level (using custom settings) and the individual record level how it works the success endpoint , fail endpoint , and cancel endpoint fields determine where a customer is redirected after a pay page transaction previously, setting these urls required custom development (flow or apex) for each payment or authorisation record this enhancement simplifies the process by introducing custom settings for these fields if configured, these settings provide default values for all records however, individual records can still override these defaults if needed if you are not using these endpoints, the custom settings and record level fields can remain unpopulated without affecting the user journey these fields simply provide an additional enhancement if you choose to use them if you currently use a custom flow to populate the endpoint fields at the record level, these new custom settings will not affect that flow you can optionally deactivate your flow and use these settings instead, but it is not required organisation level defaults to use organisation level defaults for the endpoint fields go to setup > custom code > custom settings select settings enter the desired url values in the following settings authorisation cancel authorisation fail authorisation success payment cancel payment fail payment success when you create payment or authorisation records, the corresponding endpoint fields will automatically populate with the values from the custom settings record level overrides you can override the organisation level defaults for individual records by editing the endpoint fields directly on the record setup to enable record level overrides, you must add the following fields to the payment and/or authorisation page layouts as needed success endpoint (asp04 success endpoint long c) fail endpoint (asp04 fail endpoint long c) cancel endpoint (asp04 cancel endpoint long c) add fields to page layouts in salesforce, navigate to setup > object manager locate and select either the payment or authorisation object in the left hand navigation menu, click "page layouts " select the page layout you want to modify drag the success endpoint , fail endpoint , and cancel endpoint fields from the palette onto the desired section of the layout click save to apply the changes repeat these steps for the other object (either payment or authorisation) once the fields are on the page layouts, users can edit them on individual records to override the organization level settings