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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9df111c353ed0832e178a6069adbc6e14eae5ccb
4
- data.tar.gz: 795282de6bc337b1de003133572711682865cc72
3
+ metadata.gz: 2fc58827400ceed67f98c7a445a5519c20102a46
4
+ data.tar.gz: 8047410099075c5ba2492c246c2b1ace80e99da7
5
5
  SHA512:
6
- metadata.gz: 97a84ff7b52ae2e9400787698c01dd411fc0e5ef024043943910409a16dacee9c3ddc578bb345db5db541bdf83d93eb1dceee7c5c2ec8f4491d3b8237b892dfd
7
- data.tar.gz: c34ff55fc8fec93beb2752d87b16dd41bb7924946eaf3fbb5662cd1b3b8eb8cc4c5a530401a4326c665bf646e91b67cc483060280d87f198e16e438732fb21f2
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
@@ -1,3 +1,3 @@
1
1
  module Yukon
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yukon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bala Paranj