-
Notifications
You must be signed in to change notification settings - Fork 145
Apple Pay supportedNetworks
Not Respected Due to brands
Configuration
#3196
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
Comments
supportedNetworks
Not Respected Due to brands
ConfigurationsupportedNetworks
Not Respected Due to brands
Configuration
Hi, I wanted to check if there's any update on this issue. Please let me know if any additional information is needed. Thanks! |
Hi @jureperak , The brands from
Ideally you should rely on those brands and do not have to set them explicitly on the frontend side using the The Is there any reason why can't you rely on the brands returned in the payment methods response? |
Hey @ribeiroguilherme, |
I will continue in this thread so that we have some context. |
@jureperak just to confirm, do you want to tweak the brands supported by Google Pay / Apple Pay based on the availability of the Card component?
|
@ribeiroguilherme no no, i wanted to know how can i influence brands availability inside of GooglePay/ApplePay from the server. If we on the server (e.g. session flow) set following:
it will offer me only MC brand in GooglePay. We can close this issue now, everything is resolved (through service ticket also). |
Describe the bug
When configuring Apple Pay in Adyen's Web SDK, setting the
supportedNetworks
option does not work as expected. Instead, the configuration checks thebrands
property first. However,brands
is not a valid option for Apple Pay in Adyen’s TypeScript types, making it impossible to properly restrict specific card networks.To Reproduce
Steps to reproduce the behavior:
supportedNetworks
set to specific card brands (e.g.,['masterCard']
).Expected behavior
Apple Pay should only display the card networks specified in
supportedNetworks
, ignoring any invalidbrands
checks.Screenshots

It only works if I manually set
brands: []
property, which does not exists in ApplePay configurationDesktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The issue seems to stem from Adyen's Apple Pay implementation prioritizing
brands
(which is not configurable in Apple Pay) oversupportedNetworks
. This prevents merchants from correctly limiting available card brands in Apple Pay transactions.The problem seems to be in this line:
adyen-web/packages/lib/src/components/ApplePay/ApplePay.tsx
Line 69 in 28a076f
The text was updated successfully, but these errors were encountered: