#dev-acharya-apple-pay
1 messages · Page 1 of 1 (latest)
@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?
Can you share a URL where I can repro easily and your exact code?
https://ordernewark.com/menu?restId=60c2ae4589cc6755b781b489
This is a live restaurant so if you are unsure what will trigger a payment, just share screenshot and I will be able to tell you
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?
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
There has to be a way for you to reproduce this in Test mode without all those steps
that your whatever profile that would be made has been wiped from our systems
at the end of the day Apple Pay is just PaymentRequest and doesn't need "sign in with xxx" and such
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
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
ok let me see what I can do from my end
In parallel does: https://stripe.com/docs/stripe-js/elements/payment-request-button work for you?
there's a button there and it's Apple Pay
just to make sure it's not an issue on your device
yes the apple pay button was working for some time, the issue just started happening approximately a month back
sure but does the button work on that docs page I shared for you
I mean the button displays
but i cannot interact with it since im on a windows machine
ah so you cna't reproduce this yourself at all as a dev?
where does the video you shared come from?
from one of our other devs, they work on the frontend of the application and have all iOS products
Can they confirm what happens for them on that docs page I shared?
let me get their confirmation for u
Yes, they are able to see the buttons when it load page on their mac and iphones
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?
Thank you
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.
We see nothing in the network tab and console. The sheet simply closes
are you using private browsing mode?
No
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?
acct_1Ffx1iJVlOOjAo0S
thank you
one colleague looked at your page and it works fine for them at least so it's not completely broken
They were able to see the sheet stay up?
yes
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
That would be right...apologizes, I didn't catch that one sooner
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)
so your integration is good on ordernewark.com
we were having issues for almost all the products hence why I had sent over the link I did
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?
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
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