alatpay_sdk 2.0.0 copy "alatpay_sdk: ^2.0.0" to clipboard
alatpay_sdk: ^2.0.0 copied to clipboard

A Flutter SDK for seamless Alat Pay integration, enabling secure, fast, and reliable in-app payments using the official ALATPay checkout popup.

Changelog #

All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.


2.0.0 - 2026-07-23 #

💥 Breaking Changes #

  • Replaced custom payment UI with official ALATPay checkout popup

    • All custom payment screens (bank transfer, USSD, bank details, OTP) have been removed
    • The SDK now uses the official ALATPay JavaScript checkout popup (alatpay.js) inside a WebView
    • All payment methods are handled by the official popup
  • API changes:

    • secretKey parameter replaced with apiKey (your ALATPay public key)
    • Removed theme (AlatPayTheme) parameter — the official popup has its own styling
    • Removed branding parameter — the official popup uses ALATPay branding
    • Added optional color parameter to customize the popup color
    • onPaymentError callback replaced by unified onPaymentComplete with PaymentResult.success
    • Added optional onClose callback for when the user dismisses the popup
  • Model changes:

    • PaymentRequest: Removed accountNumber, bankCode, orderId fields
    • Customer.phone is now optional (String?)
    • Removed Bank model, PaymentChannel enum, and PaymentStatus enum

🗑 Removed #

  • Custom payment screens (home, bank transfer, USSD, bank details, OTP)
  • AlatPayController singleton
  • AlatPayClient and BaseService (direct API calls)
  • AlatPayTheme customization
  • RouteTracker navigation observer
  • AlatPayException hierarchy
  • All bank image assets

➕ Added #

  • webview_flutter dependency for rendering the official ALATPay checkout

🔄 Changed #

  • Replaced http dependency with webview_flutter

1.0.4 - 2025-10-30 #

🖼 Updated #

  • Update description in pubspec.yaml

1.0.3 - 2025-10-30 #

🖼 Updated #

  • Update repository link
  • Update description in pubspec.yaml

1.0.2+3 - 2025-10-29 #

🖼 Fixed #

  • README screenshots now visible on pub.dev.

1.0.1+2 - 2025-10-29 #

📝 Updated #

  • Fixed README formatting and documentation details.

1.0.0+1 - 2025-10-29 #

🎉 Added #

  • Initial release of the AlatPay Flutter SDK
  • Payment initialization and verification flows
  • Bank list retrieval and account resolution
  • Asset support for logos and bank icons
  • Example Flutter app for integration testing
  • Full documentation (README, LICENSE, CHANGELOG)
1
likes
160
points
133
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter SDK for seamless Alat Pay integration, enabling secure, fast, and reliable in-app payments using the official ALATPay checkout popup.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on alatpay_sdk