Clarity on the "Save credit card" behavior #9520
Unanswered
carlos-prezzee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Stripe team 👋 ,
We are migrating to the Mobile Payment Elements on Android & iOS app and we have a miss match of behaviours in regards the "saved payment method"
We are following this mechanism, where we first collect the payment info and then we listen to the intent callback to create the payment intent on the server.
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android
We are also passing the ephemeral key secret as per the documentation. In fact, we are able to see the checkbox in the UI to save the payment method. But after the transaction is completed, we are unable to see the saved payment method on the UI and also not present in the customer in the Stripe Dashboard.
We do the same process on iOS using the same backend and it is working as expected.
A good call out is that we are not using (neither on iOS or Android) the value that the sdk returns
shouldSavePaymentMethod
Are we missing something on our android sdk to make this work? or something is missing on our backend.
When reading this part, it seems like the backend should setup
setup_future_usage
following the value shouldSavePaymentMethod? - If thats the case, why it works on iOS but not on Android,Would really appreciate your support,
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions