#johnd_best-practices

1 messages ¡ Page 1 of 1 (latest)

tiny gorgeBOT
#

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

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

distant portal
#

Subscriptions are built on Invoices, which are built on paymentintents, which are built on charges. If you create a subscription, it will create invoices, which have paymentintents, which have charges. If you create an invoice, it will have a payment intent and charge associated as long as the amount is > 0. If you create a payment intent, it will have a charge but not an invoice. If you create a charge, there will be nothing else created

burnt tiger
#

what is the the best moment to create an invoice without subscription? For me i thought the best is when user fulfills sucessfully the paymentintent and charge is received as successful.

#

can i have an invoice without subscription?

distant portal
#

what is the the best moment to create an invoice without subscription? For me i thought the best is when user fulfills sucessfully the paymentintent and charge is received as successful.
depends on your integration and your goals

#

yes absolutely

#

Creating a payment intent doesn't create an invoice (as i stated above)

#

So if you need both, I recommend just creating the invoice

#

That'll create both