#Diac
1 messages · Page 1 of 1 (latest)
How are you accepting apple pay? Payment Request button, Payment Element, Checkout, etc?
Payment Element
Where do you see the "Payment Not Completed" error?
Interesting. Ok so it's in the actual apple pay modal
Can you share a payment intent ID where this is happening?
Sure but you will not see any log but the payment_intent.created event, one moment
"id": "pi_3N9TROA6OnM64hZc1HmlUBRY"
Are you using a VPN?
no
I tried with many cards
and different apple device with different account and wallet
All on the same network though?
yes
It was loading a long time. Is your network connectivity slow?
Yeah when googling this error it appears to be an apple pay specific issue
Seems a fair amount of people are having this issue with their wallet
Have you paid with your apple pay wallet recently successfully?
I'm sorry but i contacted apple already
we checked and it is all fine
yes i use it often
I can give you a screenshot of a network activity i log during the process
I hope it doesnt hide sensible information
Are you on the latest version of ios
Ok let me try to see if a colleague know what's happening here
ok thx
@smoky mauve your code seems a bit confusing, you are using both a PaymentRequestButton and the PaymentElement. Is it the PaymentRequestButton giving you the error?
your code for the PaymentRequestButton is incomplete, you have not implemented the event listener for the "paymentmethod" event that happens when the user is finished in the popup : https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-complete-payment .
not having that code will 100% cause this error of the page spinning for 30 seconds and then giving a "not completed' error so that's what you need to add/fix.
PaymentRequestButton is not giving me errors, I added that peace of code because without it the Appla Pay button doesnt appear
is it correct if I still use it completing the code has you suggested?
in the video though you are clicking the PaymentRequestButton
so I think you're mistaken and that is where you get the error.
yes I want it
not sure what you mean, but your code is not complete and if you want to use the PaymentRequestButton you need to implement that step from the docs and finish the code
ok I try now to complete the code