#sofi-kry_customer-sheet-selected-pm
1 messages Β· Page 1 of 1 (latest)
π Welcome to your new thread!
β²οΈ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
β±οΈ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
π This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1341803320318099477
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Hm can you share 2 example payment method id's?
The one that is selected and the one that isn't
The one that's not selected I see was detached: https://dashboard.stripe.com/test/logs/req_igEVVEnW2saji4
Or did you do that after the fact?
That detach request was made on ~40 seconds after the PM was created though
No this is fine
Not sure it makes any difference, but one difference I notice in the response body of the request to POST /v1/payment_methods is that one has card country US and the other one IE, the rest seems to be exactly the same (except card specific details of course)
Yeah not sure if that would matter
In both cards' cases, you select the option to set as default?
Also do you have screenshots of the issue?
There's no option to set as default, the option is to save
Customers can add and remove payment methods, which get saved to the customer object, and set their default payment method stored locally on the device
I assumed that last bit was what you were talking about
mm I don't mean to store that locally
What do you mean by When displaying the customer sheet, the default payment method does not appear as selected when the card saved is "normal". then?
The customer does not have default payment method set
So I click Pay on my test screen, and it triggers the payment sheet as in the screenshot.
Then we have an option to manage your cards, which is the one that triggers the customer sheet
With our previous implementation, saving the card would also mark it as default, and that is still the case when I use the 3D secure card
Ok I think the terminology is getting confused then
The card isn't the default payment method
You're just confused why it's not being selected in the ui when it's the only payment method attached to the customer
Yes, but also why is it inconsistent?
Got it
My expectation is for the saved card to be selected as default if it's the only one
That's how it was working prior the migration
Maybe it's relevant to say that we're presenting the payment sheet before the intent creation, our setup is not the main one recommended.
In any case, I don't see why one case works and the other doesn't π€ The difference is that for the 3D secure we are confirming the intent, maybe it affects things somehow?
Hi π
I'm stepping in for my colleague as they need to go soon
I will need to leave soon as well
If you have to take off then I recommend writing in to Support so that we can debug this async and get back to you with a more detailed answer.
Could we continue here async? I can check later today if there's been any update
We don't handle threads async on Discord. This server is for real time chats. If it goes inactive for a period time (20-45 minutes) we close and lock the thread.
alright, I still have about 30 minutes before I need to leave
I can provide you with a link that will copy this thread into the support case and ensure it gets routed straight to us
Hello @bitter lintel, we have sent you a direct message, please check it at https://discord.com/channels/@me/1341817411543765154
- πThe message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Because we handle multiple threads here, it can be hard to dig into more complex integrations like Android. Having the support case will allow us to take the time to spin up a reproduction of your app's logic and validate the behavior you are seeing
alright, thank you
I wanted to circle back and let you know we've received your email and are already working on reproducing the behavior.