#dev-acharya-apple-pay

1 messages · Page 1 of 1 (latest)

vagrant plank
#

@tepid sage hello! can you provide some more details? Is this in an iOS app or on the web? If the latter is there any errors in the JS console?

tepid sage
#

it's a webapp

#

there are no JS errors in console

#

Screen recording of the issue^^

vagrant plank
#

Can you share a URL where I can repro easily and your exact code?

tepid sage
vagrant plank
#

looking

#

@tepid sage do you have another way to reproduce? Your flow requires signing up with google or apple and that would leak all my personal information so I wouldn't do this

#

Can you share your exact code too?

tepid sage
#

unfortunately there isn't any way around the signin as it's crucial to the flow of the application

#

what I can do is ensure you with screenshots

vagrant plank
#

There has to be a way for you to reproduce this in Test mode without all those steps

tepid sage
#

that your whatever profile that would be made has been wiped from our systems

vagrant plank
#

at the end of the day Apple Pay is just PaymentRequest and doesn't need "sign in with xxx" and such

tepid sage
#

that paymentRequest is attached to a paymentIntent and we need to keep track of these paymentIntent for the user themselves

#

Even in test mode we have signin setup

#

to ensure consistency of the flow

vagrant plank
#

Sure, but you should be able to strip all of this apart and only do a hardcoded PaymentIntent and initialize PaymentRequest

#

I'm sorry, I want to help, but the only way I can is for you to do some leg work first

tepid sage
#

ok let me see what I can do from my end

vagrant plank
#

there's a button there and it's Apple Pay

#

just to make sure it's not an issue on your device

tepid sage
#

yes the apple pay button was working for some time, the issue just started happening approximately a month back

vagrant plank
#

sure but does the button work on that docs page I shared for you

tepid sage
#

I mean the button displays

#

but i cannot interact with it since im on a windows machine

vagrant plank
#

ah so you cna't reproduce this yourself at all as a dev?

#

where does the video you shared come from?

tepid sage
#

from one of our other devs, they work on the frontend of the application and have all iOS products

vagrant plank
#

Can they confirm what happens for them on that docs page I shared?

tepid sage
#

let me get their confirmation for u

#

Yes, they are able to see the buttons when it load page on their mac and iphones

vagrant plank
#

okay so it has to be something about your integration in that case. Could they join this channel and help us reproduce with simpler steps than your live site?

tepid sage
#

in fact 'mayaankvad' is the person

#

the one who posted the same question as my self

vagrant plank
#

ah lol okay

#

let's all talk here to synchronize, way easier. cc @keen saddle

keen saddle
#

Thank you

vagrant plank
#

Overall, we need more details to help you since we can't reproduce on your live website without leaking personal info

#

we need details about your JS console, what you see in the Network tab on the browser in safari developer tools, etc.

keen saddle
#

We see nothing in the network tab and console. The sheet simply closes

vagrant plank
#

are you using private browsing mode?

keen saddle
#

No

vagrant plank
#

Can you share your account id or any id relevant to your integration just for us to see if we find anything in our logs?

keen saddle
#

acct_1Ffx1iJVlOOjAo0S

vagrant plank
#

thank you

#

one colleague looked at your page and it works fine for them at least so it's not completely broken

keen saddle
#

They were able to see the sheet stay up?

vagrant plank
#

yes

wary maple
#

hello, catching up here

#

@keen saddle @tepid sage correct me if I'm wrong, the video you linked above is using a different url from the one you shared, no?

i.e. the video has dinein.glyde.app right? like a testing or staging page that you're trying this on

You sent us ordernewark.com which is a different domain

tepid sage
#

That would be right...apologizes, I didn't catch that one sooner

wary maple
#

I did try on ordernewark.com and Apple Pay works as expected there, the payment sheet stays up, doesn't dismiss (albeit I didn't pay)

tepid sage
#

we were having issues for almost all the products hence why I had sent over the link I did

wary maple
#

but it won't work on dinein.glyde.app since that is not a registered domain on your Stripe account

#

does that help unblock you?

tepid sage
#

ok, yea that makes sense, let me add dinein.glyde.app to stripe as registered domain

#

and update the .well-known route as well

#

hopefully that should solve the issue on hand

wary maple
#

if you're adding it, add it using your livemode API key

#

or just add it from the Stripe Dashboard, that adds it in live mode too

#

and yeah pls test then, if it is running the same code as ordernewark.com then it should work just fine, cause that page works fine for ApplePay and PaymentRequest Button