[flutter_stripe] App Crash on Pixel 7 – Incompatible SDK Versions for Card and Alipay Payments

We are using the flutter_stripe package in our Flutter application with a custom integration. On Google Pixel 7 devices, we are facing a critical issue where the app crashes during payment when using either card or Alipay methods, depending on the Android Stripe SDK version configured in our project.

We tested two versions of the native Stripe Android SDK:

  1. implementation 'com.stripe:stripe-android:20.53.0'
  • Card payments work
  • Alipay fails (crashes the app)
  1. implementation 'com.stripe:stripe-android:20.13.2'
  • Alipay works
  • Card payments fail

Our requirement is to support both Card and Alipay payments simultaneously on all devices, including Pixel 7. However, we are unable to find a compatible SDK version that supports both.

Request:

Please suggest a version of the Stripe Android SDK that is compatible with flutter_stripe and supports both Card and Alipay without crashing. Alternatively, if there’s a workaround or recommended configuration, kindly advise.