Skip to content

Releases: stripe/stripe-android

stripe-android v11.0.1

11 Sep 21:37
Compare
Choose a tag to compare
  • #1518 Fix crash when payment authentication is started from Fragment and user taps back twice
  • #1523 Correctly handle deep-links in the in-app payment authentication WebView
  • #1524 Update 3DS2 SDK to 2.0.2
    • Fix issue with 3DS2 encryption and older BouncyCastle versions

See the changelog for more details.

stripe-android v11.0.0

11 Sep 02:50
Compare
Choose a tag to compare
  • #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 to SharedPreferences
  • #1480 Make Source immutable
  • #1481 Remove @Deprecated methods from StripeIntent models
    • Remove PaymentIntent#getSource(); use PaymentIntent#getPaymentMethodId()
    • Remove SetupIntent#getCustomerId()
    • Remove SourceCallback; use ApiResultCallback<Source>
    • Remove TokenCallback; use ApiResultCallback<Token>
  • #1485 Update 3DS2 SDK to 2.0.1
  • #1494 Update PaymentMethodsActivity UX
  • #1495 Remove @Deprecated fields and methods from PaymentMethodsActivity
  • #1497 Remove Stripe methods that accept a publishable key
  • #1506 Remove Stripe#createToken() with Executor argument
  • #1514 Bump API version to 2019-09-09

See the changelog for more details.

stripe-android v10.4.2

30 Aug 21:40
Compare
Choose a tag to compare
  • #1461 Fix crash in PaymentAuthWebView
  • #1462 Animate selections in PaymentMethodsActivity

See the changelog for more details.

stripe-android v10.4.1

30 Aug 12:05
Compare
Choose a tag to compare
  • #1457 Fix crash in "Add an Address" screen when value for Country is empty

See the changelog for more details.

Release v10.4.0

29 Aug 18:40
072096f
Compare
Choose a tag to compare
  • #1421 Create PaymentMethodsActivityStarter.Result to retrieve result of PaymentMethodsActivity
  • #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() to CardInputWidget and CardMultilineWidget
  • #1434 Add setters on Card widgets for card number, expiration, and CVC
  • #1438 Bump API version to 2019-08-14
  • #1446 Update PaymentIntent and SetupIntent models
    • Add missing PaymentIntent#getPaymentMethodId()
    • Mark PaymentIntent#getSource() as @Deprecated - use PaymentIntent#getPaymentMethodId()
    • Mark SetupIntent#getCustomerId() as @Deprecated - this attribute is not available with a publishable key
  • #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

See the changelog for more details.

stripe-android v10.3.1

22 Aug 20:38
Compare
Choose a tag to compare
  • #1394 Add shouldPrefetchCustomer arg to PaymentSession.init()
  • #1395 Fix inconsistent usage of relative attributes on card icon in CardMultilineWidget
  • #1412 Make AddPaymentMethodActivityStarter() available for starting AddPaymentMethodActivity
    • // 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()
      

See the changelog for more details.

stripe-android v10.3.0

16 Aug 14:19
Compare
Choose a tag to compare
  • #1327 Deprecate SourceCallback and TokenCallback
    • Use ApiResultCallback<Source> and ApiResultCallback<Token> respectively
  • #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
  • #1376 Add shouldPrefetchEphemeralKey arg to CustomerSession.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() and PaymentAuthConfig.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

See the changelog for more details.

stripe-android v10.2.1

06 Aug 20:19
Compare
Choose a tag to compare
  • #1314 Expose pinned API version via Stripe.API_VERSION
  • #1315 Create SourceParams#createCardParamsFromGooglePay
  • #1316 Fix issue where InvalidRequestException is thrown when confirming a Setup Intent using ConfirmSetupIntentParams with PaymentMethodCreateParams

See the changelog for more details.

stripe-android v10.2.0

05 Aug 21:07
Compare
Choose a tag to compare
  • #1275 Add support for launching PaymentSession from a Fragment
    • PaymentSession(Fragment)
  • #1288 Upgrade Android Gradle Plugin to 3.5.0-rc02
  • #1289 Add Fragment support to payment confirmation/authentication flow
    • Stripe#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() to StripeIntentResult#getOutcome()
  • #1302 Create GooglePayConfig
  • #1304 Create PaymentMethodCreateParams#createFromGooglePay()

See the changelog for more details.

stripe-android v10.1.1

31 Jul 20:25
Compare
Choose a tag to compare
  • #1275 Fix StripeIntentResult.Status logic
  • #1276 Update Stripe 3DS2 library to v1.1.5
    • Fix crash in 3DS2 challenge flow when conscrypt is installed
  • #1277 Fix StrictMode failure in StripeFireAndForgetRequestExecutor

See the changelog for more details.