Alias of the setTokenizationEnabled() method.
1234567
const universalCheckout = await Primer.showUniversalCheckout(clientToken, options)
// Disable payment creationuniversalCheckout.setPaymentCreationEnabled(false)
// Enable payment creationuniversalCheckout.setPaymentCreationEnabled(true)
ts
copy

Parameters

enabled
booleanRequired
True if payment creation should be enabled, false otherwise.