paypal-sdk-rest 1.1.2 → 1.1.3

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: 64580577ba28039271ce83f057b4c5e457ba3df2
4
- data.tar.gz: 4162c7393036b74495a9cceb0c1165b15b4caba5
3
+ metadata.gz: f5c7274698b9bb853894c15bc58b7396cef9607f
4
+ data.tar.gz: f897393c936db98771b3b07e747ae33044867be1
5
5
  SHA512:
6
- metadata.gz: 6d794393be3fe329832c6e341ede6919c0e1320753f2b13b25fc0c185f12f395fd1f538979c7b500acf7c57bbdf618bb43d70446b52e415204494d9b4486139b
7
- data.tar.gz: 10e2e6f6defce642818b0fcd8a691ed38c4baa9866e2c7177157afd4987f0a1c90f29df01551a214abaa624b2804e0847ec8c8b4f32973a808ac71ebcdec0912
6
+ metadata.gz: 8f14a3a24092aca8356609f67ee38a59a82e478746e0b058c779e21c94b9d7f3f8628a6a542a2fcc0783d664be66d0f8daf141384b7c3d906b3bb8a79f88e07b
7
+ data.tar.gz: 6ade26596828a8216ad4c340c7e0b376ecef2e7412fa62dd70352c3902d358fa18309100b46ad2e0e9e63226a5d3564092075e3c9bc7e8bc8d4fd2ea53bb985d
@@ -1,3 +1,5 @@
1
+ require 'paypal-sdk/rest/version'
2
+
1
3
  module PayPal::SDK::Core
2
4
 
3
5
  module API
@@ -154,7 +156,7 @@ module PayPal::SDK::Core
154
156
  end
155
157
 
156
158
  def user_agent
157
- @user_agent ||= "PayPalSDK/rest-sdk-ruby #{VERSION} (#{sdk_library_details})"
159
+ @user_agent ||= "PayPalSDK/rest-sdk-ruby #{PayPal::SDK::REST::VERSION} (#{sdk_library_details})"
158
160
  end
159
161
  end
160
162
  end
@@ -1,4 +1,5 @@
1
1
  require 'multi_json'
2
+ require 'paypal-sdk/rest/version'
2
3
 
3
4
  module PayPal::SDK
4
5
  module Core
@@ -39,7 +40,7 @@ module PayPal::SDK
39
40
 
40
41
  class << self
41
42
  def user_agent
42
- @user_agent ||= "PayPalSDK/openid-connect-ruby #{VERSION} (#{sdk_library_details})"
43
+ @user_agent ||= "PayPalSDK/openid-connect-ruby #{PayPal::SDK::REST::VERSION} (#{sdk_library_details})"
43
44
  end
44
45
  end
45
46
 
@@ -1,4 +1,5 @@
1
1
  require 'paypal-sdk-core'
2
+ require 'paypal-sdk/rest/version'
2
3
 
3
4
  module PayPal
4
5
  module SDK
@@ -12,7 +13,7 @@ module PayPal
12
13
 
13
14
  class << self
14
15
  def user_agent
15
- @user_agent ||= "PayPalSDK/PayPal-Ruby-SDK #{VERSION} (#{sdk_library_details})"
16
+ @user_agent ||= "PayPalSDK/PayPal-Ruby-SDK #{PayPal::SDK::REST::VERSION} (#{sdk_library_details})"
16
17
  end
17
18
  end
18
19
  end
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module REST
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
6
6
  end
7
7
  end
@@ -2,42 +2,40 @@ opening connection to api.sandbox.paypal.com:443...
2
2
  opened
3
3
  starting SSL for api.sandbox.paypal.com:443...
4
4
  SSL established
5
- <- "GET /v1/payments/payment/PAY-1234 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A015X68fQini6eYX0X2vgR9gjBZbITowpkOCLd7utsAScY4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.1.2 (paypal-sdk-core 1.1.2; ruby 2.1.2p95-x86_64-darwin13.0)\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nHost: api.sandbox.paypal.com\r\n\r\n"
6
- -> "HTTP/1.1 500 Internal Server Error\r\n"
5
+ <- "GET /v1/payments/payment/PAY-1234 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A015ZyrqDqUwads.muwOVYUAKx74DlwGYa04fIfu0xHAbW4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.1.3 (paypal-sdk-core 1.1.3; ruby 2.1.2p95-x86_64-darwin13.0)\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nHost: api.sandbox.paypal.com\r\n\r\n"
6
+ -> "HTTP/1.1 404 Not Found\r\n"
7
7
  -> "Server: Apache-Coyote/1.1\r\n"
