paypal-sdk-core 0.2.6 → 0.2.7

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: f5756a1dfda1dd82a085e6c97289a48d0a60bb99
4
- data.tar.gz: b55a8713d8c4a7b13beeb9c723ed8e535292cba7
3
+ metadata.gz: 38d10248b0b55b5c6d5ed7f2962e53ede4775e07
4
+ data.tar.gz: 5ff4db1dbdeec3cac008378cd5a5570815551ef0
5
5
  SHA512:
6
- metadata.gz: c49fabf85efddaf2774a719531ba6978d5bcd17c479d5509c6174192aca18f7cca024ec6b1bbc419595f118e4b50d0d4390f39fbf7b1577aa525471b6519fccd
7
- data.tar.gz: 3d13c520c8a65f4e9705c7bf8739a7139644aa7c7f52306fe11a8ae18837e8be80cdded657d538efd4a4041b0e24aa0411edd632b5893c11c3aed34d38ca0437
6
+ metadata.gz: 4b61cfdaadb4dcc9b237db1b06a26fedf05dab089f8c2d801fef6573bda96e38abee4df7e2e65dc507378087079636d3d6fc196185ea1b7a408196adec168009
7
+ data.tar.gz: fc26d99ca5cc06980bcf195be9f1af6ae776ac1f33279915cbe2529e940de28c9e334d3d1e6a6b38c0f1a1a4922495ed868482cdeda3955cb0172c6f543005a9
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,6 @@
1
+ Version 0.2.7 - Dec 30, 2013
2
+ - Added account_creation_date attribute to Userinfo
3
+
1
4
  Version 0.2.6 - Aug 30, 2013
2
5
  - Added license name as "PayPal SDK License"
3
6
  - Generate sandbox urls for openid connect
@@ -37,6 +37,7 @@ module PayPal::SDK::Core
37
37
  object_of :address, Address
38
38
  object_of :verified_account, Boolean
39
39
  object_of :account_type, String
40
+ object_of :account_creation_date, String
40
41
  object_of :age_range, String
41
42
  object_of :payer_id, String
42
43
  end
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module Core
4
- VERSION = "0.2.6"
4
+ VERSION = "0.2.7"
5
5
  end
6
6
  end
7
7
  end
@@ -2,43 +2,47 @@ 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
- <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer jHPsUnuwb9F1xzqb8f0CYGhfpus5tv5cGtoJXbrQRo0\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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: 286\r\n\r\n"
5
+ <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer 07Fwa17vwysEHia1qM5Jeb-pMPk-5-uhygVx5lnP4ZU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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: 286\r\n\r\n"
6
6
  <- "{\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"4417119669820331\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}}]},\"transactions\":[{\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"}}]}"
7
7
  -> "HTTP/1.1 201 Created\r\n"
8
8
  -> "Server: Apache-Coyote/1.1\r\n"
9
- -> "Date: Fri, 30 Aug 2013 04:58:46 GMT\r\n"
10
- -> "PayPal-Debug-Id: 589de4de60393\r\n"
9
+ -> "PROXY_SERVER_INFO: host=slcsbjava4.slc.paypal.com;threadId=279\r\n"
10
+ -> "Paypal-Debug-Id: 57a12fe873ac0\r\n"
11
+ -> "Content-Language: *\r\n"
12
+ -> "Date: Mon, 30 Dec 2013 10:33:30 GMT\r\n"
11
13
  -> "Content-Type: application/json\r\n"
12
14
  -> "Content-Length: 1176\r\n"
13
15
  -> "\r\n"
14
16
  reading 1176 bytes...
