unicode_moyasar 0.0.1 copy "unicode_moyasar: ^0.0.1" to clipboard
unicode_moyasar: ^0.0.1 copied to clipboard

A library for making online payment by using Moyasar payment gateway developed by UNICODE Team

Moyasar Payment by UNICODE #

A library for making online payment by using Moyasar payment gateway developed by UNICODE Team

Features #

  • Card payment (MADA, VISA, MASTERCARD, AMEX)

  • Apple Pay

  • Stc pay

Getting started #

Please check our /example project to better understand.

    MoyasarPayment(
        moyasarPaymentData: MoyasarPaymentData(
          appName: "UNICODE",
          secretKey: "sk_key",
          publishableSecretKey: "pk_key",
          purchaseAmount: 75.50,
          locale: PaymentLocale.en,
          paymentEnvironment: PaymentEnvironment.test,
          paymentOptions: [
            PaymentOption.card,
            PaymentOption.applepay,
            PaymentOption.stcpay,
          ],
        ),
        onPaymentSucess: (response) {
            //TODO Handle success payment response
          debugPrint("Success ------> ${response.toMap().toString()}");
        },
        onPaymentFailed: (response) {
          //TODO Handle failed payment response
          debugPrint("Failed ------> ${response.toMap().toString()}");
        },
      )
10
likes
150
pub points
65%
popularity

Publisher

verified publisherunicodesolutions.co

A library for making online payment by using Moyasar payment gateway developed by UNICODE Team

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_inappwebview, http, lottie, provider

More

Packages that depend on unicode_moyasar