lib/paykassa/pay.rb in paykassa-0.1.24 vs lib/paykassa/pay.rb in paykassa-0.1.25

- old
+ new

@@ -33,10 +33,10 @@ @token = api_key @_auth = {domain: domain, api_id: api_id, api_key: api_key, test: test} end def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:) data = { - amount: amount, + amount: amount.to_f, shop: shop, currency: currency, system: SYSTEM_IDS[system_name], paid_commision: paid_commision, number: number,