15
- -> "{\"id\":\"PAY-0DS51393N4328690CKIQCNAA\",\"create_time\":\"2013-08-30T04:58:40Z\",\"update_time\":\"2013-08-30T04:58:46Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"74E51272GK930880A\",\"create_time\":\"2013-08-30T04:58:40Z\",\"update_time\":\"2013-08-30T04:58:46Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-0DS51393N4328690CKIQCNAA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/74E51272GK930880A\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/74E51272GK930880A/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0DS51393N4328690CKIQCNAA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0DS51393N4328690CKIQCNAA\",\"rel\":\"self\",\"method\":\"GET\"}]}"
17
+ -> "{\"id\":\"PAY-5X9170549A274713NKLAUX4I\",\"create_time\":\"2013-12-30T10:33:21Z\",\"update_time\":\"2013-12-30T10:33:30Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"36V15352Y6561663N\",\"create_time\":\"2013-12-30T10:33:21Z\",\"update_time\":\"2013-12-30T10:33:30Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-5X9170549A274713NKLAUX4I\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/36V15352Y6561663N\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/36V15352Y6561663N/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-5X9170549A274713NKLAUX4I\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-5X9170549A274713NKLAUX4I\",\"rel\":\"self\",\"method\":\"GET\"}]}"
16
18
  read 1176 bytes
17
19
  Conn keep-alive
18
20
  opening connection to api.sandbox.paypal.com:443...
19
21
  opened
20
22
  starting SSL for api.sandbox.paypal.com:443...
21
23
  SSL established
22
- <- "GET /v1/payments/payment?count=10 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer jHPsUnuwb9F1xzqb8f0CYGhfpus5tv5cGtoJXbrQRo0\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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"
24
+ <- "GET /v1/payments/payment?count=10 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer 07Fwa17vwysEHia1qM5Jeb-pMPk-5-uhygVx5lnP4ZU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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"
23
25
  -> "HTTP/1.1 200 OK\r\n"
24
26
  -> "Server: Apache-Coyote/1.1\r\n"
25
- -> "Date: Fri, 30 Aug 2013 04:58:52 GMT\r\n"
26
- -> "PayPal-Debug-Id: e55d5eb26e410\r\n"
27
+ -> "PROXY_SERVER_INFO: host=slcsbjava1.slc.paypal.com;threadId=175\r\n"
28
+ -> "Paypal-Debug-Id: eeb15883768d4\r\n"
29
+ -> "Content-Language: *\r\n"
30
+ -> "Date: Mon, 30 Dec 2013 10:33:36 GMT\r\n"
27
31
  -> "Content-Type: application/json\r\n"
28
32
  -> "Transfer-Encoding: chunked\r\n"
29
33
  -> "\r\n"
30
34
  -> "2000\r\n"
31
35
  reading 8192 bytes...
