Directly invokes Primer’s Universal Checkout UI using an existing client token
Directly invokes Primer’s Universal Checkout UI using an existing client token. This is an advanced method to manually control when and how the checkout appears (for example, if you created a client token via createClientSession or received one from your backend).
Callback invoked when payment tokenization is successful. Receives data and handler parameters.The handler object provides methods to control the checkout flow:
handler.handleSuccess() - Call to complete the flow successfully
handler.handleFailure() - Call on errors to handle failures