Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe Listener on Completion will return payment method data on callback #419

Open
2 of 5 tasks
lebaphi opened this issue Jan 7, 2025 · 0 comments
Open
2 of 5 tasks

Comments

@lebaphi
Copy link

lebaphi commented Jan 7, 2025

Is your feature request related to a problem? Please describe.
When I make a completed payment (ApplePay/GooglePay), I only get the result {"paymentResult":"googlePayCompleted"}

Describe the solution you'd like
I wanna the listener return the payment method like

Stripe.addListener(GooglePayEventsEnum.Completed, (result: PaymentMethod) => {
   ....
});

The result structure can be something like {"paymentMethod":{"id":"pm_1QU8fJAMexQxmg3fhz91zuBk","last4":"5512","cardType":"Visa","expMonth":4,"expYear":2028,"postalCode":"","countryCode":"US","isDigitalWallet":true,"productionEnvironment":false}}

Describe alternatives you've considered
N/A

Additional context
N/A

Usage Product
N/A

Product Name:
Product URL :
Using Function:

  • Payment Sheet / Payment Flow
  • Apple Pay
  • Google Pay
  • Identity (@capacitor-community/stripe-identity)
  • Terminal(@capacitor-community/stripe-terminal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant