#Reygo-applepay

1 messages · Page 1 of 1 (latest)

runic vale
vale rapids
#

No, what I'm saying is that I want the paymentMethod.id in my site's user settings. Which is obviously not during the checkout flow. Basically have them "pre confirm" the use of Apple Pay during checkout later. We can do that in React Native.

runic vale
#

oh so you just want to do a payment on the web with saved card you already have?

vale rapids
#

Well, that saved card would be Apple Pay

runic vale
#

the fact the payment method came from Apple Pay when it was first saved I don't think is relevant here(though I'm not 100% sure I follow you so maybe I miss something)

vale rapids
#
  • We have an account page where users can edit their payment info
  • There we give them the ability right now, through Stripe, to add a credit card
  • We want to give them the ability to add Apple Pay as well
#

And we're not charging them at this step

#

Then we store the payment method id and we use during checkout

#

I'm thinking of maybe "charging them" $0

#

And that should produce a payment method id

runic vale
#

yep that's the only way really

#

you can't get the Apple pay details in any way except the payment sheet

vale rapids
#

Yeah, it looks like that's how we do it for native as well

runic vale
#

it does look like/is optimisef for checkout flows but that's how these digital wallets are built unfortunately , the "save without charging" use case is a bit of a kludge

#

the PaymentRequest doesn't actually charge the card or anything, it just gives you the PaymentMethod ID

#

in that example we use the PaymentMethod ID to immediately charge it, but you don't have to do that

vale rapids
#

Yeah. It's just that there's no amount at that point

#

So I'll probably go that route and see how it goes

runic vale
vale rapids
#

Thanks!

#

Yeah, that's done on our backend, I believe