#a_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1288580235217866834
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi guys, we're struggling with saving an apple pay as an payment method. the payment method is being saved correctly every time we're just unable to charge it because stripe returns this error^
the expiration date is incorrect as well even though stripe has returned the payment method object
๐ Hi there. We don't know much about declines, but do you have the id of the PaymentIntent that you're looking at? This will look like pi_123abc
hello! yes, it's pi_3Q30ejCyOmoY8JGE1e0jULEE
when we try to use the very same card without apple pay (using stripe card element input) it works perfectly fine
So the main thing that I notice is that on the call to create the off-session charge, you're passing setup_future_usage: "off_session" , which would generally be done when you're collecting the card and the customer is present in the flow.
Instead you should pass off_session: "true" to flag the payment as being off-session with no customer in the flow. Its a payment method that has already been collected/set up
just tried and unfortunately did not help, we've changed the off_session in payment intent but it seems like the issue is in Stripe collecting the Apple Pay payment method. the payment intent goes through every time with a regular card using the same flow we get from PaymentSheet in Stripe SwiftUI sdk but it seems like Apple Pay returns incorrect cvc and expiration date.
the payment method here (apple pay) should actually have an expiration date of 06/28
oh well we just tried another card and it seem to work perfectly fine with other debit and credit cards but fails with Chase Sapphire Reserve.
we tried 2 different CSR cards, it seems like a Chase issue at this point.
sorry for the mess, appreciate your help guys!
No worries! Happy to help