#xmnlab-subscription-bill-now

1 messages ยท Page 1 of 1 (latest)

willow crag
#

Hello ๐Ÿ‘‹
Give me a moment to catch up and I'll respond asap ๐Ÿ™‚ thanks

limber terrace
#

thank you so much. I appreciate that

willow crag
#

Thanks for waiting, how exactly are you changing the units? What API are you calling?
Can you share an example request ID?

willow crag
#

Are you trying to charge the user as soon as a usage record is created?

limber terrace
#

this is the configuration we are using:

"currency": "eur",
"active": True,
"tax_behavior": "exclusive",
"recurring": {
    "interval": "month",
    "interval_count": 1,
    "usage_type": "licensed",
},
"billing_scheme": "tiered",
"tiers_mode": "graduated",
"tiers": [
    {"up_to": 50, "unit_amount": 350, "flat_amount": 0},
    {"up_to": 150, "unit_amount": 300, "flat_amount": 0},
    {"up_to": "inf", "unit_amount": 250, "flat_amount": 0},
],
#

additionally, we are using python with stripe api and djstripe. also we are using stripe checkout

past relic
#

When you make the change, you can pass proration_behavior: 'always_invoice' to immediately invoice the difference

limber terrace
#

let me check, just a sec

#

nice thanks! got it, I will change to use that! thank you so much

#

appreciate that!