Embedded Checkout
React Native
Public interface
Import @vestonix/react-native. Load the returned hostedCheckoutUrl in a WebView. Card data stays on the Vestonix checkout page.
App
import { init, presentCheckout } from "@vestonix/react-native";
init({ apiBaseUrl: "https://sandbox-api.vestonix.io", clientSecret });
const handle = await presentCheckout();
// WebView source={{ uri: handle.hostedCheckoutUrl }}
Deep-link return is UI only. Retrieve
vpay_ on your server.