Does CyberSource Secure Acceptance Flex Token API v2 have built in validation

SOLVED
gwoolf
Regular Visitor

Does CyberSource Secure Acceptance Flex Token API v2 have built in validation

Does CyberSource Secure Acceptance Flex Token API v2 have a built in validation that detects card_type?

NOT BIN LOOKUP BUT card_type code.

Like if I type in a VISA card it will detect that the card_type is 001 and if I type in Discover it will detect that it is card_type 004?

 

Thanks!

3 REPLIES 3
DianaTran
Visa Dev Moderator

Re: Does CyberSource Secure Acceptance Flex Token API v2 have built in validation

Hey @gwoolf 

 

I'm happy to help. Please call CyberSource Support for questions about CyberSource. The phone number is below. 

 

CyberSource Support
800-709-7779

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

gwoolf
Regular Visitor

Re: Does CyberSource Secure Acceptance Flex Token API v2 have built in validation

It looks like there is some attempt to validate "card_type" as I got this answer from CyberSource Support.

 

The behavior with the Test Card Discover card BIN is a known issue for Flex Microform v4 in our Test environment for the standard Discover card BIN.

Can you confirm if the merchant is using our latest version of our SDK? Since this is in Test, Flex will think this is a Maestro card type right now. Flex Microform's detection is going off a list of BINs, and the BIN for the Test Discover card is coming back as Maestro.

The solutions are:

1) Upgrade to Flex 11.02. CyberSource SDKs in java, node, php, and dotnet can be found here: https://github.com/CyberSource
2) Use different card BINs than the default Test card list. You can technically use any card number to test as long as it passed the luhn Mod 10 check method. Please see our documentation: https://developer.cybersource.com/api/developer-guides/dita-cybs-so-test-data/testing_credit_card_se...
In Test, we don't use an actual database, but in Production there is a database and should be accurate in providing the correct card type back. If the merchant is having issues in Production of seeing this, please let us know.

 

So without saying "YES".. they circuitously revealed the answer.

ricardo_visa
Community Manager

Re: Does CyberSource Secure Acceptance Flex Token API v2 have built in validation

Thanks for sharing, @gwoolf




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.