Testing Payments with 3D Secure (3DS)
3D Secure 2.0 is a protocol designed to help prevent credit card fraud by providing an additional means of customer authentication. Please see https://ja.komoju.com/blog/news/3d-secure/ (Japanese only) for more information.
Many regulations and rules require merchants to support 3D Secure.
KOMOJU supports 3D Secure 2.0 out of the box for our primary integration methods (Hosted Page, Hosted Fields). However for merchants who create payments directly, some extra work is required in order to support 3DS.
You can read more about how to test 3D Secure through API in 3D Secure Without a Session.
Test Cards
You can use the following credit card information to test the 3D Secure flow in test mode:
Regarding credit card information
Unlike other test credit cards, you must use these values to be able to test the success flow. These values are common between all of the test credit cards:
Name Test Card Expiration 08/2025
The value of Security Code can be any 3 digits number.
Authentication success
These card numbers can be used to complete a transaction without an authentication challenge.
Card Number | Type |
---|---|
4100000000000100 | Visa |
5100000000000107 | Mastercard |
3528000000000106 | JCB |
Authentication success with second authentication
These card numbers can be used to test transactions with a password challenge via authentication_url
. Please use 123456
to pass the second authentication.
Card Number | Type |
---|---|
4100000000005000 | Visa |
5100000000005007 | Mastercard |
3528000000005006 | JCB |
Authentication rejected
These card numbers can be used to test a rejected authentication after accessing authentication_url
and being redirected to return_url
.
Card Number | Type |
---|---|
4100000000500000 | Visa |
5100000000500007 | Mastercard |
3528000000500006 | JCB |
Authentication failed on second authentication
These card numbers can be used to test transactions with a challenge password. Please use 111111
to simulate a failed authentication.
Card Number | Type |
---|---|
4100000000300005 | Visa |
5100000000300002 | Mastercard |
3528000000300001 | JCB |
Updated 4 months ago