Stripe: 'updateProduct' can't set active to false

Keeping the ‘active’ checkbox in the ‘Update Product’ stripe action doesn’t set the product to inactive.

How to reproduce:

  1. Create update product stripe action in a server action
  2. Make sure the ‘Active’ checkbox is unchecked
  3. Result is:

    (Also checked in the stripe dashboard, the product is still active)

How to fix manually in code view:

  1. When you uncheck the checkbox in the ui, there’s no “active”: “false”
  2. Fix by adding this line manually in code view:
Community Page
Last updated: