capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On completion, presentPaymentOptions triggers other Capacitor listener events.

zyxt opened this issue · comments

Platform

  • Web
  • iOS
  • [X ] Android

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:

  • [ x] Payment Sheet / Payment Flow
  • Apple Pay
  • Google Pay
  • Identity Verification Sheet

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.

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