#oleg.moseiko

1 messages · Page 1 of 1 (latest)

forest pineBOT
noble summit
#

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

quartz nexus
#

which server do youmean?

amber talon
#

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.

quartz nexus
#

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?

amber talon
#

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

quartz nexus
#

ok

#

did not user WebView before

#

so can you describe me step by step

#
  1. get url from backend server
#

2?

amber talon
quartz nexus
#

how to config WebView to open portal?

amber talon
#

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