Skip to content

Error removing price on flexible subscription #1819

@Arkitecht

Description

@Arkitecht

Cashier Stripe Version

16.2

Laravel Version

11.48

PHP Version

8.3.21

Database Driver & Version

No response

Description

When trying to remove a metered price from a subscription that is using the new flexible billing mode, it throws the following error:

With billing_mode.type=flexible set on a subscription, the following parameters are not supported: clear_usage.

Steps To Reproduce

  1. Create a subscription in stripe, ensuring the billing type is the newer flexible type
  2. Add multiple products/prices, including one metered price
  3. Use cashiers removePrice method to remove the metered price

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions