Global-e Checkout in Web-View
Global‑e SDK provides an openCheckoutWebView method that Merchants can use to open Global‑e checkout in the web-view.
This method uses the following mandatory parameters:
- merchantCartToken: basket/cart identifier in the Merchant’s system.
- countryCode: code of the shipping country selected by the user in the switcher.
- currencyCode: code of the currency selected by the customer in the switcher and some optional.
- clientIP: IP Address of the client.
- webStoreCode: value to identify the web store of the mobile app, part of the configuration.
- webStoreInstanceCode: value to identify the web store instance of the mobile app, part of the configuration.
- preferedCultureCode: culture code to specify Global-e checkout language.
- getCheckoutUrl: can be used to get URLs. The URL of the page is part of the configuration of Global-e checkout in the web-view.
- getCartToken: used to get a token value that must be a part of the web view checkout URL.