createIntentCallback

Parameters

callback

If specified, called when the customer confirms the payment or setup.


Parameters

callback

Called with the ConfirmationToken result when the customer confirms the payment or setup. Use this for payment confirmation workflows where the SDK generates ConfirmationTokens and then continues to confirm the intent.

Throws

if CreateIntentCallback is already set. Callbacks are mutually exclusive - only one should be configured.