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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/paypal_express/api.rb +2 -1
- data/pom.xml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b7fb22dbda2d0a91d38b6cf6c7e0ef78ee086cb
|
|
4
|
+
data.tar.gz: 329cd9d64c250e12041ef6fed4d0b113bf78de64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48f828c955db873f4a3965e2b29d05ea3bd93b0493560c3c801b04fc3611bc7f831711148001cfa69c870346fa390c0e394269580e8386d41ed93ffd9d4c42a8
|
|
7
|
+
data.tar.gz: 536cb4aebae86bc32c6b37e3f6415614d49a9ae9c62b944bba0e620a8f3aafbff94677ad1bccca2a67da8aac4effa7e56af3ab631f002da3050f7c8ff6fe355b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.8.
|
|
1
|
+
1.8.1
|
data/lib/paypal_express/api.rb
CHANGED
|
@@ -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
|
|
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.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2014-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: killbill
|