open_payment library

This flutter plugin lets you seamlessly integrate OPEN Payment Gateway with your flutter app and start collecting payments.

Classes

OpenPayment
Contains all the methods to use the library.
OpenPaymentPayload
OpenPaymentPayload contains all the fields required to initiate a payment.
TransactionDetails
Contains all the details about a completed transaction.

Enums

PaymentEnvironment
Indicates which payment gateway environment to run.

Typedefs

OnError = void Function(String error)
A Function which is called in case of any integration error.
OnTransactionComplete = void Function(TransactionDetails result)
A Function which is called when the transaction is completed.