#taykcrane_best-practices

1 messages ¡ Page 1 of 1 (latest)

urban coralBOT
#

👋 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/1270182098967199817

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

daring solstice
#

I'm afraid there is no-code solution to collect the payment method only, be it using Setup Intent or not.

A Stripe customer has to be created first, then using code to create a Checkout Session in setup mode (https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=stripe-hosted) or use Setup Intent directly (https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements) to collect and save a payment method.

Learn how to save payment details and charge your customers later.

Learn how to save payment details and charge your customers later.

fiery shoal
#

So you're saying it has to be done using the API? What if I created a payment link for a $0 product? If the payment is completed, wouldn't that effectively create the customer with default credit card?

#

@daring solstice

daring solstice
#

You will not be able to create a Payment Link with $0 product

#

Saving a payment method can only be done with API

fiery shoal
#

Thanks @daring solstice . Can you think of any other way that I can store a customer's default payment method without writing custom code to hit the Stripe API directly? Or am I completely shit outta luck?

daring solstice
fiery shoal
#

I see. So this is basically a way for a customer to self-manage their Customer account, can add their own payment methods, etc. I see how this could work, though it's a lot of extra steps that my customers have to jump through just to store a credit card on file.

#

Do I have that right @daring solstice ?