# Test a generic offsite approval flow

Use this process to test a generic offsite approval flow.

## Ensure 3DS is not active

1. Ensure that 3DS is not active on the payment gateway account:
  1. In the left navigation bar, press .
  2. In the **Configuration** section, press **Gateway accounts**.
  3. Press **TestProcessor**.
  4. Press **Edit gateway account**.
  5. In the **Setup instruction** section, in the **Instruction** dropdown, select **Authorize**.
  6. In the **Advanced configuration** section, turn on the **Advanced configuration** toggle.
  7. Scroll down the page to the **3D secure** section, and ensure that the **Activate 3D secure** checkbox is clear.
  8. At the bottom of the page, press **Save gateway account**.


## Create a test customer and transaction

1. Create a new customer and test the transaction:
  1. In the left navigation bar, press , then press **Customers**.
  2. In the top right of the page, press **Add customer**.
  3. Enter the test customer's details, then press **Save customer**.
  4. In the right of the page, press , then press **Collect payment**.
  5. Enter the amount and add a description for the payment.
  6. Select the **Pay with Rebilly hosted payment form** option, and press **Submit**.
  7. Press **Copy URL** and open the URL in a browser.
  8. In the payment card number field, enter `4000000000000101`.
Use a future expiration date (avoid `10/2051`), and any valid CVV (avoid `000`, `0000` for Amex).
  9. Press **Continue**, then press **Confirm**.


In the response, an `approvalUrl` value is returned.
From the URL you have the option to approve, decline, or cancel the transaction.