#anadev16_api

1 messages ยท Page 1 of 1 (latest)

charred badgerBOT
#

๐Ÿ‘‹ 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/1273034945081901128

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

tight berryBOT
#

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.

pseudo coral
#

it doesn't show other options, even when I have three payment methods saved for that customer

teal magnet
#

Hi there

pseudo coral
#

SO using Stripe, there is no way I can do something similar to this where I display all payment methods for them to pick

pseudo coral
#

That means I have to re-do the whole backend ๐Ÿ˜ซ

teal magnet
#

So currently, in Checkout, we'll prefill the customer's most recently saved card if that card has a valid billing address, billing name and billing email and if the PaymentMethod object has allow_redisplay: 'always'

pseudo coral
#

That means if they want to use the first card, they will need to manually input the information which will save another payment method with the same card information

teal magnet
#

which will save another payment method with the same card information
It will be saved but only available for re-use if the customer checks the "save my payment information for future purchases" box

pseudo coral
#

I understand that, but same issue. If the customer wants to use a previous card they won't be able to. Unless they manually input the card information again.

In the profile section for my app I'm displaying all payment methods, it is going to show a bunch a duplicate cards

teal magnet
#

Understand that it's messy. I'll share this feedback with our team

#

In your app's profile section, your logic that determines which payment methods to display can look at the PaymentMethod fingerprint. If the customer has multiple PaymentMethods that have the same underlying card details, the fingerprint values will match