Error: item_prices[quantity][0] : This param should not be sent for on_off addon type
This error appears when you pass quantity for a flat fee non-recurring addon. Omit quantity and pass only the item price ID in item_prices[item_price_id][0]. That adds the addon to the subscription. For a unit-based addon, such as per-unit, tiered, volume, or stair-step, pass quantity to set the number of units.