paykassa 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paykassa/order.rb +2 -2
- data/lib/paykassa/version.rb +1 -1
- data/lib/paykassa.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ca6c7d9fae130410993885a70ac79f73f0931ea070b3a2764930ebe0a4c5f60
|
4
|
+
data.tar.gz: 47ac9b82c7a7a72cdd3f6fa20bd98ac1f66c67883cafc8e4ae5c0c62d79f6604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bf84147032c2715e7aa57fa5516f1ad16559ef3085af263784147ce47e0936ac665e82e422cced940dd0cbd353c8992719babf66c15b903e3500d40b05769d6
|
7
|
+
data.tar.gz: c9f55bc8ff40546c6da604404833fbb7ae44e3e66c61bfe1e6b9b522425fdad726e414b49d008de5350fffe3f22e0426e48e59c099f5c38cafe17433aeaf94c7
|
data/lib/paykassa/order.rb
CHANGED
@@ -47,14 +47,14 @@ class PaykassaOrder
|
|
47
47
|
system: SYSTEM_IDS[system]
|
48
48
|
)
|
49
49
|
end
|
50
|
-
def get_data(amount: , currency:, order_id:,
|
50
|
+
def get_data(amount: , currency:, order_id:, paid_commission: , comment:, system:)
|
51
51
|
make_request(
|
52
52
|
func: :sci_create_order_get_data,
|
53
53
|
amount: amount,
|
54
54
|
currency: currency,
|
55
55
|
order_id: order_id,
|
56
56
|
phone: "false",
|
57
|
-
paid_commission:
|
57
|
+
paid_commission: paid_commission,
|
58
58
|
comment: comment,
|
59
59
|
system: SYSTEM_IDS[system]
|
60
60
|
)
|
data/lib/paykassa/version.rb
CHANGED
data/lib/paykassa.rb
CHANGED
@@ -42,12 +42,12 @@ module Paykassa
|
|
42
42
|
def rate(c_in, c_out)
|
43
43
|
@paykassa_pay.currency_rate(c_in, c_out)
|
44
44
|
end
|
45
|
-
def get_order_address(amount: , currency:, order_id:,
|
45
|
+
def get_order_address(amount: , currency:, order_id:, paid_commission: , comment: "from paykassa gem", system:)
|
46
46
|
order = @paykassa_order.get_data( amount: amount,
|
47
47
|
currency: currency,
|
48
48
|
order_id: order_id,
|
49
49
|
phone: "false",
|
50
|
-
paid_commission:
|
50
|
+
paid_commission: paid_commission,
|
51
51
|
comment: comment,
|
52
52
|
system: system
|
53
53
|
)
|