capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 75 forks source link

On completion, presentPaymentOptions triggers other Capacitor listener events. #295

Closed zyxt closed 10 months ago

zyxt commented 1 year ago

Platform

Describe the bug Working with a payment flow on Android, latest version of this plugin, Capacitor 5.0. flowController.presentPaymentOptions(); executes, and on completion, other listener events that have been registered in capacitor are triggered (for example, App change state).

Using Function:

rdlabo commented 1 year ago

https://github.com/capacitor-community/stripe/blob/master/android/src/main/java/com/getcapacitor/community/stripe/paymentflow/PaymentFlowEvent.kt#L3-L12

Thanks for issue. All of the events used by flowController are located here and do not conflict in name with others.

rdlabo commented 10 months ago

This Issue is closed due to a long period of inactivity. Please create a new Issue if necessary.