#ammu_ramasubramanian.
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ammu-connect-reactnative, 23 hours ago, 16 messages
HI ๐
- Only if you want to read the cards yourself. Otherwise you could use a web interface like we document here: https://stripe.com/docs/payments/save-and-reuse
- I don't know that code and it doesn't make sense to me. What are you trying to do?
We are trying to save the card details for future use. So we followed the procedure mentioned in document
https://stripe.com/docs/terminal/features/saving-cards/save-cards-directly?terminal-sdk-platform=react-native
Here trying to use a method which needs to be imported from stripe terminal
But when installed stripe terminal package into my react native project , my build is failing and I cant use react native stripe terminal.
What is the library I need to use or is there any configuration that I need to do
How is it failing? Is there a reason you want to use Stripe Terminal? Are you using card readers?
Will get back in 10 mins after reading the document that you send once..
@thorn solar we are not using initPaymentSheet ,.
we are using cardfield and accepting card details and we want to add save card for future use checkbox
that the reason we are goint for stripe terminal as thats the only method available if i'm not wrong?
Hi there ๐ taking over, as my colleague needs to step away
There are a lot of ways to save cards for future payments. Terminal is a physical device Stripe ships so you can take in-person payments. If you want to save cards for future usage, there are a few other options that don't require a physical reader. Are you using Stripe Terminal?
no we do not use stripe terminal
we are using cardfield to accept card details in reactnative
while we accepct payment we want to add checkbox
so in server i created customer and setupintent with customer id
after then i send that setupintent to frontend reactnative
how to proceed with saving card afterward?
Have you already followed this tutorial?
https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet
this example uses payment sheet to collect payments but we are not using the initPaymentSheet
I'm confused. Why would you follow those docs if you intend to save cards for future payments?
because we wanna save cards for future payments but we don't wanna use initPaymentSheet
we wanna custom design the field input in next page in our app thats why,..
am i making sense?
You want an entirely custom payment form?
Gotcha. We can't really help all that much if you're doing this as a custom form. To save a card, you would need to use a Setup Intent and build out a bunch of custom functionality to perform 3DS redirects when/if customers need to perform authentication. How are you handling that currently?
so its easy to handle with initsheet
Easier, yes
will try that and get back to you,.. thanks for guidance