react-native-payments icon indicating copy to clipboard operation
react-native-payments copied to clipboard

Question - How to connect a card without a transaction?

Open ShaharyarMaroof opened this issue 4 years ago • 1 comments

I don't have any transaction associated with the PaymentRequest, I just want the user to be able to link their cards to Apple Wallet/Google Pay. Is there any way to just connect the card without any transaction details?

ShaharyarMaroof avatar Mar 10 '20 06:03 ShaharyarMaroof

Hey, we're working on something that will allow you to do this in v0.9, more information here: #249

You will be able to do with with a combination of Apple Pay and Stripe SetupIntent. Just a heads up, you need a back-end that can do a back and forth dance with the app to generate a session and verify the token that Apple Pay gives you.

The library will be ready in a few days, just follow that other issue.

nabilfreeman avatar Nov 13 '20 09:11 nabilfreeman