Click to Pay
initiatePayerInteraction()
initiatePayerInteraction()
Use this function to trigger the Click to Pay interaction with the payer.
The configure() method will by default (or if interaction.suppressPayerInteraction=false) immediately trigger the Click to Pay interaction with the payer.
However, if you call configure() with interaction.suppressPayerInteraction = true then the configure() function will only set up the Click to Pay interaction and check if the payer is recognized. This allows you to display any additional screens to the payer before allowing them to proceed to the Click to Pay interaction.
Usage Copied to clipboard
ClickToPay.initiatePayerInteraction();
Example Copied to clipboard
ClickToPay.initiatePayerInteraction();
Arguments Copied to clipboard
None
Return Value Copied to clipboard
None