#TheBro
1 messages ยท Page 1 of 1 (latest)
Hey there
hey
Are you working with Payment Element?
Gotcha what are you doing in your submit handler?
Do you call confirmPayment immediately?
Or do you do some other stuff like call your backend?
the call gets invoked on button press with the following payload
{
elements,
confirmParams: {
return_url: `${HOST}/order/${orderId}`,
},
redirect: 'if_required',
}
no other backend calls are made
can i DM you a testing env is that ok?
Yep that works
It looks like you have DMs blocked by non-friends
let me also add it sometimes works as well
Hmm yeah just worked fine for me.
pi_3N3jJBFdV4bT3T5F0nJKRuF1 looks like it did
happened on both
Gotcha
just seemed to always happened on mobile web
and sometimes on desktop web
like mobile browser
I need to step away but my colleague is going to jump in to help investigate further. Okay for me to share your test site / credentials with them?
yes
๐
Hi there ๐ taking over.
Give me a few minutes to get caught up.
ok
After a little more debugging on my part. The error
{
message: "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."
type: "invalid_request_error"
}
shows when the user has not cards saved to their apple wallet
at least on web
That seems entirely expected. Is this the edge-case you're talking about? Also, we haven't been able to reproduce on our end. Is there a specific workflow or configuration that you can dependably get the behavior to happen with?
It seems to just "happen" , were you able to purchase via apple pay?
Bismarck was able to get through the purchase flow, but obviously you can only have Apple Pay setup with a live card, so I'm not sure if they created a payment or not.
At this point I would recommend writing into support so we can have an email thread and papertrail of what has been tried. Picking up and leaving off in all these chat-threads makes debugging really difficult and this is going to take more time than we can give in realtime: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Once you write into support, DM me your email and I'll make sure my team picks up the thread and works on it with you over email.
their's worked
pi_3N3jJBFdV4bT3T5F0nJKRuF1
that current build on that env is no longer valid with the changes regarding apple either
I don't know what that means. What "changes regarding apple" are you talking about? What env is no longer valid?
What does valid mean?
this pi_3N3jJBFdV4bT3T5F0nJKRuF1 was created by @cyan anvil working with apple pay.
The environment that I asked them to test against is no longer active.
I can submit a support ticket if that is your recommended next action
yeah, a support thread would be the next best move. You will need to have 2 things ready to go though:
(1) A detailed step-by-step explanation of how to get the Apple Pay behavior 100% of the time
(2) A test environment (like the one you gave Bismarck) that we can use to follow your step-by-step explanation and see the behavior ourselves