Fix crash when canceling collectPaymentMethod after confirmPaymentIntent has been called on the PaymentIntent.
Update: Added SCPSimulateReaderUpdateLowBatterySucceedConnect for simulating an error installing an update but the SDK successfully connects to the reader. This will happen if the reader is running a recent software version.
Update: If a reader receives the SCPErrorReaderMissingEncryptionKeys error during payment collection, the SDK will disconnect from the reader, regardless of whether auto reconnect is enabled. This is to ensure that the missing keys are re-injected upon reconnection to the reader.
New: Added a SCPConfirmConfiguation class to allow per-transaction overrides for confirmPaymentIntent. confirmPaymentIntent has been updated to allow specifying a SCPConfirmConfiguration.
Beta: Added a surchargeNotice parameter to SCPCollectConfiguration to display a surcharge notice on the collection screen and added an amountSurcharge parameter to SCPConfirmConfiguration to surcharge on transactions on confirmation. Note that this feature is in beta.
If you are interested in joining this beta, please email stripe-terminal-betas@stripe.com
Note: this feature requires reader software version2.23 or later to be installed on your reader.
3.7.0 2024-06-24
collectPaymentMethod
afterconfirmPaymentIntent
has been called on thePaymentIntent
.SCPSimulateReaderUpdateLowBatterySucceedConnect
for simulating an error installing an update but the SDK successfully connects to the reader. This will happen if the reader is running a recent software version.SCPErrorReaderMissingEncryptionKeys
error during payment collection, the SDK will disconnect from the reader, regardless of whetherauto reconnect
is enabled. This is to ensure that the missing keys are re-injected upon reconnection to the reader.SCPConfirmConfiguation
class to allow per-transaction overrides forconfirmPaymentIntent
.confirmPaymentIntent
has been updated to allow specifying aSCPConfirmConfiguration
.surchargeNotice
parameter toSCPCollectConfiguration
to display a surcharge notice on the collection screen and added anamountSurcharge
parameter toSCPConfirmConfiguration
to surcharge on transactions on confirmation. Note that this feature is in beta.2.23
or later to be installed on your reader.SCPSurcharge
field to theSCPCardPresentParameters
object.