Add a parameter to the Pre-approval Request so that it accepts an amount.
While currently Pre-approval only generates a Customer Token (that can be later used by the PayHere Charging API, the API is capable of performing a charge at the same time.
For example, in a scenario such as 'Pay (with Save Card Enabled)' - the customer will be charged, and a token will be generated as well.
Add a parameter to the Pre-approval Request so that it accepts an amount.
While currently Pre-approval only generates a Customer Token (that can be later used by the PayHere Charging API, the API is capable of performing a charge at the same time.
For example, in a scenario such as 'Pay (with Save Card Enabled)' - the customer will be charged, and a token will be generated as well.