Releases: stripe/stripe-android
Releases · stripe/stripe-android
stripe-android v20.27.3
Payments
- [CHANGED] The return type for several methods in
Stripe
has changed fromT?
(nullable) toT
to better reflect possible behavior. These methods continue to be throwing and should be wrapped in atry/catch
block. - [FIXED]6977 Fixed an issue where
Stripe.retrievePossibleBrands()
returned incorrect results.
stripe-android v20.27.2
stripe-android v20.27.1
PaymentSheet
- [FIXED]6992 Fixed an issue where incorrect padding was set on the Google Pay button.
stripe-android v20.27.0
PaymentSheet
- [ADDED]6857 You can now collect payment details before creating a PaymentIntent or SetupIntent. See our docs for more info. This integration also allows you to confirm the Intent on the server.
stripe-android v20.26.0
PaymentSheet
- [ADDED]6583 Added top-level methods
rememberPaymentSheet()
andrememberPaymentSheetFlowController()
for easier integration in Compose. - [DEPRECATED]6583
PaymentSheetContract
has been deprecated and will be removed in a future release. Use thePaymentSheet
constructor or newrememberPaymentSheet()
method instead.
Payments
- [ADDED]6912
GooglePayPaymentMethodLauncher
can now be presented with an amount of typeLong
. The method to present with anInt
has been deprecated. - [DEPRECATED]6912
GooglePayLauncherContract
andGooglePayPaymentMethodLauncherContract
have been deprecated and will be removed in a future release. UseGooglePayLauncher
andGooglePayPaymentMethodLauncher
directly instead.
stripe-android v20.25.8
Financial Connections
- [CHANGED]6919 Updated polling options for account retrieval and OAuth results to match other platforms.
stripe-android v20.25.7
Financial Connections
- [FIXED]6900 Stop using getParcelableExtra from API 33 (see https://issuetracker.google.com/issues/240585930)
stripe-android v20.25.6
Financial Connections
- [FIXED]6836 Prevents double navigation when tapping too quickly.
- [FIXED]6853 Handle process kills after returning from browsers in Auth sessions.
- [FIXED]6837 Don't create duplicated Auth sessions after user closes web browser.
- [CHANGED]6850 Removes Toast shown after gracefully failing if no browser installed.
stripe-android v20.25.5
PaymentSheet
- [CHANGED] The experimental API for finalizing payments on the server has changed:
- Instead of providing only the
PaymentMethod
ID,CreateIntentCallback
now provides the entirePaymentMethod
object. CreateIntentCallbackForServerSideConfirmation
has been removed. If you’re using server-side confirmation, useCreateIntentCallback
and its newshouldSavePaymentMethod
parameter.CreateIntentCallback
,CreateIntentResult
, andExperimentalPaymentSheetDecouplingApi
have been moved to thepaymentsheet
module. Update your imports fromcom.stripe.android.*
tocom.stripe.android.paymentsheet.*
.
- Instead of providing only the