Releases: stripe/stripe-android
Releases · stripe/stripe-android
stripe-android v11.0.1
stripe-android v11.0.0
- #1474 Fix darkmode issue with "Add an Address" form's Country selection dropdown
- #1475 Hide keyboard after submitting "Add an Address" form in standard integration
- #1478 Migrate to AndroidX
- #1479 Persist
PaymentConfiguration
toSharedPreferences
- #1480 Make
Source
immutable - #1481 Remove
@Deprecated
methods fromStripeIntent
models- Remove
PaymentIntent#getSource()
; usePaymentIntent#getPaymentMethodId()
- Remove
SetupIntent#getCustomerId()
- Remove
SourceCallback
; useApiResultCallback<Source>
- Remove
TokenCallback
; useApiResultCallback<Token>
- Remove
- #1485 Update 3DS2 SDK to 2.0.1
- #1494 Update
PaymentMethodsActivity
UX - #1495 Remove
@Deprecated
fields and methods fromPaymentMethodsActivity
- #1497 Remove
Stripe
methods that accept a publishable key - #1506 Remove
Stripe#createToken()
withExecutor
argument - #1514 Bump API version to
2019-09-09
stripe-android v10.4.2
stripe-android v10.4.1
- #1457 Fix crash in "Add an Address" screen when value for Country is empty
Release v10.4.0
- #1421 Create
PaymentMethodsActivityStarter.Result
to retrieve result ofPaymentMethodsActivity
- #1427 Mark Stripe methods that accept a publishable key as deprecated
// Example // before val stripe = Stripe(context) stripe.createPaymentMethodSynchronous(params, "pk_test_demo123") // after val stripe = Stripe(context, "pk_test_demo123") stripe.createPaymentMethodSynchronous(params)
- #1428 Guard against opaque URIs in
PaymentAuthWebViewClient
- #1433 Add
setCardHint()
toCardInputWidget
andCardMultilineWidget
- #1434 Add setters on Card widgets for card number, expiration, and CVC
- #1438 Bump API version to
2019-08-14
- #1446 Update
PaymentIntent
andSetupIntent
models- Add missing
PaymentIntent#getPaymentMethodId()
- Mark
PaymentIntent#getSource()
as@Deprecated
- usePaymentIntent#getPaymentMethodId()
- Mark
SetupIntent#getCustomerId()
as@Deprecated
- this attribute is not available with a publishable key
- Add missing
- #1448 Update Gradle to 5.6.1
- #1449 Add support for
cancellation_reason
attribute to PaymentIntent - #1450 Add support for
cancellation_reason
attribute to SetupIntent - #1451 Update Stripe 3DS2 library to
v1.2.2
- Dismiss keyboard after submitting 3DS2 form
- Exclude
org.ow2.asm:asm
dependency
stripe-android v10.3.1
- #1394 Add
shouldPrefetchCustomer
arg toPaymentSession.init()
- #1395 Fix inconsistent usage of relative attributes on card icon in
CardMultilineWidget
- #1412 Make
AddPaymentMethodActivityStarter()
available for startingAddPaymentMethodActivity
-
// Example usage AddPaymentMethodActivityStarter(activity).startForResult( AddPaymentMethodActivityStarter.Args.Builder() .setShouldAttachToCustomer(true) .setShouldRequirePostalCode(true) .build() )
-
- #1417 Update Stripe 3DS2 library to
v1.2.1
-
Add support for updating status bar color and progress color using
Stripe3ds2UiCustomization.Builder.createWithAppTheme(Activity)
or UI customization builders// Example usage Stripe3ds2UiCustomization.Builder.createWithAppTheme(this) PaymentAuthConfig.Stripe3ds2UiCustomization.Builder() .setAccentColor("#9cdbff") .build() PaymentAuthConfig.Stripe3ds2ToolbarCustomization.Builder() .setStatusBarColor("#392996") .build()
-
stripe-android v10.3.0
- #1327 Deprecate
SourceCallback
andTokenCallback
- Use
ApiResultCallback<Source>
andApiResultCallback<Token>
respectively
- Use
- #1332 Create
StripeParamsModel
interface for Stripe API param classes - #1334 Remove
StripeModel#toMap()
- #1340 Upgrade Android Gradle Plugin to
3.5.0-rc03
- #1342 Update Builds Tools to
29.0.2
- #1347 Mark
Stripe.setStripeAccount()
as deprecated- Use
new Stripe(context, "publishable_key", "stripe_account_id")
instead
- Use
- #1376 Add
shouldPrefetchEphemeralKey
arg toCustomerSession.initCustomerSession()
- #1378 Add
last_payment_error
field to PaymentIntent model - #1379 Add
last_setup_error
field to SetupIntent model - #1388 Update Stripe 3DS2 library to
v1.1.7
- Fix issue in
PaymentAuthConfig.Stripe3ds2UiCustomization.Builder()
andPaymentAuthConfig.Stripe3ds2UiCustomization.Builder.createWithAppTheme()
that was resulting in incorrect color customization on 3DS2 challenge screen - Improve accessibility of select options on 3DS2 challenge screen by setting minimum height to 48dp
- Fix issue in
stripe-android v10.2.1
stripe-android v10.2.0
- #1275 Add support for launching
PaymentSession
from aFragment
PaymentSession(Fragment)
- #1288 Upgrade Android Gradle Plugin to 3.5.0-rc02
- #1289 Add
Fragment
support to payment confirmation/authentication flowStripe#confirmPayment(Fragment, ConfirmPaymentIntentParams)
Stripe#authenticatePayment(Fragment, String)
Stripe#confirmSetupIntent(Fragment, ConfirmSetupIntentParams)
Stripe#authenticateSetup(Fragment, String)
- #1290 Convert samplestore app to Kotlin
- #1297 Convert example app to Kotlin
- #1300 Rename
StripeIntentResult#getStatus()
toStripeIntentResult#getOutcome()
- #1302 Create
GooglePayConfig
- #1304 Create
PaymentMethodCreateParams#createFromGooglePay()