【问题标题】:PayPal Pro (Direct) Credit Cart expiration date verification in MagentoMagento 中的 PayPal Pro(直接)信用卡到期日期验证
【发布时间】:2010-12-24 02:50:57
【问题描述】:
我在我的开发服务器上安装了 Magento 商店,作为支付网关,我们使用能够接受用户信用卡的 PayPal Pro (PayPal Direct)。
在沙盒模式下没问题,但在切换到“实时”模式并使用 0.01 美元的交易进行测试后,发现 PayPal 似乎接受 CC 而不检查到期日期,但检查了 CC 编号和 CVV。
以下是问题:
- 让 CC 处理在没有过期日期检查的情况下继续工作有多不安全?
- 如何解决这个问题?
【问题讨论】:
标签:
magento
paypal
credit-card
【解决方案1】:
您可以使用这些信用卡号中的任何一个通过 PayPal 进行测试,如给定的here on the PayPal site:
在测试时,请仅使用此处列出的信用卡号。其他数字会产生错误。
到期日期必须是未来的有效日期(使用 mmyy 格式)。
测试信用卡帐号
+----------------------------+------------------------------------------+
| Credit Card Type | Credit Card Number |
+----------------------------+------------------------------------------+
| American Express | 378282246310005 |
| American Express | 371449635398431 |
| American Express Corporate | 378734493671000 |
| Australian BankCard | 5610591081018250 |
| Diners Club | 30569309025904 |
| Diners Club | 38520000023237 |
| Discover | 6011111111111117 |
| Discover | 6011000990139424 |
| JCB | 3530111333300000 |
| JCB | 3566002020360505 |
| MasterCard | 5555555555554444 |
| MasterCard | 5105105105105100 |
| Visa | 4111111111111111 |
| Visa | 4012888888881881 |
| Visa | 4222222222222 |
| | Note : Even though this number has a |
| | different character count than the other |
| | test numbers, it is the correct and |
| | functional number. |
+----------------------------+------------------------------------------+
| Processor-specific Cards | |
+----------------------------+------------------------------------------+
| Dankort (PBS) | 76009244561 |
| Dankort (PBS) | 5019717010103742 |
| Switch/Solo (Paymentech) | 6331101999990016 |
+----------------------------+------------------------------------------+