You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I put 0 as value of vat_percentage. But I got exception: GingerPluginSdk\Exceptions\OutOfDiapasonException: Value of the property vat_percentage out of diapason, the input value is 0 : should be greater than 1, and less then 10000. in GingerPluginSdk\Properties\VatPercentage->validate() (line 40 of modules/contrib/custom_drupal_commerce/vendor/gingerpayments/ginger-plugin-sdk/src/Properties/VatPercentage.php).
As I know, the statement "should be greater than 1, and less then 10000." isn't correct. According this article about order line, vat_percentage should be >= 0 and <= 10000
Validation of vat_percentage occur in Properties\VatPercentage in method validate($value). Is it possible to change min value to 0?
The text was updated successfully, but these errors were encountered:
Hello,
I put 0 as value of
vat_percentage
. But I got exception:GingerPluginSdk\Exceptions\OutOfDiapasonException: Value of the property
vat_percentageout of diapason, the input value is 0 : should be greater than 1, and less then 10000. in GingerPluginSdk\Properties\VatPercentage->validate() (line 40 of modules/contrib/custom_drupal_commerce/vendor/gingerpayments/ginger-plugin-sdk/src/Properties/VatPercentage.php).
As I know, the statement "should be greater than 1, and less then 10000." isn't correct. According this article about order line,
vat_percentage
should be >= 0 and <= 10000Validation of
vat_percentage
occur in Properties\VatPercentage in methodvalidate($value)
. Is it possible to change min value to 0?The text was updated successfully, but these errors were encountered: