#olezz

1 messages · Page 1 of 1 (latest)

plucky cypressBOT
torn shard
#

Can you share your development website, so that I can have a check?

reef jackal
#

actually my website is barred behind a government authentication system for now so it might not be possible. would it be ok for me to show u my code instead?

torn shard
#

Can you open the console to check if there is any error?

#

Since the error is at client, I'm afraid not having the development website is hard to debug

#

Sharing the code can be helpful if I can spot anything, but sometimes it can be due to other reasons

reef jackal
#

is this error message helpful? this is what is shown in the console

torn shard
#

Ah! This is very helpful

reef jackal
#

this is what the code looks like, when the user clicks the payment button, we call the backend to create and confirm the payment intent

torn shard
#

The issue is that Apple Pay requires payment to be processed immediately after customer clicks the submit button. If there is any async processing before submitting the payment, such error will be thrown

#

Let me find the relevant doc for this

reef jackal
#

Ah! I see, thank u so much 🙂 i will try it again