Why am I getting the "Cannot be Blank" error when using Chargebee's Cart-customization? How do we pass a quantity parameter when the multi decimal is enabled for a site?
Solution
Suppose Multi-decimal support is true, you may get the below error(screenshot) when you are trying to pass only a quantity parameter for per unit item_model.
This error occurs usually in cart_sub_create API.
As Multi_Decimal_Support is true you need to pass quantity_in_decimal parameter instead of quantity.
Was this article helpful?