32
- -> "{\"payments\":[{\"id\":\"PAY-0DS51393N4328690CKIQCNAA\",\"create_time\":\"2013-08-30T04:58:40Z\",\"update_time\":\"2013-08-30T04:58:46Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"74E51272GK930880A\",\"create_time\":\"2013-08-30T04:58:40Z\",\"update_time\":\"2013-08-30T04:58:46Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-0DS51393N4328690CKIQCNAA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/74E51272GK930880A\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/74E51272GK930880A/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0DS51393N4328690CKIQCNAA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0DS51393N4328690CKIQCNAA\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-8R3930959K916330AKIQCHTI\",\"create_time\":\"2013-08-30T04:47:09Z\",\"update_time\":\"2013-08-30T04:47:11Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx5786\",\"expire_month\":\"6\",\"expire_year\":\"2018\",\"first_name\":\"sdfsd\",\"last_name\":\"dsfds\",\"billing_address\":{\"line1\":\"fdgg\",\"line2\":\".\",\"city\":\"dfgdf\",\"state\":\"Alabama\",\"postal_code\":\"65755\",\"country_code\":\"US\"}}}]},\"transactions\":[{\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"10.00\"}},\"description\":\"Registration Fee\",\"related_resources\":[{\"sale\":{\"id\":\"69109919WG6952913\",\"create_time\":\"2013-08-30T04:47:09Z\",\"update_time\":\"2013-08-30T04:47:11Z\",\"state\":\"completed\",\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-8R3930959K916330AKIQCHTI\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/69109919WG6952913\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/69109919WG6952913/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8R3930959K916330AKIQCHTI\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8R3930959K916330AKIQCHTI\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-7V779851CS505440NKIQCEZA\",\"create_time\":\"2013-08-30T04:41:08Z\",\"update_time\":\"2013-08-30T04:41:13Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"96F496368T369135V\",\"create_time\":\"2013-08-30T04:41:08Z\",\"update_time\":\"2013-08-30T04:41:13Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-7V779851CS505440NKIQCEZA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/96F496368T369135V\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/96F496368T369135V/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-7V779851CS505440NKIQCEZA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-7V779851CS505440NKIQCEZA\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-8EB278863A474793XKIQCEUY\",\"create_time\":\"2013-08-30T04:40:51Z\",\"update_time\":\"2013-08-30T04:40:56Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"85S03372X92215335\",\"create_time\":\"2013-08-30T04:40:51Z\",\"update_time\":\"2013-08-30T04:40:56Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-8EB278863A474793XKIQCEUY\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/85S03372X92215335\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/85S03372X92215335/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8EB278863A474793XKIQCEUY\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8EB278863A474793XKIQCEUY\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-0V627461U2870004WKIQCEJQ\",\"create_time\":\"2013-08-30T04:40:06Z\",\"update_time\":\"2013-08-30T04:40:11Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"0KG78962BM6495242\",\"create_time\":\"2013-08-30T04:40:06Z\",\"update_time\":\"2013-08-30T04:40:11Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-0V627461U2870004WKIQCEJQ\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/0KG78962BM6495242\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/0KG78962BM6495242/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0V627461U2870004WKIQCEJQ\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0V627461U2870004WKIQCEJQ\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-90X56842U2631360MKIQCEGA\",\"create_time\":\"2013-08-30T04:39:52Z\",\"update_time\":\"2013-08-30T04:39:57Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"9J7951070U078951M\",\"create_time\":\"2013-08-30T04:39:52Z\",\"update_time\":\"2013-08-30T04:39:57Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-90X56842U2631360MKIQCEGA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/9J7951070U078951M\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/9J7951070U078951M/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-90X56842U2631360MKIQCEGA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-90X56842U2631360MKIQCEGA\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-68T340036C311945NKIQCEEI\",\"create_time\":\"2013-08-30T04:39:45Z\",\"update_time\":\"2013-08-30T04:39:50Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"4NR050459C704525B\",\"create_time\":\"2013-08-30T04:39:45Z\",\"update_time\":\"2013-08-30T04:39:50Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-68T340036C311945NKIQCEEI\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/4NR050459C704525B\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/4NR050459C704525B/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payme"
36
+ -> "{\"payments\":[{\"id\":\"PAY-5X9170549A274713NKLAUX4I\",\"create_time\":\"2013-12-30T10:33:21Z\",\"update_time\":\"2013-12-30T10:33:30Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"36V15352Y6561663N\",\"create_time\":\"2013-12-30T10:33:21Z\",\"update_time\":\"2013-12-30T10:33:30Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-5X9170549A274713NKLAUX4I\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/36V15352Y6561663N\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/36V15352Y6561663N/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-5X9170549A274713NKLAUX4I\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-5X9170549A274713NKLAUX4I\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-82Y33697456641121KLAUWCI\",\"create_time\":\"2013-12-30T10:29:29Z\",\"update_time\":\"2013-12-30T10:29:37Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"4YN645464D8147232\",\"create_time\":\"2013-12-30T10:29:29Z\",\"update_time\":\"2013-12-30T10:29:37Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-82Y33697456641121KLAUWCI\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/4YN645464D8147232\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/4YN645464D8147232/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-82Y33697456641121KLAUWCI\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-82Y33697456641121KLAUWCI\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-3RW99138WA726061MKLAUUJQ\",\"create_time\":\"2013-12-30T10:25:42Z\",\"update_time\":\"2013-12-30T10:25:51Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card_token\":{\"credit_card_id\":\"CARD-5MY32504F4899612AKIHAQHY\",\"last4\":\"0331\",\"type\":\"visa\",\"expire_month\":\"11\",\"expire_year\":\"2018\"}}]},\"transactions\":[{\"amount\":{\"total\":\"7.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"5.00\",\"tax\":\"1.00\",\"shipping\":\"1.00\"}},\"description\":\"This is the payment transaction description.\",\"item_list\":{\"items\":[{\"name\":\"Item Name\",\"sku\":\"sku\",\"price\":\"1.00\",\"currency\":\"USD\",\"quantity\":\"5\"}]},\"related_resources\":[{\"sale\":{\"id\":\"16829121WB491983J\",\"create_time\":\"2013-12-30T10:25:42Z\",\"update_time\":\"2013-12-30T10:25:51Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.00\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-3RW99138WA726061MKLAUUJQ\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/16829121WB491983J\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/16829121WB491983J/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-3RW99138WA726061MKLAUUJQ\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-3RW99138WA726061MKLAUUJQ\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-662396545G397901LKLAUT5Y\",\"create_time\":\"2013-12-30T10:24:55Z\",\"update_time\":\"2013-12-30T10:25:38Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"email\":\"anpm.8917@gmail.com\",\"first_name\":\"amanda\",\"last_name\":\"phan\",\"payer_id\":\"5WMH5RVVRYSLS\",\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"10.00\"}},\"description\":\"Upgrade Vip\",\"related_resources\":[{\"sale\":{\"id\":\"11W60593NE206751E\",\"create_time\":\"2013-12-30T10:24:55Z\",\"update_time\":\"2013-12-30T10:25:38Z\",\"state\":\"completed\",\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-662396545G397901LKLAUT5Y\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/11W60593NE206751E\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/11W60593NE206751E/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-662396545G397901LKLAUT5Y\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-662396545G397901LKLAUT5Y\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-1014168854051690GKLAUT4A\",\"create_time\":\"2013-12-30T10:24:48Z\",\"update_time\":\"2013-12-30T10:24:48Z\",\"state\":\"created\",\"intent\":\"authorize\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"122.00\",\"currency\":\"SEK\",\"details\":{\"subtotal\":\"80.00\",\"tax\":\"30.00\",\"shipping\":\"12.00\"}},\"item_list\":{\"items\":[{\"name\":\"Article 01\",\"price\":\"40.00\",\"currency\":\"SEK\",\"quantity\":\"1\"},{\"name\":\"Article 02\",\"price\":\"20.00\",\"currency\":\"SEK\",\"quantity\":\"2\"}]},\"related_resources\":[{\"authorization\":{\"create_time\":\"2013-12-30T10:24:48Z\",\"update_time\":\"2013-12-30T10:24:48Z\",\"parent_payment\":\"PAY-1014168854051690GKLAUT4A\",\"valid_until\":\"2014-01-28T10:24:48Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1014168854051690GKLAUT4A\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1014168854051690GKLAUT4A\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-6TS47711SB4043631\",\"rel\":\"approval_url\",\"method\":\"REDIRECT\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1014168854051690GKLAUT4A/execute\",\"rel\":\"execute\",\"method\":\"POST\"}]},{\"id\":\"PAY-01S17951BA299180XKLAUPHY\",\"create_time\":\"2013-12-30T10:14:55Z\",\"update_time\":\"2013-12-30T10:14:55Z\",\"state\":\"created\",\"intent\":\"authorize\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"122.00\",\"currency\":\"SEK\",\"details\":{\"subtotal\":\"80.00\",\"tax\":\"30.00\",\"shipping\":\"12.00\"}},\"item_list\":{\"items\":[{\"name\":\"Article 01\",\"price\":\"40.00\",\"currency\":\"SEK\",\"quantity\":\"1\"},{\"name\":\"Article 02\",\"price\":\"20.00\",\"currency\":\"SEK\",\"quantity\":\"2\"}]},\"related_resources\":[{\"authorization\":{\"create_time\":\"2013-12-30T10:14:55Z\",\"update_time\":\"2013-12-30T10:14:55Z\",\"parent_payment\":\"PAY-01S17951BA299180XKLAUPHY\",\"valid_until\":\"2014-01-28T10:14:55Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-01S17951BA299180XKLAUPHY\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-01S17951BA299180XKLAUPHY\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-4AN44515TH952972L\",\"rel\":\"approval_url\",\"method\":\"REDIRECT\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-01S17951BA299180XKLAUPHY/execute\",\"rel\":\"execute\",\"method\":\"POST\"}]},{\"id\":\"PAY-2DL31960M4754554WKLAUN6Y\",\"create_time\":\"2013-12-30T10:12:11Z\",\"update_time\":\"2013-12-30T10:12:11Z\",\"state\":\"created\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"15.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"15.00\"}},\"description\":\"Pizza 1\"}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-2DL31960M4754554WKLAUN6Y\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-63D04710W4505433P\",\"rel\":\"approval_url\",\"method\":\"REDIRECT\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-2DL31960M4754554WKLAUN6Y/execute\",\"rel\":\"execute\",\"method\":\"POST\"}]},{\"id\":\"PA"
33
37
  read 8192 bytes
