#trey_checkout-savedpm

1 messages ยท Page 1 of 1 (latest)

nova heathBOT
#

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

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

naive flower
#

I still see this page every time, even though theres these payment methods

winter haven
#

trey_checkout-savedpm

naive flower
winter haven
#

no

#

(it seems similar but they use a completely different way to integrate)

naive flower
#

Ah yeah no, nevermind. Yeah I see

#

good catch

winter haven
#

but every time I go to the page, I have to enter a NEW payment method each time instead of being able to select already added ones. Is this normal?
yes that's normal, we don't show existing PaymentMethods there. We do recommend using Link which is Stripe's wallet that saves card details. If you enable this a lot of your customer will save their card with us and have those pre-filled. See https://stripe.com/payments/link

Then when I go to the Customer Portal, under Payment Methods and there's lots. But they're all the same card details. I don't understand why it duplicates them (i am using customer_id).
You likely assume we are going to "de-duplicate" card details. Which is a fair assumption (lots of devs assume that). We don't and so every time a customer enters card details, it creates a new/separate PaymentMethod object even if it's the same card number
There are lots of reasons for this that I won't get into in details but unfortunately it's the current behaviour (but again using Link solves the issue in a way).

naive flower
#

Ah I see, thanks! I did see link but I didn't know if that was for different functionality since it's a third party app (at least I thought).

I'll look at link now, thanks for the amazingly quick support!

Have a great day, I think that's all ๐Ÿ™‚

winter haven
#

have a great day too ๐Ÿ™‚