noon_payments 1.2.1 copy "noon_payments: ^1.2.1" to clipboard
noon_payments: ^1.2.1 copied to clipboard

A Flutter plugin for integrating Noon Payments SDK on Android and iOS.

1.2.1 #

  • Fixed: bundled Noon paymentsdk AAR no longer overrides the host app's launcher icon on Android 13+ (it shipped default ic_launcher template resources).

1.2.0 #

  • Added Flutter Web as a supported platform (flutter.plugin.platforms.web + NoonPaymentsWeb) — the plugin now advertises Web on pub.dev and registers in web apps.
  • Added Apple Pay on the Web: NoonPayments.payWithApplePayServerSide(...) drives the browser's ApplePaySession and routes the two Noon calls (INITIATE for merchant validation, then PROCESS_AUTHENTICATION) through your backend via callbacks. Works in Safari and, with Apple's JS SDK loaded in web/index.html, in Chrome/Edge (incl. the cross-device QR).
    • Add to web/index.html: <script crossorigin src="https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js"></script>.
    • isApplePayAvailable() works on web; payWithApplePay returns USE_SERVER_SIDE on web (use payWithApplePayServerSide).
  • Switched the Apple Pay networking from dart:io to package:http so the plugin compiles and runs on web.

1.1.0 #

  • Added Apple Pay Direct Integration (native PassKit sheet) alongside the existing drop-in sheet. Uses Noon's Flow A (Noon decrypts the token — no certificate handling or PCI DSS required).

    • NoonPayments.isApplePayAvailable() — device capability check (iOS only).
    • NoonPayments.getApplePayToken(config) — present the native Apple Pay sheet and return the token (for backend-side INITIATE).
    • NoonPayments.payWithApplePay(...) — present the sheet and submit the token to Noon's INITIATE API from the client.
    • NoonPayments.submitApplePayToken(...) — submit an already-collected Apple Pay token to Noon's INITIATE API.
  • Added models: NoonApplePayConfig, NoonApplePaySummaryItem, NoonApplePayToken, NoonOrder, NoonOrderItem, ApplePayNetwork, ApplePayMerchantCapability.

  • Added NoonPaymentResult.fromInitiateResponse(...) to parse Noon INITIATE responses.

  • Added Apple Pay on Flutter Web support via the W3C Payment Request API (with ApplePaySession fallback), using Noon's 2-step INITIATEPROCESS_AUTHENTICATION web flow. Works in Safari and Chrome/Edge (cross-device QR).

    • Web supports Apple Pay only — the drop-in sheet and Google Pay/card flows remain native-mobile only.
  • Added NoonPayments.payWithApplePayServerSide(...) — backend-delegated web flow (two callbacks) so your Noon key stays off the browser. Required for web, since calling Noon directly from the browser is blocked by CORS.

  • Web Apple Pay uses the ApplePaySession API. It works in Safari out of the box, and in Chrome/Edge — including Apple's cross-device QR (scan with an iOS 18+ iPhone) — when you add Apple's JS SDK to web/index.html: <script crossorigin src="https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js"></script>.

  • Switched the Apple Pay direct networking from dart:io to package:http so the package compiles and runs on Flutter Web.

  • Made ApplePayNetwork and ApplePayMerchantCapability extensible (custom values supported).

1.0.4+2 #

  • Enhanced parse method to correctly handle data from Noon SDK

1.0.4+1 #

  • Updated Android build.gradle to resolve Kapt plugin issue with Kotlin 2.2.20
  • Update minimum iOS deployment target to 15.0

1.0.3+1 #

  • Fixed iOS Swift Package Manager structure: moved sources under ios/noon_payments/Sources/noon_payments/ and Package.swift to ios/noon_payments/ so Flutter detects SPM support.
  • Declared FlutterFramework dependency in Package.swift (required by Flutter SPM).
  • Updated CocoaPods podspec paths to match the new layout (CocoaPods consumers continue to work).

1.0.3 #

  • Added Swift Package Manager (SPM) support for iOS

1.0.2 #

  • Fixed R8/ProGuard build error on Android by adding missing Coil dependency and keep rules.

1.0.1+2 #

  • Updated README.md.

1.0.1 #

  • Added environment param to initiatePayment method to allow the user to add their own environment link.
environment: NoonEnvironment("YOUR_ENVIRONMENT_LINK"),

1.0.0+1 #

  • Updated README.md.

1.0.0 #

  • Initial release of the Noon Payments Flutter plugin.
  • Added Android and iOS payment flow support.
  • Added payment result, style, and enum models.
6
likes
160
points
252
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for integrating Noon Payments SDK on Android and iOS.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, http, plugin_platform_interface

More

Packages that depend on noon_payments

Packages that implement noon_payments