Это не вау-информация, конечно. Но может пригодится.
Update: малого того, что это не вау-информация, она еще и достаточно узко специализирована.
О стандартных картах 4111-1111-1111-1111 и 4000-0000-0000-0002 я был в курсе, а про множество других - всегда забываю.
Взято по ссылке : https://docs.recurly.com/payment-gateways/test
Update: малого того, что это не вау-информация, она еще и достаточно узко специализирована.
О стандартных картах 4111-1111-1111-1111 и 4000-0000-0000-0002 я был в курсе, а про множество других - всегда забываю.
Взято по ссылке : https://docs.recurly.com/payment-gateways/test
Test Credit Card Numbers
When you’re using the Test Gateway, you may test the service with the following credit card numbers below. A 4 digit CVV must be used for American Express card numbers, all other card numbers may use a 3 digit CVV.SUCCESS
- 4111-1111-1111-1111
- Success.
- 4222-2222-2222-2220
- Success, but flagged for Fraud Review by the gateway. Note: the fraud review is only relevant to PayPal gateways when in production mode. This does not impact test transactions.
DECLINED
- 4000-0000-0000-0002
- Declined by the gateway.
- 4000-0000-0000-0010
- AVS failed on street address and postal code.
- 4000-0000-0000-0028
- AVS failed on street address.
- 4000-0000-0000-0036
- AVS failed on postal code.
- 4000-0000-0000-0044
- Advanced Verification failed (Secure 3D, etc).
- 4000-0000-0000-0051
- Card number declined.
- 4000-0000-0000-0069
- Expired card or expiration date does not match.
- 4000-0000-0000-0077
- Insufficient funds.
- 4000-0000-0000-0085
- Did not pass your fraud filters.
- 4000-0000-0000-0093
- Originating from fraudulent IP address.
- 4000-0000-0000-0101
- CVV / Security code did not match.
- 4000-0000-0000-0119
- Declined by issuing bank, customer needs to contact their bank.
- 4000-0000-0000-0200
- Invalid data or parameter.
- 4222-2222-2222-2222
- Invalid card number (Fails the Luhn algorithm check).
- 4000-0000-0000-0226
- Invalid expiration date.
- 4000-0000-0000-0309
- Gateway Timeout.
- 4000-0000-0000-0317
- Duplicate transaction.
- 4000-0000-0000-0325
- Card type not accepted.
- 4000-0000-0000-0341
- Declined by the gateway, but Recurly will allow you to save regardless.
Please note: With a real gateway, it is difficult to trigger the Expiration date does not match error. Most issuing banks do not validate the expiration date when processing a transaction. Instead, they use CVV and address information for more reliable fraud protection.OTHER SUCCESSFUL NUMBERS
- 1
- Short test card number.
- 378282246310005
- American Express.
- 371449635398431
- American Express.
- 378734493671000
- American Express Corporate.
- 5610591081018250
- Australian BankCard.
- 30569309025904
- Diners Club.
- 38520000023237
- Diners Club.
- 6011111111111117
- Discover.
- 6011000990139424
- Discover.
- 3530111333300000
- JCB.
- 3566002020360505
- JCB.
- 5555555555554444
- MasterCard.
- 5105105105105100
- MasterCard.
- 4012888888881881
- Visa.
- 4222222222222
- Visa.
- 76009244561
- Dankort (PBS).
- 5019717010103742
- Dankort (PBS).
- 6331101999990016
- Switch/Solo (Paymentech).
All our test credit card numbers pass the Luhn validation algorithm, except the Invalid credit card number.
Стоит в начале статьи отметить, что эти номера кредитных карт касаются платежного шлюза Recurly и частично пересекаются с тестовыми номерами для Paypal. А так - тестовые карточки нужно искать в документации для разработчиков каждой конкретной платежной системы. Бывает такое, что для проведения тестирования работы платежной системы требуется дополнительно настраивать тестовый аккаунт на ней.
ОтветитьУдалить