mek_stripe_terminal 3.0.1 mek_stripe_terminal: ^3.0.1 copied to clipboard
A StripeTerminal plugin to discover readers, connect to them and process payments.
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.