#tarantino-47_unexpected
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248187534240907345
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
so Apple Pay option shows up differently on my local. I the docs all payment methods are on within one modal
heres another screenshot on my local
Ah I see. Yes Apple Pay is displayed within the list of saved payment method of the customer in your case
You are passing a customer and ephemerial key when opening the PaymentSheet I assume
That's ok, you are not facing a particular issue otherwise ?
hm, just a minute
by the way, why do I need ephemerial key?
also I'm only passing paymentIntentClientSecret when opening the PaymentSheet
If you want to save the PaymentMethod to the customer
Yes that's ok too.
According to this, it seems you are not passing an ephemeral key (there is no checkbox for saving the payment method)
But again the docs is just a static preview, what you are getting as UI is exepcted
If you run Stripe official Ios example, you'll get the same result as you are getting now, so that's expected:
https://github.com/stripe/stripe-ios/tree/master/Example/PaymentSheet Example
unless you are not able to complete a payment.
let me think
so there no way to display the PaymentSheet as in the docs preview?
AFAIK, there is no direct option to choose that display when configuring the PaymentSheet
I'm asking as I need to explain to my project manager why I can't have the same PaymentSheet in my app as in the docs
it means the preview in the docs is not correct/up-to-date ?
Yes it's just a statis preview
You can always run the official Stripe Sample and check the latest displays/options:
https://github.com/stripe/stripe-ios/tree/master/Example/PaymentSheet Example
gotcha, thank you!