#tarantino-47_code
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/1256260513696841839
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
I mean this By with Apple Pay button
Hi there ๐ I'm not too familiar with that example specifically, but Apple Pay does require you generate the necessary certificate and incorporate that into your projcet. We discuss that in our React Native guide here:
https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-apple-pay
Google Pay also requires some additional details be provided, and I'm not sure offhand whether the sample add includes those. They're talked about in this section:
https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-google-pay
so this is the type of the integration I'm working on. where at the top of the page user choose a payment method and in the bottom of the page we display either regular button or apple/google pay
Hm, that sounds like not a Payment Sheet integration then?
so I'm thinking, should I even use Payment Sheet or should I use completely different one
all I need to create a payment intent, and confirm it either using a credit card or google/apple pay
Sounds to me like you don't want to use our Payment Sheet/Mobile Payment Element.
Instead I think you're looking for:
hm, also on another note. If I need to add a card to a user's profile using setup intent - which component should I use? right now I made the flow to work using Payment Sheet
Payment Sheet is what I would suggest using for collecting card details outside of wallets.
ok, great
which component should I use for confirming a payment/setup intent by card in react native. so basically I have a card token and payment intent. Just need to confirm it
even no UI needed I think
maybe just use stripe hook and retrieve needed methods from there?
Huh, not sure I'm following. Is this for a scenario where you're charing an already set up payment method?
I don't know how you'd process a payment without a UI to collect payment method details otherwise.
let's say I already have a card token, and in checkout flow I only need to confirm payment intent
In that case I believe you'd be able to call confirmPayment
https://stripe.dev/stripe-react-native/api-reference/index.html#confirmPayment
Documentation for @stripe/stripe-react-native