8
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3002.slc.paypal.com;threadId=9428\r\n"
9
- -> "Paypal-Debug-Id: c76ddd041a814\r\n"
10
- -> "SERVER_INFO: paymentsplatformserv:v1.payments.payment&CalThreadId=2019&TopLevelTxnStartTime=14be1f4b5a7&Host=slcsbpaymentsplatformserv3001.slc.paypal.com&pid=22861\r\n"
8
+ -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=7182\r\n"
9
+ -> "Paypal-Debug-Id: e632ea9d7d8f6\r\n"
10
+ -> "SERVER_INFO: paymentsplatformserv:v1.payments.payment&CalThreadId=6491&TopLevelTxnStartTime=14c948cca8d&Host=slcsbpaymentsplatformserv3001.slc.paypal.com&pid=10160\r\n"
11
11
  -> "Content-Language: *\r\n"
12
- -> "Date: Tue, 03 Mar 2015 23:24:45 GMT\r\n"
13
- -> "Connection: close\r\n"
12
+ -> "Date: Tue, 07 Apr 2015 15:43:16 GMT\r\n"
14
13
  -> "Content-Type: application/json\r\n"
15
- -> "Content-Length: 212\r\n"
16
- -> "Connection: close\r\n"
14
+ -> "Content-Length: 207\r\n"
17
15
  -> "\r\n"
18
- reading 212 bytes...
19
- -> "{\"name\":\"INTERNAL_SERVICE_ERROR\",\"message\":\"An internal service error has occurred\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR\",\"debug_id\":\"c76ddd041a814\"}"
20
- read 212 bytes
21
- Conn close
16
+ reading 207 bytes...
17
+ -> "{\"name\":\"INVALID_RESOURCE_ID\",\"message\":\"The requested resource ID was not found\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#INVALID_RESOURCE_ID\",\"debug_id\":\"e632ea9d7d8f6\"}"
18
+ read 207 bytes
19
+ Conn keep-alive
22
20
  opening connection to api.sandbox.paypal.com:443...
23
21
  opened
24
22
  starting SSL for api.sandbox.paypal.com:443...
25
23
  SSL established
26
- <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A015X68fQini6eYX0X2vgR9gjBZbITowpkOCLd7utsAScY4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.1.2 (paypal-sdk-core 1.1.2; ruby 2.1.2p95-x86_64-darwin13.0)\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nHost: api.sandbox.paypal.com\r\nContent-Length: 2\r\n\r\n"
24
+ <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A015ZyrqDqUwads.muwOVYUAKx74DlwGYa04fIfu0xHAbW4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.1.3 (paypal-sdk-core 1.1.3; ruby 2.1.2p95-x86_64-darwin13.0)\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nHost: api.sandbox.paypal.com\r\nContent-Length: 2\r\n\r\n"
27
25
  <- "{}"
28
26
  -> "HTTP/1.1 400 Bad Request\r\n"
29
27
  -> "Server: Apache-Coyote/1.1\r\n"
30
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=383\r\n"
31
- -> "Paypal-Debug-Id: 847437cb1a3b5\r\n"
32
- -> "SERVER_INFO: paymentsplatformserv:v1.payments.payment&CalThreadId=39134&TopLevelTxnStartTime=14be1f4b70e&Host=slcsbpaymentsplatformserv3001.slc.paypal.com&pid=22861\r\n"
28
+ -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3002.slc.paypal.com;threadId=2269\r\n"
29
+ -> "Paypal-Debug-Id: 383fe0c9634bd\r\n"
30
+ -> "SERVER_INFO: paymentsplatformserv:v1.payments.payment&CalThreadId=468&TopLevelTxnStartTime=14c948cccca&Host=slcsbpaymentsplatformserv3002.slc.paypal.com&pid=22334\r\n"
33
31
  -> "Content-Language: *\r\n"
34
- -> "Date: Tue, 03 Mar 2015 23:24:45 GMT\r\n"
32
+ -> "Date: Tue, 07 Apr 2015 15:43:17 GMT\r\n"
35
33
  -> "Connection: close\r\n"
36
34
  -> "Content-Type: application/json\r\n"
37
35
  -> "Content-Length: 306\r\n"
38
36
  -> "Connection: close\r\n"
39
37
  -> "\r\n"
40
38
  reading 306 bytes...
41
- -> "{\"name\":\"VALIDATION_ERROR\",\"details\":[{\"field\":\"intent\",\"issue\":\"Required field missing\"},{\"field\":\"payer\",\"issue\":\"Required field missing\"}],\"message\":\"Invalid request - see details\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR\",\"debug_id\":\"847437cb1a3b5\"}"
39
+ -> "{\"name\":\"VALIDATION_ERROR\",\"details\":[{\"field\":\"intent\",\"issue\":\"Required field missing\"},{\"field\":\"payer\",\"issue\":\"Required field missing\"}],\"message\":\"Invalid request - see details\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR\",\"debug_id\":\"383fe0c9634bd\"}"
42
40
  read 306 bytes
43
41
  Conn close
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls