#janbimmer_best-practices

1 messages ¡ Page 1 of 1 (latest)

steep shuttleBOT
lavish trailBOT
#

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.

steep shuttleBOT
#

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

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

compact mirage
steep shuttleBOT
limpid hemlock
#

I thought about setting up Recurring payments with

Charges on saved payment methods manually.
https://docs.stripe.com/recurring-payments

Thanks for your reply!
But the single payment products are not dependent on the subscription products. And there are also order without subscription items. I wanted to handle the checkout process as same as possible through the different cases

Understand your options for charging customers on a recurring basis.

spare elk
#

I assume you're using Stripe Checkout. You will need to check if the customer picks any Subscription items, and then create the Checkout Session with mode=subscription. You can still add one-time line_items, in addition to recurring Prices.

limpid hemlock
#

no, I use a self hostet solution based on Django / Python and Angular

spare elk
#

Okay, in that case, depending if they pick a recurring Price or a one-time Price, you will either need to create a Subscription, or a PaymentIntent/one-off Invoice, respectively. If there's a mix of one-time and recurring Prices, create a Subscription with add_invoice_items.

limpid hemlock
#

okay, thank you!

spare elk
#

Happy to help.