#develoop

1 messages · Page 1 of 1 (latest)

weak rapidsBOT
solemn dew
#

the deferred integration is quite new and we didn't release the mobile SDK functionality required for it at the same time as the web, unfortunately

#

so for now it's not possible but we will release new versions of the SDKs and update the guides at some point when it's ready(I can't give you a timeframe)

sinful ruin
#

We thought to use a component that show web page in the app and perform a redirect to stripe page like a web site; another option is to manually get payment method information, send it to the server by an api call and then use the .net client to link payment method to the cutomer. Which choice is the best?

solemn dew
sinful ruin
#

we implemented it for the payment procudere but we had to create a section of the app where the user can only manage their payment method

#

so we can't create a payment intent

solemn dew
#

well we don't really have a RN component that's just for viewing and managing existing saved payment methods. We have a few components in our native iOS/Android apps that can help but they're not exposed through the RN library as it's more focussed on the use case of payments.

So mostly you'd just build your own custom code where you list a customer's payment methods using https://stripe.com/docs/api/payment_methods/customer_list on the backend and populating a custom UI.
Or if it works for the use case you could use PaymentSheet with SetupIntents.

sinful ruin
#

ok, so to get new payment method we had to implement a custom form using the card component provided by the react native sdk and use the api call on server side to link it to the customer?

solemn dew
#

well if the goal is just to add a new card, the best option is to use the SetupIntent

#

maybe try that out and see if it works for the use case you have in mind!

sinful ruin
#

can we create a setupIntent each time the user need to manage his payment credential?

#

are u forced to create a paymentIntent immediately after closing the setupIntent procedure?

solemn dew
solemn dew
sinful ruin
#

Well, i'm going to try the setupIntent way

#

thanks a lot for the help