#oleg.moseiko
1 messages · Page 1 of 1 (latest)
Hello, is there a doc of ours that you got that from?
As far as I know Checkout Sessions should be created on the server and our client side libraries do not support creating them
which server do youmean?
your own backend server that your app would communicate with; a Stripe integration is full-stack and you need a server that uses your secret key and creates objects like CheckoutSessions or PaymentIntents.
ok
my idea is to open customer portal on react-native app
i will use WebView
the first step is to get session id from my backend serve
correct?
that would be an option yep; you don't really need our SDK for just that
you can have the server return a URL and open that in the browser, for Checkout/CustomerPortal. The SDK is more for embedding a payment experience in your own app
ok
did not user WebView before
so can you describe me step by step
- get url from backend server
2?
I would start by following the guide at https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout to set up the backend.
how to config WebView to open portal?
I'd start with the docs at https://reactnative.dev/docs/0.61/webview
It will fall into place when you have more parts of this built like at least creating the CheckoutSession URL so you can play around with it