5 posts / 0 new
Last post
cobyzeng7822
Mismatched card type with card number in the transaction but it was still successful

Hi Payeezy Team

I have used the mismatched card type and card number (E.g. having type as visa but using a American Express card no) to "Tokenize Credit Cards", it returned a successful response with a token and then I used the returned token in a subsequent "Token Based Payment", it also worked successfully. Does the API check the credit card type at all? Is this normal?

Regards,
Coby


rohitrajagopal3538
Re: Mismatched card type with card number in the transaction...

The Payeezy system overrides the Card Type field when a Primary Account Number is passed. Basically, if the Card Number passed matches any known BIN range, the system will ignore the Card Type field. However, when the Card Number passed does not match a known BIN Range, such as a Token number, the system then uses the Card Type. If you pass a Token with the incorrect Card Type, the system will throw an error for Invalid Card Number.

Regards,

Payeezy team


cobyzeng7822
Re: Mismatched card type with card number in the transaction...

Thanks for your reply


cobyzeng7822
Re: Mismatched card type with card number in the transaction...

Thanks for your reply.

"If you pass a Token with the incorrect Card Type, the system will throw an error for Invalid Card Number."
From what i can see during our testing in SandBox, the system didn't throw an error.
Step 1: I generated a token by using "card type: visa" and "card no: American Express" via "Tokenize Credit Cards" API.
Step 2: Submitted the token generated in Step 1 with "type: visa", where the type is incorrect. The transaction went through successfully.

Does it mean that in a "Token based payment" as long as the Card Type is one of those supported types, it doesn't really matter if it matches the type of the card that was used to generate the token?


rohitrajagopal3538
Re: Mismatched card type with card number in the transaction...

Coby - Our sandbox is a simulated environment. So when a token is passed with a card type, it is assumed that it is correct. It would throw an error in production.

Regards,

Payeezy team