#tarantino-47_docs
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/1299368418281132133
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Sorry what do you mean by platform pay button? Can you link the doc?
sure
https://docs.stripe.com/apple-pay?platform=react-native
https://docs.stripe.com/apple-pay?platform=react-native#check-if-apple-pay-supported
I'll make sure to keep it open until I get an answer
Ok they said you can pass a callback to initPaymentSheet and after the sheet is presented we will call that callback while providing PaymentMethod.Result which they can use to look at PM details
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=react-native&type=payment#confirm-the-payment
ok, so I need to use different components then. which will be PaymentSheet
you saying it's not possible to achieve using platform pay button?
Let me check
Hi there ๐ jumping in as my teammate needs to step away soon, I'm also aliging with my teammate who was looking into this on our side. We think the best approach for this is to create a Payment Method from the Platform Pay Button using these flows:
https://docs.stripe.com/apple-pay?platform=react-native#create-payment-method
https://docs.stripe.com/google-pay?platform=react-native#react-native-create-payment-method
I believe that'll give you the billing address by putting it on the created Payment Method that you can reference, but let me know if that's not what you see in testing and we'll happily take another look.
let me see
quick question, does it mean that I'll have to show apple pay modal twice?
Not that I'm aware of
like first time - to create a payment method, and the second time in order to confirm the payment
ok, I'll check by myself, thank you
Nope, you can use the created Payment Method to confirm the intent server-side.