#aamir-safari-applepay

1 messages ยท Page 1 of 1 (latest)

devout violetBOT
pulsar gate
#

Hello! Can you share your site where you don't see it working?

languid terrace
#

click on this link

#

just select 'Apply Pay' option and click next

#

on next page you will see 'Apple Pay' button in the bottom but it doesn't respond

pulsar gate
#

How do you have this implemented? What code is controlling that button?

languid terrace
#

we followed the documentation

#

do you see anything?

#

I can send you js file if you want to look into it

pulsar gate
#

Which documentation specifically? Can you share a link?

languid terrace
#

I don't remember, it was almost 2 years ago

#

but it was working before

#

not sure which change affected it

pulsar gate
#

So you've changed something on your end, and then the button stopped working?

languid terrace
#

and I am unable to find since many days

#

we added more things obv. in the system

#

but not directly related to apple pay

pulsar gate
#

I see - can you share your code for Apple Pay then? Specifically the parts that are related to apple pay, not your whole JS file

languid terrace
#

ok

pulsar gate
#

๐Ÿ‘ give me a few minutes to take a look

languid terrace
#

sure

languid terrace
#

FYI

#

what is this error

#

I am getting this many time in the console

#

any Luck Karbi?

pulsar gate
#

Sorry was helping a bunch of people in parallel - no luck yet, but I do have a quick question

#

Did you change anything related to iframes with your recent changes?

languid terrace
#

no we don't have iframe on this page even

#

it's only stripe which uses iframe to place buttons

pulsar gate
#

Do you know which specific part of your code reacts to the Apple Pay button being clicked?

devout violetBOT
pulsar gate
#

Also if you get a chance, it would really help if you could make a one-off testing page with just Apple Pay so we can isolate what specifically is broken

languid terrace
#

this button is of apple pay and it opens payment method popup when it is clicked

#

I think something is invoked from stripe.js

nocturne cave
#

@languid terrace Unfortunately we're going to need a lot more to help you as a lot of this is custom code right now

#

aamir-safari-applepay

#

@languid terrace someone on my team found that you set the pointer to none in your code

#

it seems to disable the button

languid terrace
#

which pointer you are talking about?

nocturne cave
#

It seems you are setting pointer-events: none; on .StripeElement in your code

#

when we switch that in the developer tools the button works

languid terrace
#

let me try one sec

#

Yes, it worked.

#

Thank you so much. You guys are awesome! ๐Ÿ‘