34
38
  reading 2 bytes...
35
39
  -> "\r\n"
36
40
  read 2 bytes
37
- -> "ed9\r\n"
38
- reading 3801 bytes...
39
- -> "nts/payment/PAY-68T340036C311945NKIQCEEI\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-68T340036C311945NKIQCEEI\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-8W452026L3042713WKIQCDVI\",\"create_time\":\"2013-08-30T04:38:45Z\",\"update_time\":\"2013-08-30T04:38:50Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}}]},\"transactions\":[{\"amount\":{\"total\":\"7.47\",\"currenc"
40
- -> "y\":\"USD\",\"details\":{\"subtotal\":\"7.47\"}},\"related_resources\":[{\"sale\":{\"id\":\"8SG27240ED024224W\",\"create_time\":\"2013-08-30T04:38:45Z\",\"update_time\":\"2013-08-30T04:38:50Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-8W452026L3042713WKIQCDVI\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/8SG27240ED024224W\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/8SG27240ED024224W/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8W452026L3042713WKIQCDVI\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8W452026L3042713WKIQCDVI\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-1XX53492EH793494JKIQCDTA\",\"create_time\":\"2013-08-30T04:38:36Z\",\"update_time\":\"2013-08-30T04:38:41Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"2FS37015N20643941\",\"create_time\":\"2013-08-30T04:38:36Z\",\"update_time\":\"2013-08-30T04:38:41Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-1XX53492EH793494JKIQCDTA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/2FS37015N20643941\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/2FS37015N20643941/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1XX53492EH793494JKIQCDTA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1XX53492EH793494JKIQCDTA\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-41M589147A160374TKIQCDMA\",\"create_time\":\"2013-08-30T04:38:08Z\",\"update_time\":\"2013-08-30T04:38:14Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"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\":\"1W104578DK030142W\",\"create_time\":\"2013-08-30T04:38:09Z\",\"update_time\":\"2013-08-30T04:38:14Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.47\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-41M589147A160374TKIQCDMA\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/1W104578DK030142W\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/1W104578DK030142W/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-41M589147A160374TKIQCDMA\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-41M589147A160374TKIQCDMA\",\"rel\":\"self\",\"method\":\"GET\"}]}],\"count\":10,\"next_id\":\"PAY-3NC28630H79858423KIQCDAY\"}"
41
- read 3801 bytes
41
+ -> "e16\r\n"
42
+ reading 3606 bytes...
43
+ -> "Y-9J690932G9758003MKLAUJ2Q\",\"create_time\":\"2013-12-30T10:03:22Z\",\"update_time\":\"2013-12-30T10:04:18Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"email\":\"anpm.8917@gmail.com\",\"first_name\":\"amanda\",\"last_name\":\"phan\",\"payer_id\":\"5WMH5RVVRYSLS\",\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"10.00\"}},\"description\":\"Upgrade Vip\",\"related_resources\":[{\"sale\":{\"id\":\"2TB60228M8854004H\",\"create_time\":\"2013-12-30T10:03:22Z\",\"update_time\":\""
44
+ -> "2013-12-30T10:04:18Z\",\"state\":\"completed\",\"amount\":{\"total\":\"10.00\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-9J690932G9758003MKLAUJ2Q\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/2TB60228M8854004H\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/2TB60228M8854004H/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-9J690932G9758003MKLAUJ2Q\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-9J690932G9758003MKLAUJ2Q\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PAY-7FS27953C2820102CKLAUJSQ\",\"create_time\":\"2013-12-30T10:02:50Z\",\"update_time\":\"2013-12-30T10:02:50Z\",\"state\":\"created\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"paypal\",\"payer_info\":{\"shipping_address\":{}}},\"transactions\":[{\"amount\":{\"total\":\"100.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"75.00\",\"tax\":\"15.00\",\"shipping\":\"10.00\"}},\"description\":\"Transaction description.\",\"item_list\":{\"items\":[{\"name\":\"Item Name\",\"sku\":\"sku\",\"price\":\"15.00\",\"currency\":\"USD\",\"quantity\":\"5\"}]}}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-7FS27953C2820102CKLAUJSQ\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-7K57433172904382J\",\"rel\":\"approval_url\",\"method\":\"REDIRECT\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-7FS27953C2820102CKLAUJSQ/execute\",\"rel\":\"execute\",\"method\":\"POST\"}]},{\"id\":\"PAY-8WB5748473583562HKLAUJJI\",\"create_time\":\"2013-12-30T10:02:13Z\",\"update_time\":\"2013-12-30T10:02:23Z\",\"state\":\"approved\",\"intent\":\"sale\",\"payer\":{\"payment_method\":\"credit_card\",\"funding_instruments\":[{\"credit_card\":{\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx0331\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"billing_address\":{\"line1\":\"52 N Main ST\",\"city\":\"Johnstown\",\"state\":\"OH\",\"postal_code\":\"43210\",\"country_code\":\"US\"}}}]},\"transactions\":[{\"amount\":{\"total\":\"7.00\",\"currency\":\"USD\",\"details\":{\"subtotal\":\"5.00\",\"tax\":\"1.00\",\"shipping\":\"1.00\"}},\"description\":\"This is the payment transaction description.\",\"item_list\":{\"items\":[{\"name\":\"Item Name\",\"sku\":\"sku\",\"price\":\"1.00\",\"currency\":\"USD\",\"quantity\":\"5\"}]},\"related_resources\":[{\"sale\":{\"id\":\"1SD71929MU7162426\",\"create_time\":\"2013-12-30T10:02:13Z\",\"update_time\":\"2013-12-30T10:02:23Z\",\"state\":\"completed\",\"amount\":{\"total\":\"7.00\",\"currency\":\"USD\"},\"parent_payment\":\"PAY-8WB5748473583562HKLAUJJI\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/1SD71929MU7162426\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/sale/1SD71929MU7162426/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8WB5748473583562HKLAUJJI\",\"rel\":\"parent_payment\",\"method\":\"GET\"}]}}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/payments/payment/PAY-8WB5748473583562HKLAUJJI\",\"rel\":\"self\",\"method\":\"GET\"}]}],\"count\":10,\"next_id\":\"PAY-5SF09035AA278824XKLAUINA\"}"
45
+ read 3606 bytes
42
46
  reading 2 bytes...
