#zuggie_api

1 messages ยท Page 1 of 1 (latest)

swift streamBOT
#

๐Ÿ‘‹ 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/1255093808157298711

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

hardy barn
#

๐Ÿ‘‹ happy to help

#

it's not possible to create a subscription that is paid in full when billing_cycle_anchor is used

candid aspen
#

Alright. Any tips on how I could achieve this then?

hardy barn
#

I suggest using billing_cycle_anchor with proration none and adding an add_invoice_item to the subscription, in Checkout Sessions this means you add a one-time price and a subscription that starts in the future

candid aspen
#

Alright let me try ๐Ÿ™‚

#

Can this still be done in checkout session btw?

hardy barn
#

yes

#

you create a Checkout Session in subscription mode

#

one price for the subscription and one for a one-time payment

candid aspen
#

Alright thanks

hardy barn
#

you set the billing cycle anchor to Jan 1st

#

and you specify proration_behavior none

swift streamBOT
candid aspen
#

You cannot set proration_behavior to none in a Checkout Session with one-time prices.

#

That's the error I'm getting

hardy barn
#

then you can use trial_period

ruby wing
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

candid aspen
#

Alright

candid aspen
#

So trial_period does the trick, but it's just unfortunate that the checkout page looks so wonky with both the subscription showing up with "free period" and one-time showing up. But if that's the only way, I guess that's how it is ๐Ÿ˜›