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

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

Moyasar Payment by UNICODE Team #

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

Features support #

Payment

  • Card support (mada, visa, mastercard)
  • Apple Pay
  • stc pay

Logo

Getting started #

Please have a look at our /example project for a better understanding of implementations.

    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()}");
        },
        onPaymentFailed: (response) {
          //TODO Handle failed payment response
          debugPrint("Failed ------> ${response.toMap()}");
        },
      )

Apple pay Setup #

  • In order to use Apple Pay within your project, you first need to our domain in Apple Pay - domains settings in your Moyasar Dashboard.

  • Please visit their official docs to read more about how to add the domain for Apple pay.

 unicode-moyasar.web.app
  • Please skip the steps number 1 and 2 and use the URL provided above.
10
likes
150
pub points
64%
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