chubao
chubao

Reputation: 6011

How to set Stripe's subscription billing cycle to month end programmatically?

As title, I am using Django's djstripe library, but I cannot find a way to make subscription to be charged month-end easily.

By default, if I issue

subscription = customer.subscribe(
                plan_stripe_id,
                charge_immediately=False,
                quantity=quantity)

The subscription billing cycle would start at the time the code executes. I want the subscription to charge at month end.

Is it a limitation of djstripe and I need to use other stripe python library like stripe-python?

Upvotes: 0

Views: 276

Answers (1)

kavdev
kavdev

Reputation: 489

Yep, that's not implemented yet. Tracking here. Pull requests are welcomed.

Upvotes: 0

Related Questions