#.lucascamargo
1 messages · Page 1 of 1 (latest)
You kinda need to combine 2 guides. The accept a payment guide for React Native: https://stripe.com/docs/payments/accept-a-payment?platform=react-native and the subscriptions guide: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-subscription
Basically replace the payment intent creation from the accept a payment guide with the subscription creation step i linked above and use the subscription's client secret
OK. I will try this approach
OK. It worked out. However, it only worked with a registered card. If the customer doesn't have one, it gives an error and doesn't show the option to register a card within my app
Hello! I'm taking over and catching up...
If you want to do that you need to catch the error and ask for payment info in your app.
manually or can I do this with the stripe elements?