testing - 如何测试信用卡交互?

标签 testing credit-card

看完this answer ,我想知道是否有办法获得“测试”信用卡号。您可以试用但实际上不收取任何费用的一种。

最佳答案

MasterCard: 5431111111111111
Amex: 341111111111111
Discover: 6011601160116611
American Express (15 digits)  378282246310005
American Express (15 digits)  371449635398431
American Express Corporate (15 digits)  378734493671000
Diners Club (14 digits)  30569309025904
Diners Club (14 digits) 38520000023237
Discover (16 digits)  6011111111111117
Discover (16 digits)  6011000990139424
JCB (16 digits) 3530111333300000
JCB (16 digits)  3566002020360505
MasterCard (16 digits)  5555555555554444
MasterCard (16 digits)  5105105105105100
Visa (16 digits)  4111111111111111
Visa (16 digits)  4012888888881881
Visa (13 digits)  4222222222222

信用卡前缀号码:

Visa: 13 or 16 numbers starting with 4
MasterCard: 16 numbers starting with 5
Discover: 16 numbers starting with 6011
AMEX: 15 numbers starting with 34 or 37

关于testing - 如何测试信用卡交互?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66880/

相关文章:

android - Android应用程序中的信用卡支付实现

testing - 完整性测试用例编写

ruby-on-rails - rails 4 : Syntax for testing partials

android - 在 Android 中测试 GPS

c# - 如何通过卡处理付款?

security - 我应该在电子商店中存储信用卡信息吗?

cordova - 在iOS和Android上通过PhoneGap SSL卡支付实现卡支付

c# - 更新了信用卡类型的 BIN/IIN 范围

android - 编辑在 robotium 中找不到的文本

azure - 将在 Azure Web 作业中执行的 C# Selenium 自动化应用程序