adyen-web
adyen-web copied to clipboard
Apple Pay visible when allowedPaymentMethods is set only to "scheme"
Describe the bug When using the web drop-in component, and creating a new session where allowedPaymentMethods is set to ["scheme"] (in order to only show the card payment window), the payment component shows both Apple Pay and Card options.
To Reproduce Steps to reproduce the behavior:
- Activate Apple Pay
- Create a new session with allowedPaymentMethods = ["scheme"]
- Create a new AdyenCheckout for that session
Expected behavior Only the card payment option should be visible.
Browser and OS Safari on Mac or iOS, Apple Pay is not visible on other browsers or platforms.
Additional context Apple pay configuration is specified in the paymentMethodsConfiguration, but so is PayPal, and that doesn't show up.