#clueless-applepay-setupintent

1 messages ยท Page 1 of 1 (latest)

plush pebble
#

You can use SetupIntent for this

#

That allows you to collect card details in advance and that works for Apple Pay

uncut cradle
#

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?

plush pebble
uncut cradle
#

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?

plush pebble
#

it does. And you change that code to also use the PaymentRequest button to get a PaymentMethod

uncut cradle
#

Sorry, what do you mean?

plush pebble
#

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

uncut cradle
#

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

/>

plush pebble
#

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

uncut cradle
#

one sec

#

mine closely resembles here

#

I'm using '@stripe/stripe-react-native'

plush pebble
#

did you look at this already?

#

sorry I know next to nothing about React Native and all of my team is already out

uncut cradle
#

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?

plush pebble
#

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 ๐Ÿ˜ฆ

uncut cradle
#

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?

plush pebble
#

out until Monday

uncut cradle
#

no worries. Are you guys on GMT +0 or EST?

plush pebble
#

we're around the world so you'll have people on GMT and EST too

uncut cradle
#

Sounds good. Thank you for your support

plush pebble
#

Sorry I couldn't help more, furiously googled too but can't seem to find an obvious doc for this setup right now ๐Ÿ˜ฆ

uncut cradle
#

haha story of my life

#

no worries dude

#

I appreciate your time