paypal-sdk-rest 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,137 +0,0 @@
1
- opening connection to api.sandbox.paypal.com:443...
2
- opened
3
- starting SSL for api.sandbox.paypal.com:443...
4
- SSL established
5
- <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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: 286\r\n\r\n"
6
- <- "{\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"4567516310777851\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}}]},\"transactions\":[{\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"}}]}"
7
- -> "HTTP/1.1 201 Created\r\n"
8
- -> "Date: Tue, 17 May 2016 15:20:07 GMT\r\n"
9
- -> "Server: Apache\r\n"
10
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=387\r\n"
11
- -> "Paypal-Debug-Id: ede97386af3df\r\n"
12
- -> "CORRELATION-ID: ede97386af3df\r\n"
13
- -> "Content-Language: *\r\n"
14
- -> "Paypal-Debug-Id: ede97386af3df\r\n"
15
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D2805349207%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 17 May 2016 15:50:13 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
16
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
17
- -> "Vary: Authorization\r\n"
18
- -> "Content-Length: 1246\r\n"
19
- -> "Connection: close\r\n"
20
- -> "Content-Type: application/json\r\n"
21
- -> "\r\n"
22
- reading 1246 bytes...
23
- -> "{\"id\":\"PAY-9V789118YM7812019K45TNJY\",\"create_time\":\"2016-05-17T15:20:07Z\",\"update_time\":\"2016-05-17T15:20:13Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx7851\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}}]},\"transactions\":[{\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"7.47\"}},\"related_resources\":[{\"sale\":{\"id\":\"06K74981TV6752133\",\"create_time\":\"2016-05-17T15:20:07Z\",\"update_time\":\"2016-05-17T15:20:13Z\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"state\":\"completed\",\"parent_payment\":\"PAY-9V789118YM7812019K45TNJY\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/06K74981TV6752133\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/06K74981TV6752133/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-9V789118YM7812019K45TNJY\",\"rel\":\"parent_payment\",\"method\":\"GET\"}],\"fmf_details\":{},\"processor_response\":{\"avs_code\":\"X\",\"cvv_code\":\"M\"}}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-9V789118YM7812019K45TNJY\",\"rel\":\"self\",\"method\":\"GET\"}]}"
24
- read 1246 bytes
25
- Conn close
26
- opening connection to api.sandbox.paypal.com:443...
27
- opened
28
- starting SSL for api.sandbox.paypal.com:443...
29
- SSL established
30
- <- "GET /v1/payments/payment?count=10 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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"
31
- Conn close because of error Net::ReadTimeout, and retry
32
- opening connection to api.sandbox.paypal.com:443...
33
- opened
34
- starting SSL for api.sandbox.paypal.com:443...
35
- SSL established
36
- <- "GET /v1/payments/payment?count=10 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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"
37
- Conn close because of error Net::ReadTimeout
38
- Conn close because of error Net::ReadTimeout
39
- opening connection to api.sandbox.paypal.com:443...
40
- opened
41
- starting SSL for api.sandbox.paypal.com:443...
42
- SSL established
43
- <- "POST /v1/vault/credit-card HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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: 138\r\n\r\n"
44
- <- "{\"type\":\"visa\",\"number\":\"4111111111111111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"cvv2\":\"874\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}"
45
- -> "HTTP/1.1 201 Created\r\n"
46
- -> "Date: Tue, 17 May 2016 15:21:15 GMT\r\n"
47
- -> "Server: Apache\r\n"
48
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=297\r\n"
49
- -> "Paypal-Debug-Id: f84159017528\r\n"
50
- -> "Content-Language: *\r\n"
51
- -> "CORRELATION-ID: f84159017528\r\n"
52
- -> "Paypal-Debug-Id: f84159017528\r\n"
53
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D3946199895%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 17 May 2016 15:51:15 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
54
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
55
- -> "Vary: Authorization\r\n"
56
- -> "Content-Length: 667\r\n"
57
- -> "Connection: close\r\n"
58
- -> "Content-Type: application/json\r\n"
59
- -> "\r\n"
60
- reading 667 bytes...
61
- -> "{\"id\":\"CARD-6N576179K77686748K45TN2Y\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"valid_until\":\"2019-05-17T00:00:00Z\",\"create_time\":\"2016-05-17T15:21:15Z\",\"update_time\":\"2016-05-17T15:21:15Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"delete\",\"method\":\"DELETE\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"patch\",\"method\":\"PATCH\"}]}"
62
- read 667 bytes
63
- Conn close
64
- opening connection to api.sandbox.paypal.com:443...
65
- opened
66
- starting SSL for api.sandbox.paypal.com:443...
67
- SSL established
68
- <- "GET /v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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"
69
- -> "HTTP/1.1 200 OK\r\n"
70
- -> "Date: Tue, 17 May 2016 15:21:15 GMT\r\n"
71
- -> "Server: Apache\r\n"
72
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=405\r\n"
73
- -> "Paypal-Debug-Id: 52ae16e64c8fd\r\n"
74
- -> "Content-Language: *\r\n"
75
- -> "CORRELATION-ID: 52ae16e64c8fd\r\n"
76
- -> "Paypal-Debug-Id: 52ae16e64c8fd\r\n"
77
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D3946199895%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 17 May 2016 15:51:15 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
78
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
79
- -> "Vary: Authorization\r\n"
80
- -> "Content-Length: 667\r\n"
81
- -> "Connection: close\r\n"
82
- -> "Content-Type: application/json\r\n"
83
- -> "\r\n"
84
- reading 667 bytes...
85
- -> "{\"id\":\"CARD-6N576179K77686748K45TN2Y\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"valid_until\":\"2019-05-17T00:00:00Z\",\"create_time\":\"2016-05-17T15:21:15Z\",\"update_time\":\"2016-05-17T15:21:15Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"delete\",\"method\":\"DELETE\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-6N576179K77686748K45TN2Y\",\"rel\":\"patch\",\"method\":\"PATCH\"}]}"
86
- read 667 bytes
87
- Conn close
88
- opening connection to api.sandbox.paypal.com:443...
89
- opened
90
- starting SSL for api.sandbox.paypal.com:443...
91
- SSL established
92
- <- "GET /v1/payments/payment/PAY-1234 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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"
93
- -> "HTTP/1.1 404 Not Found\r\n"
94
- -> "Date: Tue, 17 May 2016 15:21:15 GMT\r\n"
95
- -> "Server: Apache\r\n"
96
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3002.slc.paypal.com;threadId=2430\r\n"
97
- -> "Paypal-Debug-Id: 3079cb3d8b4e9\r\n"
98
- -> "CORRELATION-ID: 3079cb3d8b4e9\r\n"
99
- -> "Content-Language: *\r\n"
100
- -> "Paypal-Debug-Id: 3079cb3d8b4e9\r\n"
101
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D3946199895%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 17 May 2016 15:51:15 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
102
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
103
- -> "Vary: Authorization\r\n"
104
- -> "Content-Length: 207\r\n"
105
- -> "Connection: close\r\n"
106
- -> "Content-Type: application/json\r\n"
107
- -> "\r\n"
108
- reading 207 bytes...
109
- -> "{\"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\":\"3079cb3d8b4e9\"}"
110
- read 207 bytes
111
- Conn close
112
- opening connection to api.sandbox.paypal.com:443...
113
- opened
114
- starting SSL for api.sandbox.paypal.com:443...
115
- SSL established
116
- <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A101.18IAucwOjQn9_pL6ONrReDqlAkcfWYdfN0UJRn3jF7jy8Ga13rii7BChzdzf2_O9.IDON1JeEyStTPouWzu2pymYY0kK\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.3.0p0-x86_64-darwin15;OpenSSL 1.0.2g 1 Mar 2016)\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"
117
- <- "{}"
118
- -> "HTTP/1.1 500 Internal Server Error\r\n"
119
- -> "Date: Tue, 17 May 2016 15:21:16 GMT\r\n"
120
- -> "Server: Apache\r\n"
121
- -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=363\r\n"
122
- -> "Paypal-Debug-Id: 4c3cf48b83806\r\n"
123
- -> "CORRELATION-ID: 4c3cf48b83806\r\n"
124
- -> "Content-Language: *\r\n"
125
- -> "Connection: close\r\n"
126
- -> "Connection: close\r\n"
127
- -> "Paypal-Debug-Id: 4c3cf48b83806\r\n"
128
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D3962977111%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 17 May 2016 15:51:16 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
129
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
130
- -> "Vary: Authorization\r\n"
131
- -> "Content-Length: 212\r\n"
132
- -> "Content-Type: application/json\r\n"
133
- -> "\r\n"
134
- reading 212 bytes...
135
- -> "{\"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\":\"4c3cf48b83806\"}"
136
- read 212 bytes
137
- 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.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls