yukon 0.1.7 → 0.1.8
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 +5 -3
- 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: 2fc58827400ceed67f98c7a445a5519c20102a46
|
4
|
+
data.tar.gz: 8047410099075c5ba2492c246c2b1ace80e99da7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b912303b7ad6e267314bedde3625cca9696e0847ad8c5623290adcca6129ec9b8b8940764f849e80d53663a925de950cc66ad4d1bf9f2a6d662fe0a4856b5119
|
7
|
+
data.tar.gz: 50d72e2372ee88e5a0bd356f67ac88942dcb0c2409b9b92f726ec52c36b95b4ae37586ce724c828ce39c6ca87c77f5690b09198d1c0ac887d105e9cbcdc7ff88
|
@@ -1,12 +1,14 @@
|
|
1
1
|
module Yukon
|
2
2
|
class PaymentProcessor
|
3
3
|
# Step 1 : SetExpressCheckout
|
4
|
-
# price (in cents), buyer_ip, return_url, cancel_return_url, notify_url (optional)
|
5
|
-
def self.set_express_checkout(price, ip, return_url, cancel_return_url)
|
4
|
+
# price (in cents), buyer_ip, return_url, cancel_return_url, notify_url (optional), custom
|
5
|
+
def self.set_express_checkout(price, ip, return_url, cancel_return_url, custom)
|
6
6
|
response = express_gateway.setup_purchase(price,
|
7
7
|
ip: ip,
|
8
8
|
return_url: return_url,
|
9
|
-
cancel_return_url: cancel_return_url
|
9
|
+
cancel_return_url: cancel_return_url,
|
10
|
+
allow_guest_checkout: true,
|
11
|
+
custom: custom)
|
10
12
|
response
|
11
13
|
end
|
12
14
|
|
data/lib/yukon/version.rb
CHANGED