- From your server, call the Create Checkout Session API to create a checkout session.
-
After receiving the API response on your server, extract the relevant values and pass them to the
OpenCheckoutfunction on the client:Parameter Description checkoutSessionTokenA unique token to identify and validate the checkout session. purchaseIdID to track the purchase. urlThe base URL of the Appcharge checkout page. You can configure how the checkout page is opened:-
External browser
Open the checkout in the device’s default browser: -
Non-external browser (default)
The SDK will search for an appropriate chromium browser and then open the checkout internally.
-
External browser
