ntt_atom_flutter 2.0.0
ntt_atom_flutter: ^2.0.0 copied to clipboard
A Flutter SDK for integrating NTT Atom Pay, enabling seamless payment processing with secure and efficient transactions.
2.0.0 #
- Breaking:
AtomSDKis now a fully static class; callAtomSDK.checkOut(...)directly instead ofAtomSDK().checkOut(...) - Breaking: Renamed
AtomPaymentModetoAtomEnvandAtomReturnUrlModetoAtomCallbackMode - Breaking: Replaced the
flutter_inappwebviewWebView backend withwebview_flutter; replacedhttp/cryptowithdio/cryptographyfor networking and hashing - Fixed
AtomCallbackMode.forwardEncryptedandforwardUnencryptedbeing swapped:forwardEncryptednow forwards only the rawencData=<value>payload, andforwardUnencryptednow forwards the decrypted JSON payload, matching their names - Added UPI deep-link support for Google Pay, PhonePe, and Paytm, with a snackbar fallback when the target app isn't installed
- Added
onUserExitRequestcallback tocheckOutto intercept and optionally block the user leaving the payment screen (e.g. system back gesture) - Added
preProcessorDialogBuildertocheckOutfor supplying a custom dialog shown while the transaction token is being requested - Fixed SDK not closing with
AtomTransactionStatus.failedwhen a JavaScript error occurs in the checkout WebView - Fixed unhandled failure when the Atom checkout CDN script fails to load
- Reorganized package internals (
models/,helpers/,routes/,ui/,constants/) and added full dartdoc coverage for all public API members - Updated dependencies:
freezed3.2.5,json_serializable6.14.0,build_runner2.15.1,flutter_lints6.0.0; bumped minimum Dart SDK to^3.12.2
1.0.7+1 #
- Updated Readme
1.0.7 #
- Added
AtomReturnUrlConfigmodel with three forwarding modes:sendToServer,forwardEncrypted, andforwardUnencrypted - Replaced
returnUrlstring field inAtomPaymentOptionswith nullablereturnUrlConfig: AtomReturnUrlConfig?; passingnull(default) preserves existing behavior forwardEncrypted: SDK captures response at default URL, POSTs extracted encrypted payload as plain text to provided URL, then decrypts to determine transaction statusforwardUnencrypted: SDK captures response at default URL, decrypts it, POSTs JSON to provided URL, then determines transaction status- Empty
returnUrlin config falls back to default SDK behavior - Renamed
AtomConstants.defaultUrltoAtomConstants.defaultReturnUrlfor clarity; added as@DefaultonAtomReturnUrlConfig.returnUrl - Added iOS
LSApplicationQueriesSchemesand Android<queries>setup instructions to README - Updated example app with amount input, return URL input, and mode dropdown
0.0.1 #
- Initial Release.
1.0.0 #
- Readme Fix
1.0.1 #
- License Update
1.0.2 #
- Changed SDK Mechanism to use singleton approach, Removed intl and used custom method for date and time
1.0.3 #
- Optimized AtomNavigatorObserver to record only atom route
1.0.4 #
- Fix: SDK not closing on payment success
1.0.5 #
- License Update
1.0.6 #
- Dependency Update