What do we use as the Failure page (“sorry”) and what does it do?

If you have followed our setup guide here, you are directed to place a fallback URL – https://domain.co.uk/wc-api/ag_fd_checkout  on the Failure Page (“Sorry”) field.

When is this URL used?

When a transaction has been declined, for example, customers that have not got 3D secure on their cards and have tried to process a transaction.
These transactions will be declined if 3D secure isn’t completed successfully; therefore, First Data Connect will use the responseFailURL, the URL you have used on the Failure Page(“Sorry”) field.

Basically, our First Data Connect payment plugin sends decline and success URLs to the First Data Connect’s payment page.

If the transaction succeeds, it will send the user to https://domain.co.uk/checkout/order-pay/, but if it fails, it will use https://domain.co.uk/wc-api/ag_fd_checkout given that you have followed our setup guide mentioned above.

Why should we use this fallback?

Let’s say a customer tried to process the order; they would have been shown an error for a non-3D secure transaction. If this customer closed the browser after seeing this notice on the First Data Connect system, no data would be sent back to the website. If the customer waited for the auto-redirect back to the website, this “error” would have been logged in to the website. This fallback will send the order data should the customer close the browser or not go back to your website.

Was this helpful?