google-pay / google-pay-button

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

allowedCardNetworks doesn't work #274

Closed leo-bitscube closed 8 months ago

leo-bitscube commented 8 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 8 months ago

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

leo-bitscube commented 8 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 8 months ago

Alright. Thanks. I will look into it.

dmengelt commented 8 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 8 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 8 months ago

@Leobitscube this issue is now fixed