Keeping the ‘active’ checkbox in the ‘Update Product’ stripe action doesn’t set the product to inactive.
How to reproduce:
- Create update product stripe action in a server action
- Make sure the ‘Active’ checkbox is unchecked
- Result is:
(Also checked in the stripe dashboard, the product is still active)
How to fix manually in code view:
- When you uncheck the checkbox in the ui, there’s no “active”: “false”
- Fix by adding this line manually in code view:
Community Page
Last updated:
Last updated: