#inv2004
1 messages · Page 1 of 1 (latest)
Hello inv2004, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• https://discord.com/channels/841573134531821608/1163910774889140286, 1 days ago, 26 messages
Can you provide more info about your usecase?
Hello, Yes,
We use the page: https://stripe.com/docs/elements/customer-sheet?platform=react-native
And I see the description on the page contains "...and set their default payment method stored locally on the device..."
The point is unclear - how to set "default" payment from the page?
Is it the blue mark near card?
Yes I believe so
In the case I have another question:
I set the 4242 default manually in Stripe dashboard, but clicking on the form on the right (with or without "Set up" after it) - does not change the default at all
That's what the docs are conveying, the mobile SDK doesn't have parity with the Stripe dashboard "default" payment method.
The default payment method on PaymentSheet is saved on the device. It doesn't set it as default on Stripe Customer
Can I ask you to point me into the doc? How to extract the payment method at least locally?
Because, I believe, we can set it like /api/set-default-payment-card by our own from app
When you say extract, do you mean just get the payment method ID?
Yes, exactly
Because I can switch the blue mark on the form, but I do not have any info (locally or in stripe) which card was selected
Is it for IOS only ?
I think same applies to android
but it's still in beta
are you enrolled in the beta?
I mean customer sheet beta for android sdk
I am a bit confused - we use 0.29.0 - is it still beta? Or the components is beta in 0.29.0 too ?
In the case - we use the component already (which is beta)
Gotcha. In the docs I see its still in beta. But the link I shared above should work for you
I am seeing this badge in the docs. You might not be seeing it if you're in the beta
We use react-native
Same for react native
This doc link should work for you though
https://stripe.com/docs/elements/customer-sheet?platform=react-native#react-native-get-selected-payment-method
It shows how you can get selected payment method
Does it mean that we use it - but it does not support the "set default" for now ?
Because I see exactly the same component on my screen now
If it possible that we use "non beta" which looks the same ?