43
47
  -> "\r\n"
44
48
  read 2 bytes
@@ -49,67 +53,79 @@ opening connection to api.sandbox.paypal.com:443...
49
53
  opened
50
54
  starting SSL for api.sandbox.paypal.com:443...
51
55
  SSL established
52
- <- "POST /v1/vault/credit-card HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer eGvOXNxkr0DrEnUV2ZhTYcO9Y2Ia1RLD2ePY19KadEk\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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: 138\r\n\r\n"
56
+ <- "POST /v1/vault/credit-card HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer VknrLyV-t.VSOq-kWU8drom2FntYqcUYLVCS2hKmz7E\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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: 138\r\n\r\n"
53
57
  <- "{\"type\":\"visa\",\"number\":\"4111111111111111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"cvv2\":\"874\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\"}"
54
58
  -> "HTTP/1.1 201 Created\r\n"
55
59
  -> "Server: Apache-Coyote/1.1\r\n"
56
- -> "Date: Fri, 30 Aug 2013 04:58:57 GMT\r\n"
57
- -> "PayPal-Debug-Id: a7f585b46c1a2\r\n"
60
+ -> "PROXY_SERVER_INFO: host=slcsbjava1.slc.paypal.com;threadId=179\r\n"
61
+ -> "Paypal-Debug-Id: 3f08aaef756d4\r\n"
62
+ -> "Content-Language: *\r\n"
63
+ -> "CORRELATION-ID: 3f08aaef756d4\r\n"
64
+ -> "Date: Mon, 30 Dec 2013 10:33:40 GMT\r\n"
65
+ -> "SERVER_INFO: vaultplatformserv:v1.vault.credit-card&CalThreadId=2069&TopLevelTxnStartTime=1434310f15a&Host=slcsbvaultplatformserv502.slc.paypal.com&pid=1239\r\n"
58
66
  -> "Content-Type: application/json\r\n"
