Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

smartnathan's avatar

Laravel Cashier plan upgrade and downgrade not working

I setup a metered billing plan in stripe and am using laravel cashier. I am implemented upgrading and downgrading plan. But I get this error when trying to do trigger this account.

Stripe\Exception\InvalidRequestException When deleting the subscription item si_I1qMfLyevrfIii with a metered plan, all related usage records must be cleared too by setting 'clear_usage=true'.

0 likes
0 replies

Please or to participate in this conversation.