#viranianish-ioexception
1 messages · Page 1 of 1 (latest)
Is this something you're getting consistently every single time? This typically means there's an issue on your end with your network connection
other API endpoints seem to work properly, issue only persists with stripe from Android emulator
One quick question: if we want to save the card details of the customer (from react native) and use it later on for processing payment of the user (from backend using crons), what should we use on react native side to get the token or source of payment?
Ah, this is specifically happening in the emulator? I'd suggest taking a quick look here (https://stackoverflow.com/questions/6355498/unable-to-resolve-host-url-here-no-address-associated-with-host-name) and see if any of these help
For your other question - can you give a bit more detail? Are you just asking what client-side calls you need to make to create a Payment Method?
yes, just client side calls
Have you read our guide at https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet ? It goes through how to use SetupIntent w/ the Payment Sheet in react native to save Payment Methods that can be used in future offline payments. Alternatively, if you don't want to use Payment Sheet you can look at https://stripe.com/docs/payments/save-and-reuse-cards-only?platform=react-native for guidance on how to do this with a simpler card text field.