59
- -> "Content-Length: 469\r\n"
67
+ -> "Content-Length: 667\r\n"
60
68
  -> "\r\n"
61
- reading 469 bytes...
62
- -> "{\"id\":\"CARD-8T334038NM032805UKIQCNEI\",\"valid_until\":\"2016-08-29T00:00:00Z\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-8T334038NM032805UKIQCNEI\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-8T334038NM032805UKIQCNEI\",\"rel\":\"delete\",\"method\":\"DELETE\"}]}"
63
- read 469 bytes
69
+ reading 667 bytes...
70
+ -> "{\"id\":\"CARD-7BK84485RL522182DKLAUYBA\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"valid_until\":\"2016-12-29T00:00:00Z\",\"create_time\":\"2013-12-30T10:33:40Z\",\"update_time\":\"2013-12-30T10:33:40Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"delete\",\"method\":\"DELETE\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"patch\",\"method\":\"PATCH\"}]}"
71
+ read 667 bytes
64
72
  Conn keep-alive
65
73
  opening connection to api.sandbox.paypal.com:443...
66
74
  opened
67
75
  starting SSL for api.sandbox.paypal.com:443...
68
76
  SSL established
69
- <- "GET /v1/vault/credit-card/CARD-8T334038NM032805UKIQCNEI HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer eGvOXNxkr0DrEnUV2ZhTYcO9Y2Ia1RLD2ePY19KadEk\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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"
77
+ <- "GET /v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer VknrLyV-t.VSOq-kWU8drom2FntYqcUYLVCS2hKmz7E\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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"
70
78
  -> "HTTP/1.1 200 OK\r\n"
