creating Price object in stripe payment with customized interval

You can specify recurring.interval_count with recurring.interval to specify the number of intervals between subscription billings. For example, you could set interval=month and interval_count=6 to get a price that bills every 6 months. In your code, that would look like this:

price1 = stripe.Price.create(
        'interval': 'month',
        'interval_count': 6

Here’s the documentation for recurring.interval_count:

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top