lib/paykassa.rb in paykassa-0.1.17 vs lib/paykassa.rb in paykassa-0.1.18
- old
+ new
@@ -40,15 +40,15 @@
@paykassa_pay.balance(shop: shop)
end
def rate(c_in, c_out)
@paykassa_pay.currency_rate(c_in, c_out)
end
- def get_order_address(amount: , currency:, order_id:, paid_commision: , comment: "from paykassa gem", system:)
+ def get_order_address(amount: , currency:, order_id:, paid_commission: , comment: "from paykassa gem", system:)
order = @paykassa_order.get_data( amount: amount,
currency: currency,
order_id: order_id,
phone: "false",
- paid_commission: paid_commision,
+ paid_commission: paid_commission,
comment: comment,
system: system
)
raise StandardError.new(order[:message]) if order[:error]
order