hyperpay_payment_sdk 1.3.0
hyperpay_payment_sdk: ^1.3.0 copied to clipboard
A Flutter plugin for seamless HyperPay payment gateway integration. Supports ReadyUI & CustomUI, VISA, MasterCard, MADA, STC Pay, and Apple Pay on Android & iOS.
1.3.0 #
- iOS: Swift Package Manager support. The plugin now ships an
ios/hyperpay_payment_sdk/Package.swiftalongside the podspec, so apps on Flutter 3.44+ resolve it as a Swift package with nopod install. Both HyperPay xcframeworks are vendored as SwiftPM binary targets and are embedded and signed by Xcode. - iOS: the Objective-C
PaymentPluginshim was replaced by an equivalent Swift class exported to Objective-C asPaymentPlugin(Swift Package Manager cannot build targets that mix the two languages).pluginClassis unchanged, so nothing changes for apps. - iOS: sources and frameworks moved into the Swift package layout
(
ios/hyperpay_payment_sdk/Sources/...andios/hyperpay_payment_sdk/Frameworks/...); the podspec builds the exact same files, so CocoaPods apps are unaffected. - iOS: restored the vendor code signature of
ipworks3ds_sdk.xcframework, which Git had broken by normalizing line endings in its headers (Swift Package Manager verifies it; CocoaPods did not). - Example app: migrated to Flutter's Swift Package Manager integration —
ios/Podfile,Podfile.lockand the CocoaPods project/workspace/xcconfig wiring were removed. - iOS: the podspec version now tracks the pubspec version (was pinned at
1.0.0).
1.2.0 #
- Upgraded to HyperPay Mobile SDK 7.11.0 (Android & iOS) — mandatory update for the Mastercard 3D Secure certificate renewal (deadline 2026-07-07).
- Android: bundled SDK 7.11.0 AARs; raised to JDK 17,
compileSdk 35,minSdkVersion 24; aligned dependency versions (material 1.12.0, appcompat 1.7.0, browser 1.8.0, fragment-ktx 1.8.6, constraintlayout 2.2.1, webkit 1.13.0, gson 2.11.0, lifecycle-viewmodel-ktx 2.8.7, play-services-wallet 19.4.0). - Android: fixed ReadyUI not returning a result for ASYNC (3DS) transactions — the Flutter call now completes for both SYNC and ASYNC checkouts so the app no longer hangs after a successful 3DS payment.
- iOS: vendored
OPPWAMobile.xcframework+ipworks3ds_sdk.xcframeworkdirectly in the plugin — the externalhyperpay_sdkpod and the static-framework Podfile workaround are no longer needed. Requires Xcode 26 and an iOS 13.0+ deployment target.
1.1.2 #
- Refactored example app to MVVM architecture (ViewModels, PaymentRepository, AppConstants)
- Improved code structure and separation of concerns in the example
1.1.1 #
- Added Google Pay support on Android (
googlePayUI()) - Added Samsung Pay support on Android (
samsungPayUI()) - Added BIN lookup / card brand detection (
requestBrands()) - Added structured error codes:
PaymentResultData.errorCodefield now populated fromPlatformException.codeon all payment flows - iOS returns
PLATFORM_NOT_SUPPORTEDerror for Google Pay and Samsung Pay calls
1.1.0 #
- Refactor browser redirection and error handling
1.0.0 #
- update IOS SDK 6.14.0