Use this process to test a 3DS challenge flow.
3DS is an additional security layer for online credit and debit card transactions. 3D stands for the three domains which interact using the protocol: the merchant or acquirer domain, the issuer domain, and the interoperability domain. For more information, see 3D Secure (3DS).
Configure 3DS on the payment gateway account:
In the left navigation bar, press Settings .
In the Configuration section, press Gateway accounts.
Press TestProcessor.
Press Edit gateway account.
In the Setup instruction section, in the Instruction dropdown, select Authorize.
In the Advanced configuration section, turn on the Advanced configuration toggle.
Scroll down the page to the 3D secure section, then select the Activate 3D secure checkbox.
In the 3D server dropdown, select ThreeDSecureIO3dsServer.
Depending on which payment cards you would like to test using 3Ds, select from the following:
At a minimum, you must enter details for Visa and Mastercard.
Visa
- In the Acquirer merchant ID Visa field, enter
test-visa. - In the Merchant acquirer BIN Visa field, enter
411111.
- In the Acquirer merchant ID Visa field, enter
Mastercard
- In the Acquirer merchant ID Mastercard field, enter
test-mastercard. - In the Merchant acquirer BIN Mastercard field, enter
555555.
- In the Acquirer merchant ID Mastercard field, enter
American Express (AMEX)
- In the Acquirer merchant ID AMEX field, enter
test-amex. - In the Merchant acquirer BIN Amex field, enter
378282.
- In the Acquirer merchant ID AMEX field, enter
Discover
- In the Acquirer merchant ID Discover field, enter
test-discover. - In the Merchant acquirer BIN Discover field, enter
601111.
- In the Acquirer merchant ID Discover field, enter
JCB
- In the Acquirer merchant ID JCB field, enter
test-jcb. - In the Merchant acquirer BIN JCB field, enter
305693.
- In the Acquirer merchant ID JCB field, enter
In the Merchant name field, enter your merchant name.
In the Merchant country dropdown, select a country.
In the Merchant URL field, enter any valid URL.
In the Transaction type dropdown, select Goods/Service purchase.
At the bottom of the screen, press Save gateway account.
Create a new customer and test the transaction:
- In the left navigation bar, press Data tables, then press Customers.
- In the top right of the screen, press Add customer.
- Enter the test customer's details, then press Save customer.
- In the right of the screen, press , then press Collect payment.
- Enter the amount and add a description for the payment.
- Select the Pay with Rebilly hosted payment form option, and press Submit.
- Press Copy URL and open the URL in a browser.
- In the payment card number field, enter
4111111111111111. Use a future expiration date (avoid10/2051), and any valid CVV (avoid000,0000for Amex). - Press Continue, then press Confirm.
In the response, an approvalUrl value is returned. At the URL, simulate the different outcomes of the challenge flow in a 3DSecure.io sandbox environment.
To test different 3DS flows, use the last four digits from 3dsecure.io to generate a card number that passes the Luhn check. For more information, see 3DS browser tests.
Alternatively, select from the following predefined card numbers to test 3DS outcomes:
| Card brand | Number | Outcome |
|---|---|---|
| Visa | 4111111111111111 | Manual challenge |
| Mastercard | 5555555555554444 | Frictionless flow, authenticated |
| Visa | 4000000000000002 | Frictionless flow, not authenticated |
| Mastercard | 5105105105105100 | Frictionless flow, not authenticated |