Relative Content

Tag Archive for paypalpaypal-sandboxpaymentapplepayapplepayjs

Paypal and Apple Pay not working together

I have the following issue with Paypal and ApplePay.
I need to add possibility to pay with credit card and Paypal and Apple Pay on my website.
I’m using paypal.Buttons(buttonsConfig).render(‘myDivId’) function to show Paypal and Pay with Credit card buttons. That all works like a charm.
Issue starts when I want to add possibility to use ApplePay. I was following the docs, added &components=applepay to the paypal script src, also added a new button once I have an ApplePay Session.
And I added &components=applepay only if the target device is iOS device.
Testing on the MAC, I can use the Apple Pay button and it also works without issues.