Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amex number accepted when it's not allowed #1705

Closed
ronaldvanduren opened this issue Jul 15, 2024 · 2 comments
Closed

Amex number accepted when it's not allowed #1705

ronaldvanduren opened this issue Jul 15, 2024 · 2 comments
Labels
Not applicable Indicates that issue could not be handled within this repo or publicly

Comments

@ronaldvanduren
Copy link

ronaldvanduren commented Jul 15, 2024

Describe the bug
I am using the credit card component and it's configured so it only accepts Visa and Mastercard. However, I have seen some logs in our back-end that indicate some users have tried to pay with American Express: Internal Server Error: Could not find an acquirer account for the provided txvariant (amex). I can't reproduce it with the test card numbers from the Adyen Documentation, but I can reproduce it with other American Express testing card numbers. For example: 345678901234564, so it seems to happen with Amex card numbers that start with 34.

To Reproduce

  1. Enter an Amex card number like 345678901234564.

Expected behavior
I would expect that the credit card number from Amex is not accepted, like the ones in the Adyen documentation.

Version of SDK
5.6.0

@araratthehero
Copy link
Contributor

Hi @ronaldvanduren, thanks for reporting this issue.

If the SDK does not recognize the card brand, we allow users to proceed with the payment. This might happen if the card brand detection fails.
In the test environment, some test card brands are not being retrieved, which is a known issue we are addressing internally. This should not occur in the live environment.

Since this issue is not specific to the SDK, I would ask you to please contact our support team with the PSP references and the error details. They can help you further and investigate why the card brands are not being recognized.

@araratthehero araratthehero added the Question Indicates issue only requires an answer to a question label Jul 17, 2024
@ronaldvanduren
Copy link
Author

Hi @araratthehero, thanks for the elaborate answer. I will contact the support team!

@jreij jreij added Not applicable Indicates that issue could not be handled within this repo or publicly and removed Question Indicates issue only requires an answer to a question labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not applicable Indicates that issue could not be handled within this repo or publicly
Projects
None yet
Development

No branches or pull requests

3 participants