Three Step Redirect

    The Three Step Redirect is designed to reduce your PCI compliance burden by hosting the payment form on the gateway. It is the recommended approach for custom web‑based payment flows where you want a branded experience without touching cardholder data directly.

    Overview

    Instead of sending card data from your server, the Three Step Redirect separates the transaction into three distinct steps:

    1. Your system initiates the transaction by posting basic order details to the gateway. The response includes a temporary payment token.
    2. You redirect the customer’s browser to a hosted payment form on the gateway, passing the token. The customer enters their payment details directly on this secure page, keeping sensitive data off of your servers.
    3. After the form is submitted, the gateway sends your system a notification (via redirect or callback) along with the result. You then finalise the order using the token.

    Benefits

    Independent experts highlight two key advantages of the Three Step Redirect: it significantly reduces your PCI footprint and still offers a high‑end look and feel for customers. Because the gateway handles the payment form, you avoid collecting cardholder data directly. This method is also required when using payer authentication services such as Verified by Visa or Mastercard SecureCode, making it well suited for high‑risk e‑commerce.

    Implementation

    Implementing a Three Step Redirect integration usually involves creating two endpoints on your server: one to initiate the transaction and one to handle the callback. After receiving the payment token, redirect the customer’s browser to the hosted payment form and include any order metadata you need to persist. When the gateway posts back the result, verify the signature and complete the order. Because the payment form is fully hosted, you can use the gateway’s styling options or CSS overrides to match your brand.

    Considerations

    When using a hosted form, you have less control over the user interface than with a direct post. Check the gateway’s documentation for available customisation options. Also be prepared to handle asynchronous callbacks, including retry logic in case network interruptions prevent immediate delivery of the result.