71
79
  -> "Server: Apache-Coyote/1.1\r\n"
72
- -> "Date: Fri, 30 Aug 2013 04:58:59 GMT\r\n"
73
- -> "PayPal-Debug-Id: 39a50b626c81f\r\n"
80
+ -> "PROXY_SERVER_INFO: host=slcsbjava4.slc.paypal.com;threadId=85530\r\n"
81
+ -> "Paypal-Debug-Id: 3c87cf2d76976\r\n"
82
+ -> "Content-Language: *\r\n"
83
+ -> "CORRELATION-ID: 3c87cf2d76976\r\n"
84
+ -> "Date: Mon, 30 Dec 2013 10:33:41 GMT\r\n"
85
+ -> "SERVER_INFO: vaultplatformserv:v1.vault.credit-card&CalThreadId=88&TopLevelTxnStartTime=1434310f6de&Host=slcsbvaultplatformserv501.slc.paypal.com&pid=24172\r\n"
74
86
  -> "Content-Type: application/json\r\n"
75
- -> "Content-Length: 469\r\n"
87
+ -> "Content-Length: 667\r\n"
76
88
  -> "\r\n"
77
- reading 469 bytes...
78
- -> "{\"id\":\"CARD-8T334038NM032805UKIQCNEI\",\"valid_until\":\"2016-08-29T00:00:00Z\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-8T334038NM032805UKIQCNEI\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-8T334038NM032805UKIQCNEI\",\"rel\":\"delete\",\"method\":\"DELETE\"}]}"
79
- read 469 bytes
89
+ reading 667 bytes...
90
+ -> "{\"id\":\"CARD-7BK84485RL522182DKLAUYBA\",\"state\":\"ok\",\"type\":\"visa\",\"number\":\"xxxxxxxxxxxx1111\",\"expire_month\":\"11\",\"expire_year\":\"2018\",\"first_name\":\"Joe\",\"last_name\":\"Shopper\",\"valid_until\":\"2016-12-29T00:00:00Z\",\"create_time\":\"2013-12-30T10:33:40Z\",\"update_time\":\"2013-12-30T10:33:40Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"delete\",\"method\":\"DELETE\"},{\"href\":\"https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7BK84485RL522182DKLAUYBA\",\"rel\":\"patch\",\"method\":\"PATCH\"}]}"
91
+ read 667 bytes
80
92
  Conn keep-alive
81
93
  opening connection to api.sandbox.paypal.com:443...
82
94
  opened
83
95
  starting SSL for api.sandbox.paypal.com:443...
84
96
  SSL established
