Developer Center

Card No Verification (BIN Check)

In "Merchant" and "Tokenized" payment types, when the first 4 digits and 16 digits of the credit card number are entered, it is called if your module class has a "bin_check" function.

If the "bin_check" function is not defined, the predefined "bin_check_international" function is called.

The first parameter passed to the "bin_check" function has the first 4 or 16 digits of the card number.

The return value of the function must be an array. Here are the indices you need to define in the array:

Name Sample Explanation
country US,DE,FR,TR,BR etc… ISO 3166-1 alpha-2 country code
card_type debit or credit Information on whether the card is a debit or credit card
schema VISA,MASTERCARD, etc… Cart type
bank_name Sample Bank Name of the bank
brand American Express etc… Brand of card, if any
Subscription Method Installment Options

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024