yukon 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yukon/payment_processor.rb +6 -6
- data/lib/yukon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bba7f80222ef8f719c86ccb0d364357227559dc4
|
4
|
+
data.tar.gz: 2954392e9acea6b9c61c7c2c164ba3c625dff812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 673bf92bc7d6576962fa8ceabc4b198c93c0ff72821e9a91cfd5ce5ce0f5d8b8563159ae101921233ccb548648da74f25d86204c363fc6e6c94992fa044f44cb
|
7
|
+
data.tar.gz: be288d48b6f3bdc44fd0972273430960a95ac4cc2eff9556abe917b638a046778748dfff9117a75891f4d72d70c62bb64438d5d3789d1c517d8ba872c0ced154
|
@@ -5,12 +5,12 @@ module Yukon
|
|
5
5
|
# price (in cents), buyer_ip, return_url, cancel_return_url, seller_email, notify_url (optional), custom
|
6
6
|
def self.set_express_checkout(price, ip, return_url, cancel_return_url, seller_email, custom)
|
7
7
|
@gateway = gateway_instance_for(seller_email)
|
8
|
-
response = gateway.setup_purchase(price,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
response = @gateway.setup_purchase(price,
|
9
|
+
ip: ip,
|
10
|
+
return_url: return_url,
|
11
|
+
cancel_return_url: cancel_return_url,
|
12
|
+
allow_guest_checkout: true,
|
13
|
+
custom: custom)
|
14
14
|
response
|
15
15
|
end
|
16
16
|
|
data/lib/yukon/version.rb
CHANGED