Closed chrisgan closed 3 months ago
Describe the bug
If the value of a given tax rate is a decimal (non whole) number, e.g. 25.5 then the payment method does not support it.
Steps to Reproduce
Set Tax Rate to 25.5 and place an order using the payment method
Expected behaviour
The Tax Rate can be a decimal value, checkout can be completed, and the tax rate is correctly used as a decimal value
Actual behaviour
The Tax Rate can not be a decimal value as it is assumed it is an integer value.
Additional context
Requires fix to the SDK to support this change. https://github.com/paytrail/paytrail-php-sdk/issues/94
Released in 2.1.0
Describe the bug
If the value of a given tax rate is a decimal (non whole) number, e.g. 25.5 then the payment method does not support it.
Steps to Reproduce
Set Tax Rate to 25.5 and place an order using the payment method
Expected behaviour
The Tax Rate can be a decimal value, checkout can be completed, and the tax rate is correctly used as a decimal value
Actual behaviour
The Tax Rate can not be a decimal value as it is assumed it is an integer value.
Additional context
Requires fix to the SDK to support this change. https://github.com/paytrail/paytrail-php-sdk/issues/94