-
Notifications
You must be signed in to change notification settings - Fork 645
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
[Feature] Pass externalPaymentMethodType || paymentMethodType to ExternalPaymentMethodConfirmHandler + PaymentSheetResult #9208
Comments
`` |
Hi @azazellj we do provide the type to the You should be able to store it when you get it in Please let me know if that solves your issue. |
It might work for the ExternalPaymentMethodConfirmHandler, but how it should work for the regular payments? |
You can re-fetch the payment intent using https://stripe.dev/stripe-android/payments-core/com.stripe.android/retrieve-payment-intent.html |
So I need to do an extra API call to get some data, that is already present somewhere in SDK, but won't be passed as a PaymentSheetResult param? |
We would like to provide the payment/setup intent as part of the success result, but we can't make that change without a major version release in the SDK. Beyond that, it's not quite so simple. There are cases where we don't have it, or it's not up to date. Your best option is to make the extra API call to get the up to date payment intent for now. |
Close |
Is your feature request related to a problem? Please describe.
For external payment type integration I should pass data to BE to notify which payment type was used for the specific transaction. Also I need to apply analytics for payment type.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: