lib/pagseguro/checkout.rb in pagseguro_next-1.0.1 vs lib/pagseguro/checkout.rb in pagseguro_next-1.0.2
- old
+ new
@@ -24,10 +24,10 @@
end if params.key?(:remote_ip)
items do
item do
id params[:id]
description { cdata(params[:description]) }
- amount format("%.2f", params[:amount].to_f)
+ amount format("%.2f", params[:amount])
quantity 1
end
end
shipping do
addressRequired false