#Jakub-Billing Cycle Anchor

1 messages ยท Page 1 of 1 (latest)

half flare
#

๐Ÿ‘‹ happy to help

#

unfortunately there's no direct way of setting the billing_cycle_anchor in the Checkout Sessions

humble storm
#

Thanks tarzan, using trial could be an option. We will look into it

half flare
#

another option would be to create the Subscription on the side and use the Checkout in setup mode to collect the payment method

humble storm
#

hmm, the issue with trial is that the language on the checkout page is then misleading (it says Pay and start trial). I guess the only way to change what the texts on checkout say is to go with custom components, right?

half flare
#

If you don't use Checkout then you could setup billing_cycle_anchor when creating your subscription and using Stripe Elements(Payment Element, Card Element, etc.)

humble storm
#

if we want to go with regular subscription API, the issue is that we would need to manually create the customer and product before payment, that means at least three separate API calls from our server to Stripe

  • await create customer
  • await create product
  • await create subscription
#

it doesn't make sense to create products beforehand (they are constantly changing)

it also doesn't make sense to create customers beforehand as only about 10% of all our customers would by a subscription

Or am I misunderstanding something?

half flare
humble storm
half flare
#

yes but you can do a generic Product that you could reuse

#

and the prices would be different