moyasar library

Moyasar Flutter SDK helps you accept payments quickly and securely.

Classes

ApiError
A 500 error in the API.
ApplePay
The widget that shows the Apple Pay button.
ApplePayConfig
Required configuration to setup Apple Pay.
ApplePayPaymentRequestSource
Required data to setup an Apple Pay payment.
ApplePayPaymentResponseSource
The response source from Moyasar API for the Apple Pay payment.
AuthError
A failure in authing the request. Double check your publishableApiKey in the PaymentConfig.
CardFormModel
Credit Card data.
CardPaymentRequestSource
Required data to setup a Credit Card payment.
CardPaymentResponseSource
The response source from Moyasar API for the Credit Card payment.
CreditCard
The widget that shows the Credit Card form and manages the 3DS step.
CreditCardConfig
Required configuration to extend the Credit Card payment feature.
Localization
The Credit Card form supports the English (default) and the Arabic language.
Moyasar
Payment service.
NetworkError
A network error.
PaymentCanceledError
A failure due to canceling the Apple Pay session.
PaymentConfig
Used by Moyasar API along with any of the supported sources.
PaymentRequest
Required data to setup a payment.
PaymentResponse
Moyasar API response for processing a payment.
TimeoutError
A request timeout error.
UnprocessableTokenError
A failure specific to Apple Pay token being unprocessable. Usually happens when you test using a simulator. Retry using a real physical device.
UnspecifiedError
An unspecefied error.
ValidationError
A validation error in any of the params.

Enums

CardCompany
Types of Credit Card companies.
PaymentStatus