#litterboks_best-practices

1 messages Ā· Page 1 of 1 (latest)

meager nimbusBOT
#

šŸ‘‹ 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/1230844323659251752

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

random nimbusBOT
#

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.

quick bluff
#

What particular part of what you describe are you struggling with?

tepid plover
#

Hello!

#

I am making checkout sessions but there are only cards listed. I looked in the docs and it seems checkout sessions for subscriptions cannot have something like eps?

#

I don't know how to set up a checkout session that offers something like EPS and then just starts the subscription without a payment method, where at the end of the billing period stripe just sends an invoice

quick bluff
tepid plover
#

Is there any way to offer a user the possibility to instead get an invoice that they can pay with eps?

quick bluff
#

Not with Checkout no

#

You've a few options:

  • Create a non-Checkout flow which supports EPS
  • Use Checkout to start the subscription without payment details, and then collect them later before the trial ends
  • Setup EPS with Checkout and then start the subscription separately
tepid plover
#

I did not find an option in the checkout that allows not giving a payment method, did i overlook something?

quick bluff
tepid plover
#

How would i go about option3?

#

I imagine making a checkout which costs as much as the first billing period and then start a subscription thats free until after the first billing period?

quick bluff
#

The issue with EPS is it's a one-time PM – it can't be saved/setup so fundamentally it won't work with recurring payments

tepid plover
#

Yes but thats fine, the user would get an invoice every time the subscription ends and needs to pay via eps again

#

(or stores a card and everything will be booked from there)

quick bluff
#

You'd need to create a send_invoice subscription which will manually send an invocie to your customer for them to pay manually

#

But Checkout doesn't support sned_invoice subscriptions

tepid plover
#

I imagine something like
My subscription is 10€ per year.
The user pays 10€ in checkout.
I separately create a send_invoice subscription after the checkout is complete

#

I might need to make the subscription free for the first year then

#

because it is already paid by the checkout

quick bluff
#

I don't understand why you need to separate them that way? To collect the 10€ upfront?

meager nimbusBOT
tepid plover
#

yes, to be able to collect it upfront with eps

quick bluff
#

Then sure:

  • mode: 'payment' for 10€ payment with EPS
  • On receipt of checkout.session.completed event, create a subscription with collection_method: 'send_invoice' which will allow for your customer to pay manually via EPS on the hosted invoice page