killbill-paypal-express 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/paypal_express/api.rb +2 -1
  4. data/pom.xml +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5a1f5e7be1c1fd1847e581363ad72fad2660bc7
4
- data.tar.gz: ddd1c2a7d5b4ff278db241eae49939f723dc2757
3
+ metadata.gz: 2b7fb22dbda2d0a91d38b6cf6c7e0ef78ee086cb
4
+ data.tar.gz: 329cd9d64c250e12041ef6fed4d0b113bf78de64
5
5
  SHA512:
6
- metadata.gz: a2a2f4b2c0e4fc185e0122e13d85d10f76ab4daae101f4b3bec56f5cddea2b0bd0e85d605048da9f2534b37e77442d95d803df1a92e16f3d7d83c306b7d977e1
7
- data.tar.gz: c5e06f1542acaf6a9a80ce717219acd7e8fafd2463b2cf3a263ef6058156a26ad998ccac382e561420a05af67f6e82eb76b9361e1b83900449a0fa85a9b661b9
6
+ metadata.gz: 48f828c955db873f4a3965e2b29d05ea3bd93b0493560c3c801b04fc3611bc7f831711148001cfa69c870346fa390c0e394269580e8386d41ed93ffd9d4c42a8
7
+ data.tar.gz: 536cb4aebae86bc32c6b37e3f6415614d49a9ae9c62b944bba0e620a8f3aafbff94677ad1bccca2a67da8aac4effa7e56af3ab631f002da3050f7c8ff6fe355b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.8.1
@@ -113,7 +113,8 @@ module Killbill #:nodoc:
113
113
  end
114
114
 
115
115
  def add_payment_method(kb_account_id, kb_payment_method_id, payment_method_props, set_default, properties, context)
116
- token = find_value_from_properties(properties, 'token')
116
+ # token is passed from the json body and not from the query params
117
+ token = (payment_method_props.properties.find { |kv| kv.key == 'token' }).value
117
118
  return false if token.nil?
118
119
 
119
120
  # Go to Paypal to get the Payer id (GetExpressCheckoutDetails call)
data/pom.xml CHANGED
@@ -26,7 +26,7 @@
26
26
  <groupId>org.kill-bill.billing.plugin.ruby</groupId>
27
27
  <artifactId>paypal-express-plugin</artifactId>
28
28
  <packaging>pom</packaging>
29
- <version>1.8.0</version>
29
+ <version>1.8.1</version>
30
30
  <name>paypal-express-plugin</name>
31
31
  <url>http://github.com/killbill/killbill-paypal-express-plugin</url>
32
32
  <description>Plugin for accessing Paypal Express Checkout as a payment gateway</description>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-paypal-express
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-21 00:00:00.000000000 Z
11
+ date: 2014-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: killbill