Click to Pay updateConfiguration()

updateConfiguration()

The function allows the merchant to modify configuration after Click To Pay has been configured.

Call this function when the merchant has already called the configure function but you want to update the field values shown on the DCF.


Usage Copied to clipboard

ClickToPay.updateConfiguration(config)


Example Copied to clipboard

ClickToPay.updateConfiguration({amount: "12.12"});
  

Arguments Copied to clipboard

config Copied to clipboard Object REQUIRED

The config object with the amount to be displayed to the payer.

amount Copied to clipboard String REQUIRED

The order amount to be displayed to the payer.


Return Value Copied to clipboard

None