mek_stripe_terminal 4.6.2
mek_stripe_terminal: ^4.6.2 copied to clipboard
A StripeTerminal plugin to discover readers, connect to them and process payments.
4.6.2 #
- feat(terminal): Added
id,ipAddress, andnetworkStatusfields to theReaderobject. Added by @mahmoud-othmane. - build: bumped
mek_data_classpackage to2.0.0
4.6.1 #
- feat: added support for optional ios parameters on internet and tap-to-pay connection configurations
4.6.0 #
- feat: bumped android and ios sdk version to
4.6.0
4.4.1 #
- feat: added
allowRedisplayparam oncollectPaymentMethodmethod
4.4.0 #
- feat: bumped android and ios sdk version to
4.4.0 - fix(ios): fixed wrong mapping tap to pay configuration
- feat(android): configure tap to pay UX. Thanks @hrueger
4.0.4 #
- chore(android): when plugin si attached to activity the
Terminal.onCreatemethod is called #104
4.0.3 #
- chore(android): removed permission check when initializing terminal
4.0.2 #
- build: updated
metato1.15.0andone_for_allto1.1.1dependency - build: updated
dartconstraints to>=3.5.0 <4.0.0andflutterto>=3.24.0 - docs: updated README.md file
4.0.1 #
- docs: updated documentation
4.0.0 #
- feat: added support to [ReaderDelegate.onAcceptTermsOfService] method listener
- fix(android): execute reader disconnect after hot restart in main thread
- build!: Bumped Android
sdk version to
4.1.0and IOS sdk version to4.1.0. Please watch the official CHANGELOG.md to know the breaking changes - refactor!: Aligned terminal initialization with official native sdk. Now you will need to initialize the sdk by
calling
Terminal.initTerminal
3.8.1 #
- doc: updated README.md file adding official documentation links
3.8.0 #
- build: Bumped Android
sdk version to
3.10.1and IOS sdk version to3.9.1 - feat: Added to
Terminal.collectPaymentMethodmethod therequestDynamicCurrencyConversionandsurchargeNoticeparams - feat: Added to
TerminalExceptionCodeenum theallowRedisplayInvalid,surchargingNotAvailable,surchargeNoticeRequiresUpdatePaymentIntent,surchargeUnavailableWithDynamicCurrencyConversionvalues - build: Bumped android sdk compile version to
35
3.5.0 #
3.4.0 #
- chore: Bumped Android
and IOS sdks versions to
3.4.0 - refactor: Renamed
TerminalExceptionCode.bluetoothConnectionFailedBatteryCriticallyLowtoTerminalExceptionCode.readerBatteryCriticallyLow - feat: Added new
TerminalExceptionCode.readerMissingEncryptionKeys. Returned in a rare condition where the reader is missing the required keys to encrypt payment method data. The reader will disconnect if this error is hit. Reconnecting to the reader should re-install the keys. - feat: Added a
DisconnectReasonto theReaderReconnectionDelegate.onReaderReconnectStarted2callback. - build(android): Increased the minimum API version requirement to 30 (Android 11).
- build(android): SDKs have been updated to depend on Kotlin 1.9.10.
- build(ios): The SDK now requires that a
NSBluetoothAlwaysUsageDescriptionkey be present in your app's Info.plist instead of aNSBluetoothPeripheralUsageDescriptionkey.
3.2.0 #
- feat: Added to
Terminal.setSimulatorConfigurationmethod - chore(android): Replaced
compileSdkVersionwithcompileSdkand bumped version to34 - chore(android): Bumped tools gradle version to
8.1.3 - feat: Bumped Android
and IOS sdks versions to
3.2.0 - feat: Added to
PaymentIntentclasscharges,paymentMethod,amountDetailsproperties
3.1.2 #
- fix: Fixed incorrect Terminal instance access when unmounting the plugin from the engine
3.1.1 #
- fix(android): Fixed
Terminal.discoverReadersmethod errors not being propagated - fix: Fixed
Terminal.discoverReadersmethod errors are not mapped toTerminalException - fix: Fixed
Terminal.supportsReadersOfTypeto support deviceType to null for UNKNOWN deviceType on android - fix: Fixed
TerminalException.messagewas not properly mapped
3.1.0 #
- feat: Mapped more exception codecs: Android (
collectInputsUnsupported), IOS (readerConnectionOfflineNeedsUpdate,encryptionKeyFailure,encryptionKeyStillInitializing) - feat: Allow to customize tipping on
Terminal.collectPaymentMethodmethod - feat: Allow to update payment intent on
Terminal.collectPaymentMethodmethod - feat: Beta: Allow customer-initiated cancellation for PaymentIntent, SetupIntent, and Refund payment method collection with internet readers. See customerCancellationEnabled: on collectPaymentMethod, collectSetupIntentPaymentMethod, and collectRefundPaymentMethod Terminal methods. Note: This feature requires reader software version 2.17 or later to be installed on your internet reader. Please contact us if you want to support customer-initiated cancellation.
- fix(android): Fixes TapToPay error "Must have a country code to connect to reader" #29
- feat: Bumped Android
and IOS sdks versions to
3.1.0
3.0.0 #
- fix: Attached the delegate reader before trying the connection
- refactor: Renamed
StripeTerminalclass toTerminal. The name has been aligned with the native SDKs. - docs: Added docs to all
TerminalExceptionCodeenum values - feat: Added to
TerminalExceptionclass a updatedPaymentIntentandApiError - feat: Mapped all Android and IOS sdk errors to
TerminalExceptionCodeenum
BREAKING CHANGES
- refactor: Removed handoff, localMobile, bluetooth and usb
*ReaderDelegatein favour ofPhysicalReaderDelegate - refactor: Now
PaymentIntent.captureMethodis a EnumCaptureMethod - refactor: Now
PaymentIntent.confirmationMethodis a EnumConfirmationMethod - refactor: Now
PaymentIntent.setupFutureUsageis a EnumPaymentIntentUsage - refactor: Renamed on
PaymentIntent:applicationtoapplicationId,customertocustomerId,invoicetoinvoiceId,reviewtoreviewId - fix: Added support on
PaymentIntentStatustorequiresActionvalue - refactor: Now
PaymentIntentParameters.setupFutureUsageis a EnumPaymentIntentUsage - refactor: Renamed on
SetupAttempt:onBehalfOfIdtoonBehalfOf - refactor: Removed
TerminalException.rawCodein favour ofTerminalException.codeenum field
3.0.0-dev.1 #
- docs: Added docs to
PaymentIntentandPaymentIntentParamsclasses and all daughter classes - docs: Added docs to
SetupIntentclass and all daughter classes - docs: Added docs to all
Saving payment details for later usemethods onStripeTerminalclass - docs: Added docs to all
Display information to customersmethods onStripeTerminalclass
3.0.0-dev #
- fix(ios): Fixes incorrect checking
nullvalues from flutter - feat: added more parameters to
PaymentIntentParamsclass - build(android): The
minSdkVersionhas been updated to 26. This means that the SDK will no longer support devices running Android 7.1.2 (Nougat) or earlier. Older devices can continue to use the 2.x versions of the SDK while on the maintenance schedule. - feat: Added to
Readerclass thelocationfield. - fix(android):
Terminal.onUnexpectedReaderDisconnectwill be emit if a command cannot be sent to an internet reader. Previously, this callback was only invoked when a periodic status check failed. - refactor: Removed
motoparam onTerminal.startCollectPaymentMethodmethod - fix(android): For readers that require updates to be installed upon connecting,
Terminal.onConnectionStatusChangewill now be emitted withconnectedafter the updates complete successfully, not before.
BREAKING CHANGES
- feat:
ReconnectionDelegatemethods now provide the instance of theReaderthat is being reconnected. - refactor: Deprecated classes and members have been replaced or removed:
CardDetails.fingerprintandCardPresentDetails.fingerprinthave been removed from mobile SDKs. You will still be able to access the fingerprint server-side.
- refactor:
DiscoveryConfigurationhas been converted to a sealed type, instead of relying on theDiscoveryMethodenum to disambiguate different discovery methods. - refactor:
Terminal.processPaymenthas been renamed toTerminal.confirmPaymentIntent. - refactor:
Terminal.processRefundhas been renamed toTerminal.confirmRefund. - refactor: Removed
embeddedreaders support - refactor:
Terminal.readReusableCardhas been removed. This functionality is replaced by Setup Intents.
2.1.4 #
2.1.3 #
- fix(ios): Fixed discoveryReaders method, it does not emit any readers and the new stream was immediately closed on subsequent invocations
2.1.2 #
- fix(ios): Executed fetch token and more actions on main thread
2.1.0 #
- docs: Documented readers (methods, classes) and payment intents (methods)
- feat: added
Readers.batteryStatusfield
2.0.0 #
- feat: added support to
getPaymentStatus - feat: added support to
clearCachedCredentials - feat: added support to
collectRefundPaymentMethodandprocessRefund - feat: added support to
createSetupIntent,retrieveSetupIntent,collectSetupIntentPaymentMethod,confirmSetupIntentandcancelSetupIntent - feat: added support to
createPaymentIntentandcancelPaymentIntent - chore: update android StripeTerminal dependency to 2.23.0
- chore: update ios StripeTerminal dependency to 2.23.1
Braking Changes
- refactor: removed
liveModeonPaymentIntentandPaymentMethodclasses, not supported on ios - refactor: renamed
PaymentMethod.cardDetailstoPaymentMethod.card - refactor: renamed
connectionStatustogetConnectionStatusandconnectedReadertogetConnectedReaderon StripeTerminal class
1.0.0 #
- Initial version.