85
- <- "GET /v1/payments/payment/PAY-1234 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer jHPsUnuwb9F1xzqb8f0CYGhfpus5tv5cGtoJXbrQRo0\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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"
97
+ <- "GET /v1/payments/payment/PAY-1234 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer 07Fwa17vwysEHia1qM5Jeb-pMPk-5-uhygVx5lnP4ZU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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"
86
98
  -> "HTTP/1.1 404 Not Found\r\n"
87
99
  -> "Server: Apache-Coyote/1.1\r\n"
88
- -> "Date: Fri, 30 Aug 2013 04:59:00 GMT\r\n"
89
- -> "PayPal-Debug-Id: 05e0d1dd6d5ea\r\n"
100
+ -> "PROXY_SERVER_INFO: host=slcsbjava1.slc.paypal.com;threadId=2061\r\n"
101
+ -> "Paypal-Debug-Id: f59c797e75af2\r\n"
102
+ -> "Content-Language: *\r\n"
103
+ -> "Date: Mon, 30 Dec 2013 10:33:42 GMT\r\n"
90
104
  -> "Content-Type: application/json\r\n"
91
105
  -> "Content-Length: 207\r\n"
92
106
  -> "\r\n"
93
107
  reading 207 bytes...
94
- -> "{\"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\":\"05e0d1dd6d5ea\"}"
108
+ -> "{\"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\":\"f59c797e75af2\"}"
95
109
  read 207 bytes
96
110
  Conn keep-alive
97
111
  opening connection to api.sandbox.paypal.com:443...
98
112
  opened
99
113
  starting SSL for api.sandbox.paypal.com:443...
100
114
  SSL established
101
- <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer jHPsUnuwb9F1xzqb8f0CYGhfpus5tv5cGtoJXbrQRo0\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.6 (paypal-sdk-core 0.2.6; ruby 2.0.0p247-x86_64-darwin12.4.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"
115
+ <- "POST /v1/payments/payment HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer 07Fwa17vwysEHia1qM5Jeb-pMPk-5-uhygVx5lnP4ZU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/sdk-core-ruby 0.2.7 (paypal-sdk-core 0.2.7; ruby 2.0.0p353-x86_64-darwin12.5.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"
102
116
  <- "{}"
103
117
  -> "HTTP/1.1 400 Bad Request\r\n"
104
118
  -> "Server: Apache-Coyote/1.1\r\n"
105
- -> "Date: Fri, 30 Aug 2013 04:59:03 GMT\r\n"
119
+ -> "PROXY_SERVER_INFO: host=slcsbjava3.slc.paypal.com;threadId=188\r\n"
120
+ -> "Paypal-Debug-Id: 5931d9002a991\r\n"
121
+ -> "Content-Language: *\r\n"
122
+ -> "Date: Mon, 30 Dec 2013 10:33:44 GMT\r\n"
106
123
  -> "Connection: close\r\n"
107
- -> "PayPal-Debug-Id: 989f8c126df6d\r\n"
108
124
  -> "Content-Type: application/json\r\n"
109
- -> "Content-Length: 364\r\n"
125
+ -> "Content-Length: 306\r\n"
110
126
  -> "Connection: close\r\n"
111
127
  -> "\r\n"
112
- reading 364 bytes...
113
- -> "{\"name\":\"VALIDATION_ERROR\",\"details\":[{\"field\":\"transactions\",\"issue\":\"Required field missing\"},{\"field\":\"payer\",\"issue\":\"Required field missing\"},{\"field\":\"intent\",\"issue\":\"Required field missing\"}],\"message\":\"Invalid request - see details\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR\",\"debug_id\":\"989f8c126df6d\"}"
114
- read 364 bytes
128
+ reading 306 bytes...
129
+ -> "{\"name\":\"VALIDATION_ERROR\",\"details\":[{\"field\":\"payer\",\"issue\":\"Required field missing\"},{\"field\":\"intent\",\"issue\":\"Required field missing\"}],\"message\":\"Invalid request - see details\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR\",\"debug_id\":\"5931d9002a991\"}"
130
+ read 306 bytes
115
131
  Conn close
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-30 00:00:00.000000000 Z
11
+ date: 2013-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-simple
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.0.4
125
+ rubygems_version: 2.1.11
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Core library for PayPal ruby SDKs