可以使用以下测试环境卡进行测试(更多请具体参考官网:https://www.checkout.com/docs/testing/test-card-numbers#Credit_cards
其中有效期可以填写未来任意日期(如 01/2023)

信用卡(Credit cards)

Card scheme Number CVV 3D Secure version supported
Visa 4242424242424242 100 3DS2
Mastercard 5436031030606378 257 3DS2
Amex 378282246310005 1000 3DS1
DinersClub 30123456789019 257 3DS1
Discover 6011111111111117 100 3DS1
JCB 3530111333300000 100 3DS1

借记卡(Debit cards)

Card scheme Number CVV 3D Secure version supported
Visa 4658584090000001 257 3DS2
Mastercard 5000186622346654 257 3DS2

商务卡(Commercial cards)

Card scheme Number CVV 3D Secure version supported
Visa 4484070000035519 257 3DS1
Mastercard 5352151570003404 100 3DS1

3DS 测试

在需要进行3DS验证时,Checkout.com会提供一个测试环境用于模拟验证过程,其中密码需要输入:Checkout1!
测试卡信息 - 图1

3DS2挑战流程(3DS2 challenge flow)

Description Card number CVV Card scheme
Authentication successful 4242424242424242 100 Visa
5385308360135181 100 Mastercard
Authentication attempted 4152868552773614 100 Visa
5518832400606463 100 Mastercard
Authentication rejected 4870527017700692 Any Visa
5484482393204262 Any Mastercard
Not authenticated 4243754271700719 Any Visa
5258901507741160 Any Mastercard
Authentication could not be performed 4447336775378848 Any Visa
5569757734785691 Any Mastercard
Error message during scheme communication 4539929207120660 Any Visa
5572408422189334 Any Mastercard

3DS2无痕模式(3DS2 frictionless flow)

Description Card number CVV Card scheme
Authentication successful 4485040371536584 100 Visa
5588686116426417 100 Mastercard
345678901234564 1051 Amex
Not authenticated 4539628347117863 Any Visa
5309961755464047 Any Mastercard
Authentication could not be performed 4024007186645015 Any Visa
5234106378657904 Any Mastercard
Attempted authentication 4556574722325580 100 Visa
5558468902774508 Any Mastercard
Authentication rejected 4275765574319271 Any Visa
5596061690670931 Any Mastercard
Card not enrolled 4484070000035519 257 Visa
5352151570003404 100 Mastercard
Error message during scheme communication 4452927588210665 Any Visa
5291144083573579 Any Mastercard

不支持3DS的卡(Non-3D Secure enabled cards)

Card scheme Number CVV
Visa 4539360659413827 100
Mastercard 5424583292508738 100

3DS2降级为3DS1流程(3DS2 fallback to 3DS1 flow)

Description Card number CVV Card scheme
Card not enrolled 4484070000035519 257 Visa
5352151570003404 100 Mastercard