Click to Pay checkoutWithNewCard()

checkoutWithNewCard()

Once you have updated the session with the card details that the payer has entered in the Hosted Session fields (using the updateSessionFromForm function) and any optional billing address details you have collected from the payer (using UPDATE_SESSION under the billing object) use this function to trigger the Click to Pay checkout.

The payer will be presented with a Click to Pay checkout flow that allows them to register and remember the card for subsequent payments.


Usage Copied to clipboard

ClickToPay.checkoutWithNewCard();


Example Copied to clipboard

ClickToPay.checkoutWithNewCard();
  

Arguments Copied to clipboard

None


Return Value Copied to clipboard

None