Skip to main content

libyan_payments_for_mypay 1.0.4 copy "libyan_payments_for_mypay: ^1.0.4" to clipboard
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=False is not treated as success).
  • Call session abort on cancel/decline so GET /checkout/sessions/{id} becomes cancelled or failed.
  • Expose optional reason on MyPayCheckoutResult / MyPayApiException (user_cancelled | issuer_declined | three_ds_failed).
  • Tighten native 3DS callback parsing on iOS/Android to require a truthy Success or a NetworkReference without 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 (including MyPayCheckoutStrings.ar).
  • Apply RTL Directionality on checkout, banking-card, and 3DS screens when locale is ar (or Arabic strings).
  • Soft-exclude legacy com.android.support / card.io from the NUMO PaySky Android dependency and document AndroidX / AGP 9 host-app guidance.
  • Add ios/libyan_payments_for_mypay.podspec matching 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 (requires gatewayAlias; no in-package gateway picker) and headless MyPayCheckoutClient.
  • Merchant backend opens Pay API v1 native sessions (/checkout/sessions); the app uses session-token device auth only — never embed client_id / secret_id on 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.
5
likes
120
points
1.04k
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publishermypay.ly

Weekly Downloads

Libyan Payments for MyPay — native in-app Flutter checkout (OTP, Masrafi/Yasr/Sahara Pay, banking card). Session credentials only; never embed client secrets.

Homepage

Topics

#payment #mypay #libya #checkout #flutter

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, http, pin_code_fields, plugin_platform_interface, url_launcher

More

Packages that depend on libyan_payments_for_mypay

Packages that implement libyan_payments_for_mypay