mek_stripe_terminal 3.8.0 mek_stripe_terminal: ^3.8.0 copied to clipboard
A StripeTerminal plugin to discover readers, connect to them and process payments.
3.8.0 #
- build: Bumped Android
sdk version to
3.10.1
and IOS sdk version to3.9.1
- feat: Added to
Terminal.collectPaymentMethod
method therequestDynamicCurrencyConversion
andsurchargeNotice
params - feat: Added to
TerminalExceptionCode
enum theallowRedisplayInvalid
,surchargingNotAvailable
,surchargeNoticeRequiresUpdatePaymentIntent
,surchargeUnavailableWithDynamicCurrencyConversion
values - 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.bluetoothConnectionFailedBatteryCriticallyLow
toTerminalExceptionCode.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
DisconnectReason
to theReaderReconnectionDelegate.onReaderReconnectStarted2
callback. - 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
NSBluetoothAlwaysUsageDescription
key be present in your app's Info.plist instead of aNSBluetoothPeripheralUsageDescription
key.
3.2.0 #
- feat: Added to
Terminal.setSimulatorConfiguration
method - chore(android): Replaced
compileSdkVersion
withcompileSdk
and 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
PaymentIntent
classcharges
,paymentMethod
,amountDetails
properties
3.1.2 #
- fix: Fixed incorrect Terminal instance access when unmounting the plugin from the engine
3.1.1 #
- fix(android): Fixed
Terminal.discoverReaders
method errors not being propagated - fix: Fixed
Terminal.discoverReaders
method errors are not mapped toTerminalException
- fix: Fixed
Terminal.supportsReadersOfType
to support deviceType to null for UNKNOWN deviceType on android - fix: Fixed
TerminalException.message
was not properly mapped
3.1.0 #
- feat: Mapped more exception codecs: Android (
collectInputsUnsupported
), IOS (readerConnectionOfflineNeedsUpdate
,encryptionKeyFailure
,encryptionKeyStillInitializing
) - feat: Allow to customize tipping on
Terminal.collectPaymentMethod
method - feat: Allow to update payment intent on
Terminal.collectPaymentMethod
method - 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
StripeTerminal
class toTerminal
. The name has been aligned with the native SDKs. - docs: Added docs to all
TerminalExceptionCode
enum values - feat: Added to
TerminalException
class a updatedPaymentIntent
andApiError
- feat: Mapped all Android and IOS sdk errors to
TerminalExceptionCode
enum
BREAKING CHANGES
- refactor: Removed handoff, localMobile, bluetooth and usb
*ReaderDelegate
in favour ofPhysicalReaderDelegate
- refactor: Now
PaymentIntent.captureMethod
is a EnumCaptureMethod
- refactor: Now
PaymentIntent.confirmationMethod
is a EnumConfirmationMethod
- refactor: Now
PaymentIntent.setupFutureUsage
is a EnumPaymentIntentUsage
- refactor: Renamed on
PaymentIntent
:application
toapplicationId
,customer
tocustomerId
,invoice
toinvoiceId
,review
toreviewId
- fix: Added support on
PaymentIntentStatus
torequiresAction
value - refactor: Now
PaymentIntentParameters.setupFutureUsage
is a EnumPaymentIntentUsage
- refactor: Renamed on
SetupAttempt
:onBehalfOfId
toonBehalfOf
- refactor: Removed
TerminalException.rawCode
in favour ofTerminalException.code
enum field
3.0.0-dev.1 #
- docs: Added docs to
PaymentIntent
andPaymentIntentParams
classes and all daughter classes - docs: Added docs to
SetupIntent
class and all daughter classes - docs: Added docs to all
Saving payment details for later use
methods onStripeTerminal
class - docs: Added docs to all
Display information to customers
methods onStripeTerminal
class
3.0.0-dev #
- fix(ios): Fixes incorrect checking
null
values from flutter - feat: added more parameters to
PaymentIntentParams
class - build(android): The
minSdkVersion
has 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
Reader
class thelocation
field. - fix(android):
Terminal.onUnexpectedReaderDisconnect
will 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
moto
param onTerminal.startCollectPaymentMethod
method - fix(android): For readers that require updates to be installed upon connecting,
Terminal.onConnectionStatusChange
will now be emitted withconnected
after the updates complete successfully, not before.
BREAKING CHANGES
- feat:
ReconnectionDelegate
methods now provide the instance of theReader
that is being reconnected. - refactor: Deprecated classes and members have been replaced or removed:
CardDetails.fingerprint
andCardPresentDetails.fingerprint
have been removed from mobile SDKs. You will still be able to access the fingerprint server-side.
- refactor:
DiscoveryConfiguration
has been converted to a sealed type, instead of relying on theDiscoveryMethod
enum to disambiguate different discovery methods. - refactor:
Terminal.processPayment
has been renamed toTerminal.confirmPaymentIntent
. - refactor:
Terminal.processRefund
has been renamed toTerminal.confirmRefund
. - refactor: Removed
embedded
readers support - refactor:
Terminal.readReusableCard
has 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.batteryStatus
field
2.0.0 #
- feat: added support to
getPaymentStatus
- feat: added support to
clearCachedCredentials
- feat: added support to
collectRefundPaymentMethod
andprocessRefund
- feat: added support to
createSetupIntent
,retrieveSetupIntent
,collectSetupIntentPaymentMethod
,confirmSetupIntent
andcancelSetupIntent
- feat: added support to
createPaymentIntent
andcancelPaymentIntent
- chore: update android StripeTerminal dependency to 2.23.0
- chore: update ios StripeTerminal dependency to 2.23.1
Braking Changes
- refactor: removed
liveMode
onPaymentIntent
andPaymentMethod
classes, not supported on ios - refactor: renamed
PaymentMethod.cardDetails
toPaymentMethod.card
- refactor: renamed
connectionStatus
togetConnectionStatus
andconnectedReader
togetConnectedReader
on StripeTerminal class
1.0.0 #
- Initial version.