#devz_best-practices

1 messages ยท Page 1 of 1 (latest)

wary oreBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250081827029258250

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

dapper mortar
#

Must be here ? or in the backend ?

fierce crystalBOT
vagrant oxide
#

Hi there ๐Ÿ‘‹ are you building an integration that uses Stripe Billing with Subscriptions and/or Invoices? If not, setting default payment methods in Stripe likely won't do what you're after, and you'd want to track that a different way.

#

It will definitely need to be done via your backend if it is what you're after.

dapper mortar
#

Ijust want to add a payment method to an existing customer

#

And once added set that payment method as the default one

#

Before doing any payment

vagrant oxide
#

Are you using Stripe Billing with Subscriptions or Invoices?

dapper mortar
#

None

#

What do oyu mean by stripe Billing ?

vagrant oxide
#

I mean our product called Stripe Billing, which facilitates recurring payments. It's the product we offer that allows you to set default payment methods and use them. If you're not using Stripe Billing, you need to track what you consider to be a Customer's default payment method yourself.
https://stripe.com/billing

Stripe Billing is a recurring billing and subscription management software that automates revenue operations with reporting, dunning, and revenue recognition.

dapper mortar
#

Youre saying that i have to create a pyment method, and with that id attached to an user

#

updating the customer default aptment method with the id