libyan_payments_for_mypay 1.0.4
libyan_payments_for_mypay: ^1.0.4 copied to clipboard
Libyan Payments for MyPay — native in-app Flutter checkout (OTP, Masrafi/Yasr/Sahara Pay, banking card). Session credentials only; never embed client secrets.
Changelog #
1.0.4 #
- Distinguish banking-card 3DS outcomes: success, issuer decline (
failed), and buyer cancel (cancelled). - Classify Moamalat return URLs by query parameters (so
Success=Falseis not treated as success). - Call session
aborton cancel/decline soGET /checkout/sessions/{id}becomescancelledorfailed. - Expose optional
reasononMyPayCheckoutResult/MyPayApiException(user_cancelled|issuer_declined|three_ds_failed). - Tighten native 3DS callback parsing on iOS/Android to require a truthy
Successor aNetworkReferencewithout failure signals.
1.0.3 #
- Format banking-card and checkout amount labels to two decimals (for example
50.00 LYD). - Localize banking-card field labels, validation error, 3DS title, and Continue 3DS via
MyPayCheckoutStrings(includingMyPayCheckoutStrings.ar). - Apply RTL
Directionalityon checkout, banking-card, and 3DS screens whenlocaleisar(or Arabic strings). - Soft-exclude legacy
com.android.support/card.iofrom the NUMO PaySky Android dependency and document AndroidX / AGP 9 host-app guidance. - Add
ios/libyan_payments_for_mypay.podspecmatching the published package name.
1.0.2 #
- Fix README logos on pub.dev using absolute
https://mypay.ly/...image URLs (relative paths need a Git repository; this package has none).
1.0.1 #
- Attempted README logo fix with Markdown relative images (insufficient without a repository URL).
1.0.0 #
- Initial public release as Libyan Payments for MyPay (
libyan_payments_for_mypay) on pub.dev. - Initial public Native Checkout package for Flutter (iOS / Android).
- Themed UI via
MyPayCheckout.present(requiresgatewayAlias; no in-package gateway picker) and headlessMyPayCheckoutClient. - Merchant backend opens Pay API v1 native sessions (
/checkout/sessions); the app uses session-token device auth only — never embedclient_id/secret_idon device. - Gateways: Edfali, SADAD, Mobicash, Masrafi Pay / Yasr Pay / Sahara Pay (identity / purchase-code), Banking card (
moamalat). - Optional success/cancel deep links after checkout (UX only; signed webhooks remain the source of truth for fulfillment).
- Bundled branding: MyPay badge + gateway marks (
moamalat,sadad,masrafi-pay,yasr-pay,sahary-pay,edfali,mobicash). Host apps keep their own brand UI.
