TS
setTokenizationEnabled
Enable or disable tokenization and payment creation.
Use this if you would like to prevent users from paying because your side of the checkout is not valid.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const universalCheckout = await Primer.showUniversalCheckout(
clientToken,
options
);
// Disable payment creation
universalCheckout.setTokenizationEnabled(false);
// Enable payment creation
universalCheckout.setTokenizationEnabled(true);
Hide Parameters