#clueless-applepay-setupintent
1 messages ยท Page 1 of 1 (latest)
You can use SetupIntent for this
That allows you to collect card details in advance and that works for Apple Pay
Are there any docs that outline this?
Actually, in addition, are there any docs that show how I can support my users for Apple Pay, Google Pay, or Card?
I'm not sure what docs you are looking for unfortunately. Like what's blocking you exactly? I'd recommend reading https://stripe.com/docs/stripe-js/elements/payment-request-button to start maybe?
and https://stripe.com/docs/payments/accept-a-payment for basic card payments
So, we're currently accepting basic card payments, but we store them
We need to also give users the option to store their Apple Pay/Google Pay with us
so when they go sign up for our app, they would be able to pick what payment method they want to sign up with, and we'd be able to "store" that for later, so when they go to check out, they won't have to add a payment method
The way our CC page is currently set up, it only gives the users an option to enter a CC#. How could we also make it so in the sign up screen, they'd have the option to give Apple Pay or Google Pay as well?
I apologize if I'm not explaining this well; does that make sense?
it does. And you change that code to also use the PaymentRequest button to get a PaymentMethod
Sorry, what do you mean?
I'm sorry, we don't seem to understand each other. You seem lost but I'm not sure what's confusing you and how familiar you are for your existing integration collecting card details in the first place
lol I might just be tired, it's late here ๐
I'm a front end developer
On my side of things, I have everything set in
<Cardfield
/>
so what is <Cardfield? What library do you use, which doc or tutorial did you follow
there are dozens of ways to integrate Stripe really
Okay so the main doc will be https://stripe.com/docs/apple-pay?platform=react-native
did you look at this already?
sorry I know next to nothing about React Native and all of my team is already out
no worries
I did look at this, which is what brought me here
Step 5, where it says to "check if Apple Pay is supported"
The method it's written seems to indicate that the user would be paying at checkout, and not storing their Apple Pay ID for later use
Does this appear to be the case?
Yeah sorry this is a bit complex as I'm not sure how much/little you know about Stripe and I know next to nothing about our React Native library.
In our API we have a PaymentIntent to accept a payment, and SetupIntent to collect card details for future payments
you want to use the latter but I don't know how that works in React Native today
and we don't seem to have any docs I can find about this ๐ฆ
No worries, the fact that I am able to do it should be a good enough place for me to start lol
I'll take a look at this again in the morning
Will your team be in tomorrow or are they out till Monday?
out until Monday
no worries. Are you guys on GMT +0 or EST?
we're around the world so you'll have people on GMT and EST too
Sounds good. Thank you for your support
Sorry I couldn't help more, furiously googled too but can't seem to find an obvious doc for this setup right now ๐ฆ