PayHereLK / payhere-mobilesdk-flutter

PayHere Mobile SDK for Flutter
BSD 3-Clause "New" or "Revised" License
5 stars 14 forks source link

Feature Addition: Support amount parameter in Pre-approval Payment Request #14

Closed PayHereDevs closed 1 year ago

PayHereDevs commented 1 year ago

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.

PayHereDevs commented 1 year ago

Feature added and published 🎉

Please update to a version after 3.0.4.

dependencies:
  payhere_mobilesdk_flutter: ^3.0.4