0 purchases
unicode moyasar
Moyasar Payment by UNICODE Team #
A library for making online payment by using Moyasar payment gateway developed by UNICODE Team.
Features support #
Card support (mada, visa, mastercard)
Apple Pay
stc pay
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()}");
},
)
copied to clipboard
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
copied to clipboard
Please skip the steps number 1 and 2 and use the URL provided above.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.