google-pay / google-pay-button

Google Pay button - React, Angular, and custom element
Apache License 2.0
247 stars 60 forks source link

allowedCardNetworks doesn't work #274

Closed leo-bitscube closed 4 months ago

leo-bitscube commented 4 months ago

When using version of 3.0.10, I'm trying to set allowedCardNetworks as ['VISA', 'MASTERCARD', 'AMEX'], other types of bank card are display also. I tried to copy examples and doesn't work either. I'm in TEST env though.

dmengelt commented 4 months ago

@Leobitscube please provide a full example and also a screenshot on what the Google Pay sheet looks like.

leo-bitscube commented 4 months ago

@Leobitscube please provide a full example and also a screenshot on what the Google Pay sheet looks like.

The examples that you provided doesn't work either

dmengelt commented 4 months ago

Alright. Thanks. I will look into it.

dmengelt commented 4 months ago

@Leobitscube are you currently part of the following group? https://groups.google.com/g/googlepay-test-mode-stub-data

If yes, if you leave the group and try again. Does allowedCardNetworks work again?

dmengelt commented 4 months ago

@Leobitscube it is a bug on our side if the user is part of the "test card suite" group. We have a fix ready and we should be able to deploy soon. I will keep you posted. Sorry for the circumstances.

dmengelt commented 4 months ago

@Leobitscube this issue is now fixed