#hassan
1 messages ยท Page 1 of 1 (latest)
Hi
Can you give more details please? share screenshot, a PaymentIntent Id ?
Can you share the link of your website?
pi_3Mnh2UJW5eVJnn2s1pQIU2o5
staging.humanaid.org this is a test site. So you can use stripe test apple pay
Your website domain is correctly set up and verified for Apple Pay
Do you have a link to checkout directly ?
Vers?
To checkout, from home page, select an amount. Click donate. Then click checkout button on the drawer that pops up. Then click guest checkout.
At that point, a payment intent is created. Then when you press confirm payment, a update to the payment intent happens and it tries to take the payment
Can you check if you are seeing any particular logs in the console ?
OK il check
I got to find a way to see errors on a iphone
just googling to find out how. unless you know? im a ubuntu machine
The apple pay option does not appear on the iphone if i open the site using Google Chrome
Can you DM me your website's URL so I can try to see Apple Pay myself?
And Apple Pay is showing up for desktop but not on your phone?
Sent you a DM @fervent parrot
Thank you, checking out your site and will get back to you with what I can find
I'm actually seeing the Apple Pay sheet show up on Desktop as well as on iPhone Chrome and Safari.
Have you tested this on multiple devices? Trying to think of what might cause this behavior
Also does this page do anything between when the user clicks "confirm" and when your page calls the confirmPayment function with Stripe.js? Apple pay has the requirement that the sheet must be shown within a second of the user clicking on the button. So if your page is reaching out to something else, it is possible that the gesture to open the sheet is timing out here
Ah, yes im updating the Payment Intent in between to store the address and phone number
I have tested on other iphones, only one phone errors like this.
I think i will now integrate with SetupIntent for all payments (subscriptions or one off payments). This i feel is safer
Hello ๐
Stepping in as Pompey needs to step away
I believe since you have an async function running in between click handler and calling confirmPayment, the randomness is expected. I'd recommend changing your flow a bit so that you're not calling the API before confirmPayment can do its thing!!
OK makes sense. Il try in a sec
๐