iyzipay-ruby
iyzipay-ruby copied to clipboard
Convert price to string in format_price
To avoid NoMethodError (undefined method 'include?' for 3350.0:Float)
.
The documentation declares both price
and paidPrice
as Decimals. However, when passing Float to the gem, it raises NoMethodError
. format_price
method in pki_builder.rb
should convert floats to strings before performing include?
check.