Closed EvgeniyDubovoy closed 7 years ago
What CVV are you using? i just registered 3569990000000132 / 1017 / 123 in sandbox with no problem :-/
It seems that we don't correctly determine the card type. Tell me please, how I can determine the card type by card number?
Ah, so you're automatically detecting the CardType
from the first 6 numbers of the card? Unfortunatley the BIN info for the cards in sandbox do not match the real CardType
that they carry.
Ok, thanks. Tell me please, what constans we need to use for card types. As far as I understand, constant CB_VISA_MASTERCARD is used for Visa and Mastercard. Am I right? What constants for other card types?
If you hover over "CardType" in the docs, you'll see the diferent possible options.
Thank you for help.
I get 105204(CVV_FORMAT_ERROR) error, when I try to add one of 3ds testing cards (3569990000000132, 3569990000000157, 3012340000000000, 3012349999999999)
The error occures in this function:
_validate: function(cvv, cardType) {