Introduction
Agreement
Authentication
Batch
Browser Payment
Gateway
Hosted Checkout
Payment Plan
Session
Standalone Risk Assessment
Tokenization
Transaction
Wallet
RESOURCES
Changelog
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
ClickToPay.updateConfiguration(config)
Example
ClickToPay.updateConfiguration({amount: "12.12"});
Arguments
config
Object
REQUIRED
The config object with the amount to be displayed to the payer.
amount
String
REQUIRED
The order amount to be displayed to the payer.
Return Value
None