google-pay / flutter-plugin

Apache License 2.0
141 stars 129 forks source link

Critical Crash on Payment Success Handling in Google Pay Flutter Plugin Affecting 350+ Users #274

Open ViniciusDeep opened 3 weeks ago

ViniciusDeep commented 3 weeks ago

Crash on Payment Success Handling in Google Pay Flutter Plugin

Description:

We have encountered a critical issue in the Google Pay Flutter plugin that is causing crashes during the payment success handling process. This issue has been reported by multiple clients and is currently affecting over 350 users.

Stack Trace:

io.flutter.plugins.pay_android.GooglePayHandler.handlePaymentSuccess (GooglePayHandler.java:6)
io.flutter.plugins.pay_android.GooglePayHandler.onActivityResult (GooglePayHandler.java:6)
io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult (FlutterEngineConnectionRegistry.java:25)
io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult (FlutterEngineConnectionRegistry.java:13)
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.m (FlutterActivityAndFragmentDelegate.java:16)
io.flutter.embedding.android.FlutterFragment.onActivityResult (FlutterFragment.java:10)
io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult (FlutterFragmentActivity.java:5)

Impact:

Request for Update:

Is there any progress or update on this issue? Given the severity and impact on our users, a prompt resolution or workaround would be greatly appreciated.

Additional Information:

If any further details or logs are needed, please let us know. We're eager to collaborate to resolve this issue as quickly as possible.

ViniciusDeep commented 1 week ago

This PR should fix: https://github.com/google-pay/flutter-plugin/pull/276#pullrequestreview-2281010300