paypal-sdk-rest 0.7.1 → 0.7.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fcdb59412d14218d025ae231190bdc8ce269bff
4
- data.tar.gz: c979839e42604232ff4ab12e26b17ee529cc7b8c
3
+ metadata.gz: 455e36539241e57e39d8cd01efd98562bad29546
4
+ data.tar.gz: 3aa9e1ccc2d597f2ee2bf3ae7c5758b5ba7ae95d
5
5
  SHA512:
6
- metadata.gz: d9cc45c031c8ac16a1265120d0911f1bb8dd45ec2be26f69eac0660d25f2f430827ebb607ac8bb0839696c970184609411d366157c468510dce87dab1eaa8bf1
7
- data.tar.gz: 94b583289f51883e7d1bbe110f81b9f0846cdeaaf03fb63288e5183b59463ddca1d0fc8aa6bb008705f3f140979613e8c94001f4991d60039e054c0f4fcea89d
6
+ metadata.gz: b3627f5058ee499a3f6049c712866aa5b097b817485b3a15929247243b51cf8b8876b77594985207a478395f303e3a413f6fce68b3ed660f17e56e3f7c761514
7
+ data.tar.gz: f5eebcc4a68640dbf1609cb7f99ae626c6aa5aec91d28e173f6639b0b2a90245df85daa39f2d8f2816b2dfa316fdeec3f64a396d86e23311db302d8111197851
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # REST SDK
2
2
 
3
3
  The PayPal REST SDK provides Ruby APIs to create, process and manage payment.
4
- > **Before starting to use the sdk, please be aware of the [existing issues and currently available or upcoming features](https://github.com/paypal/rest-api-sdk-python/wiki/Existing-Issues-and-Unavailable%5CUpcoming-features) for the REST APIs. (which the sdks are based on)**
5
4
 
6
5
  ## Installation
7
6
 
@@ -296,12 +296,27 @@ module PayPal::SDK
296
296
  class RelatedResources < Base
297
297
 
298
298
  def self.load_members
299
+ object_of :order, Order
299
300
  object_of :sale, Sale
300
301
  object_of :authorization, Authorization
301
302
  object_of :capture, Capture
302
303
  object_of :refund, Refund
303
304
  end
304
305
 
306
+ end
307
+ class Order < Base
308
+
309
+ def self.load_members
310
+ object_of :id, String
311
+ object_of :create_time, DateTime
312
+ object_of :update_time, DateTime
313
+ object_of :state, String
314
+ object_of :amount, Amount
315
+ object_of :parent_payment, String
316
+ object_of :reason_code, String
317
+ array_of :links, Links
318
+ end
319
+
305
320
  end
306
321
  class Sale < Base
307
322
 
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module REST
4
- VERSION = "0.7.1"
4
+ VERSION = "0.7.2"
5
5
  end
6
6
  end
7
7
  end
data/spec/log/http.log CHANGED
@@ -2,46 +2,46 @@ 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/invoicing/invoices HTTP/1.1\r\nAuthorization: Bearer A015ZOuHwVDp9D410nquPChSV0YLEEvWXfKQq1P.QCMcvpU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.1 (paypal-sdk-core 0.3.1; ruby 2.1.2p95-x86_64-darwin13.0)\r\nPaypal-Request-Id: 27075a37-6d07-42c2-9b56-e780fdba98e6\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: 243\r\n\r\n"
5
+ <- "POST /v1/invoicing/invoices HTTP/1.1\r\nAuthorization: Bearer A015XXNLKck4zlIZMkjai9eHsWctQBnPn.gT3pfUTZ-A2p4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.2 (paypal-sdk-core 0.3.1; ruby 2.1.2p95-x86_64-darwin13.0)\r\nPaypal-Request-Id: b26f2b35-53d4-4158-9b87-2c86adae7ff3\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: 243\r\n\r\n"
6
6
  <- "{\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"items\":[{\"name\":\"Sutures\",\"quantity\":100.0,\"unit_price\":{\"currency\":\"USD\",\"value\":\"5\"}}],\"note\":\"Medical Invoice 16 Jul, 2013 PST\"}"
7
7
  -> "HTTP/1.1 201 Created\r\n"
8
8
  -> "Server: Apache-Coyote/1.1\r\n"
9
- -> "PROXY_SERVER_INFO: host=slcsbjava4.slc.paypal.com;threadId=8717\r\n"
10
- -> "Paypal-Debug-Id: 4a2d77327d664\r\n"
11
- -> "Date: Wed, 08 Oct 2014 14:58:50 GMT\r\n"
12
- -> "Location: https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-3YLW-4TQ9-WUCA-YRMN\r\n"
9
+ -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3002.slc.paypal.com;threadId=2876\r\n"
10
+ -> "Paypal-Debug-Id: ae9f0be924930\r\n"
11
+ -> "Date: Mon, 20 Oct 2014 16:25:48 GMT\r\n"
12
+ -> "Location: https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-8EPA-K2PE-XXHL-UKSX\r\n"
13
13
  -> "Content-Type: application/json\r\n"
14
14
  -> "Content-Length: 510\r\n"
15
15
  -> "\r\n"
16
16
  reading 510 bytes...
17
- -> "{\"id\":\"INV2-3YLW-4TQ9-WUCA-YRMN\",\"number\":\"2429\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"items\":[{\"name\":\"Sutures\",\"quantity\":100.0,\"unit_price\":{\"currency\":\"USD\",\"value\":\"5.00\"}}],\"invoice_date\":\"2014-10-08 PDT\",\"discount\":{\"amount\":{\"currency\":\"USD\",\"value\":\"0.00\"}},\"tax_calculated_after_discount\":false,\"tax_inclusive\":false,\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"}}"
17
+ -> "{\"id\":\"INV2-8EPA-K2PE-XXHL-UKSX\",\"number\":\"2456\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"items\":[{\"name\":\"Sutures\",\"quantity\":100.0,\"unit_price\":{\"currency\":\"USD\",\"value\":\"5.00\"}}],\"invoice_date\":\"2014-10-20 PDT\",\"discount\":{\"amount\":{\"currency\":\"USD\",\"value\":\"0.00\"}},\"tax_calculated_after_discount\":false,\"tax_inclusive\":false,\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"}}"
18
18
  read 510 bytes
19
19
  Conn keep-alive
20
20
  opening connection to api.sandbox.paypal.com:443...
21
21
  opened
22
22
  starting SSL for api.sandbox.paypal.com:443...
23
23
  SSL established
24
- <- "GET /v1/invoicing/invoices/?total_count_required=true HTTP/1.1\r\nAuthorization: Bearer A015ZOuHwVDp9D410nquPChSV0YLEEvWXfKQq1P.QCMcvpU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.1 (paypal-sdk-core 0.3.1; 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"
24
+ <- "GET /v1/invoicing/invoices/?total_count_required=true HTTP/1.1\r\nAuthorization: Bearer A015XXNLKck4zlIZMkjai9eHsWctQBnPn.gT3pfUTZ-A2p4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.2 (paypal-sdk-core 0.3.1; 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"
25
25
  -> "HTTP/1.1 200 OK\r\n"
26
26
  -> "Server: Apache-Coyote/1.1\r\n"
27
- -> "PROXY_SERVER_INFO: host=slcsbjava1.slc.paypal.com;threadId=1467\r\n"
28
- -> "Paypal-Debug-Id: ba4e8c46764c9\r\n"
29
- -> "Date: Wed, 08 Oct 2014 14:58:50 GMT\r\n"
27
+ -> "PROXY_SERVER_INFO: host=slcsbjava2.slc.paypal.com;threadId=239\r\n"
28
+ -> "Paypal-Debug-Id: a59b4e352eecb\r\n"
29
+ -> "Date: Mon, 20 Oct 2014 16:25:50 GMT\r\n"
30
30
  -> "Content-Type: application/json\r\n"
31
31
  -> "Transfer-Encoding: chunked\r\n"
32
32
  -> "\r\n"
33
33
  -> "2000\r\n"
34
34
  reading 8192 bytes...
35
- -> "{\"total_count\":2418,\"invoices\":[{\"id\":\"INV2-3YLW-4TQ9-WUCA-YRMN\",\"number\":\"2429\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-08 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-08 07:58:50 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-3YLW-4TQ9-WUCA-YRMN\"}},{\"id\":\"INV2-BEZW-SWBS-7339-2QVD\",\"number\":\"2428\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-08 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-08 07:51:09 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-BEZW-SWBS-7339-2QVD\"}},{\"id\":\"INV2-P2AP-FZSP-C9FD-793P\",\"number\":\"2427\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-08 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-08 07:50:01 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-P2AP-FZSP-C9FD-793P\"}},{\"id\":\"INV2-VF6L-NBG3-KV27-NNYC\",\"number\":\"2426\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-08 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-08 07:47:45 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-VF6L-NBG3-KV27-NNYC\"}},{\"id\":\"INV2-G82B-Z3R4-CTNN-MUNZ\",\"number\":\"2425\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-08 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-08 07:43:51 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-G82B-Z3R4-CTNN-MUNZ\"}},{\"id\":\"INV2-L94W-4Y42-W7AF-HP8Z\",\"number\":\"2424\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-06 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-06 08:26:53 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-L94W-4Y42-W7AF-HP8Z\"}},{\"id\":\"INV2-CA7S-C45N-EWJV-MEXW\",\"number\":\"2423\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-06 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-06 08:25:49 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-CA7S-C45N-EWJV-MEXW\"}},{\"id\":\"INV2-24LJ-42KH-CZM6-7ZLG\",\"number\":\"2422\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-06 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-06 07:46:56 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-24LJ-42KH-CZM6-7ZLG\"}},{\"id\":\"INV2-BYMB-Q3BB-9MAZ-EKJR\",\"number\":\"2421\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-06 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-06 07:45:51 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-BYMB-Q3BB-9MAZ-EKJR\"}},{\"id\":\"INV2-NVJ3-87Y5-FW62-MPP5\",\"number\":\"2420\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-03 PDT\",\"payment_term\":{\"due_date\":\"2014-11-17 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-03 11:03:26 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-NVJ3-87Y5-FW62-MPP5\"}},{\"id\":\"INV2-DMBX-YTHQ-3M5N-X8CE\",\"number\":\"2419\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-03 PDT\",\"payment_term\":{\"due_date\":\"2014-11-17 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-03 10:27:39 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-DMBX-YTHQ-3M5N-X8CE\"}},{\"id\":\"INV2-8FCW-XL8M-QM8A-B8KV\",\"number\":\"2418\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-03 PDT\",\"payment_term\":{\"due_date\":\"2014-11-17 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-03 10:27:29 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-8FCW-XL8M-QM8A-B8KV\"}},{\"id\":\"INV2-SLKG-EQKL-MBLJ-6K56\",\"number\":\"2417\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-03 PDT\",\"payment_term\":{\"due_date\":\"2014-11-17 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-03 10:25:40 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-SLKG-EQKL-MBLJ-6K56\"}},{\"id\":\"INV2-YY8R-N86A-2M7J-F3D3\",\"number\":\"2416\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-09-30 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-30 13:12:13 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-YY8R-N86A-2M7J-F3D3\"}},{\"id\":\"INV2-HZB8-SAZZ-4ERT-6BEG\",\"number\":\"2415\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\""
35
+ -> "{\"total_count\":2445,\"invoices\":[{\"id\":\"INV2-8EPA-K2PE-XXHL-UKSX\",\"number\":\"2456\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-20 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-20 09:25:48 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-8EPA-K2PE-XXHL-UKSX\"}},{\"id\":\"INV2-5HG5-JTGH-8F6P-4D7P\",\"number\":\"2455\",\"status\":\"SENT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-19 PDT\",\"payment_term\":{\"due_date\":\"2014-12-03 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-19 20:32:07 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-5HG5-JTGH-8F6P-4D7P\"}},{\"id\":\"INV2-SAQ8-CBPR-PH9E-JSYV\",\"number\":\"2454\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-19 PDT\",\"payment_term\":{\"due_date\":\"2014-12-03 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-19 08:47:32 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-SAQ8-CBPR-PH9E-JSYV\"}},{\"id\":\"INV2-Z4PA-EYHZ-D86T-YJDV\",\"number\":\"2453\",\"status\":\"SENT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-17 PDT\",\"payment_term\":{\"due_date\":\"2014-12-01 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-17 01:58:39 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-Z4PA-EYHZ-D86T-YJDV\"}},{\"id\":\"INV2-22Y4-3KUP-9B5D-XMD5\",\"number\":\"2452\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-16 PDT\",\"payment_term\":{\"due_date\":\"2014-11-30 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-16 06:19:48 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-22Y4-3KUP-9B5D-XMD5\"}},{\"id\":\"INV2-M6GA-L6BH-ZDSU-K8UQ\",\"number\":\"2451\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-15 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-15 19:03:20 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-M6GA-L6BH-ZDSU-K8UQ\"}},{\"id\":\"INV2-225R-283C-Z4MV-BDLW\",\"number\":\"2450\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\"},\"invoice_date\":\"2014-10-15 PDT\",\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-15 18:46:56 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-225R-283C-Z4MV-BDLW\"}},{\"id\":\"INV2-U3LF-A7NH-JB65-BMM8\",\"number\":\"2449\",\"status\":\"SENT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-15 PDT\",\"payment_term\":{\"due_date\":\"2014-11-29 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-15 07:58:59 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-U3LF-A7NH-JB65-BMM8\"}},{\"id\":\"INV2-LZ4R-PVSS-RVQ9-JCFF\",\"number\":\"2448\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-14 PDT\",\"payment_term\":{\"due_date\":\"2014-11-28 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-14 15:17:52 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-LZ4R-PVSS-RVQ9-JCFF\"}},{\"id\":\"INV2-GAT6-YG44-8RL3-DF5X\",\"number\":\"2447\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-14 PDT\",\"payment_term\":{\"due_date\":\"2014-11-28 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-14 08:17:02 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-GAT6-YG44-8RL3-DF5X\"}},{\"id\":\"INV2-EK4B-4UYV-ETJX-44F2\",\"number\":\"2446\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-14 PDT\",\"payment_term\":{\"due_date\":\"2014-11-28 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-14 01:10:37 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-EK4B-4UYV-ETJX-44F2\"}},{\"id\":\"INV2-THJC-H5ES-WXWB-8T2Z\",\"number\":\"2445\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-14 PDT\",\"payment_term\":{\"due_date\":\"2014-11-28 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-14 00:24:08 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-THJC-H5ES-WXWB-8T2Z\"}},{\"id\":\"INV2-JHD9-HQ7G-6FHL-MZ32\",\"number\":\"2444\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 22:05:13 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-JHD9-HQ7G-6FHL-MZ32\"}},{\"id\":\"INV2-ZJRQ-KMMA-FFPR-WWL9\",\"number\":\"2443\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\""
36
36
  read 8192 bytes
37
37
  reading 2 bytes...
38
38
  -> "\r\n"
39
39
  read 2 bytes
40
- -> "e01\r\n"
41
- reading 3585 bytes...
42
- -> "},\"invoice_date\":\"2014-09-27 PDT\",\"payment_term\":{\"due_date\":\"2014-11-11 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-27 10:34:23 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-HZB8-SAZZ-4ERT-6BEG\"}},{\"id\":\"INV2-5Z8N-DYF8-NVXY-FMSJ\",\"number\":\"2414\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"exa"
43
- -> "mple@example.com\",\"first_name\":\"Bob\",\"last_name\":\"Joe\",\"business_name\":\"Bob Shrimp Co.\"},\"invoice_date\":\"2014-09-26 PDT\",\"payment_term\":{\"due_date\":\"2014-11-09 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-26 09:59:57 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-5Z8N-DYF8-NVXY-FMSJ\"}},{\"id\":\"INV2-CG7Y-LQC7-7HT4-M7DH\",\"number\":\"2413\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-09-26 PDT\",\"payment_term\":{\"due_date\":\"2014-11-10 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-26 09:58:04 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-CG7Y-LQC7-7HT4-M7DH\"}},{\"id\":\"INV2-HARL-VNNL-8D74-FHHV\",\"number\":\"2412\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-09-26 PDT\",\"payment_term\":{\"due_date\":\"2014-11-10 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-26 09:57:15 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-HARL-VNNL-8D74-FHHV\"}},{\"id\":\"INV2-72X3-EHUX-BZ29-UHAN\",\"number\":\"2411\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-09-26 PDT\",\"payment_term\":{\"due_date\":\"2014-11-10 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-26 09:56:09 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-72X3-EHUX-BZ29-UHAN\"}},{\"id\":\"INV2-D7YS-UZNT-H84W-WJQ9\",\"number\":\"2410\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-09-26 PDT\",\"payment_term\":{\"due_date\":\"2014-11-10 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-09-26 09:55:46 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-D7YS-UZNT-H84W-WJQ9\"}}]}"
44
- read 3585 bytes
40
+ -> "1189\r\n"
41
+ reading 4489 bytes...
42
+ -> "email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 15:52:04 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-ZJRQ-KMMA-FFPR"
43
+ -> "-WWL9\"}},{\"id\":\"INV2-M8U3-F77F-FZ89-M4MP\",\"number\":\"2442\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 14:38:33 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-M8U3-F77F-FZ89-M4MP\"}},{\"id\":\"INV2-BMRE-KDF5-32TR-VJ7E\",\"number\":\"2441\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 09:41:41 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-BMRE-KDF5-32TR-VJ7E\"}},{\"id\":\"INV2-K3T2-5E76-AUSG-HV77\",\"number\":\"2440\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 09:41:26 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-K3T2-5E76-AUSG-HV77\"}},{\"id\":\"INV2-23FK-KQ4Q-2DUR-AHKK\",\"number\":\"2439\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 09:41:06 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-23FK-KQ4Q-2DUR-AHKK\"}},{\"id\":\"INV2-3D7X-UB9T-JZRW-XPBA\",\"number\":\"2438\",\"status\":\"DRAFT\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-13 PDT\",\"payment_term\":{\"due_date\":\"2014-11-27 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-13 09:04:03 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-3D7X-UB9T-JZRW-XPBA\"}},{\"id\":\"INV2-FTCU-HTLQ-JCRB-7RJF\",\"number\":\"2437\",\"status\":\"MARKED_AS_PAID\",\"merchant_info\":{\"email\":\"PPX.DevNet-facilitator@gmail.com\"},\"billing_info\":[{\"email\":\"example@example.com\"}],\"shipping_info\":{\"email\":\"example@example.com\",\"first_name\":\"Sally\",\"last_name\":\"Patient\",\"business_name\":\"Not applicable\"},\"invoice_date\":\"2014-10-10 PDT\",\"payment_term\":{\"due_date\":\"2014-11-24 PST\"},\"note\":\"Medical Invoice 16 Jul, 2013 PST\",\"total_amount\":{\"currency\":\"USD\",\"value\":\"500.00\"},\"metadata\":{\"created_date\":\"2014-10-10 12:42:10 PDT\",\"payer_view_url\":\"https://www.sandbox.paypal.com/cgi_bin/webscr?cmd=_pay-inv&viewtype=altview&id=INV2-FTCU-HTLQ-JCRB-7RJF\"}}]}"
44
+ read 4489 bytes
45
45
  reading 2 bytes...
46
46
  -> "\r\n"
47
47
  read 2 bytes
@@ -52,12 +52,12 @@ opening connection to api.sandbox.paypal.com:443...
52
52
  opened
53
53
  starting SSL for api.sandbox.paypal.com:443...
54
54
  SSL established
55
- <- "GET /v1/invoicing/invoices/INV2-P6VJ-36HG-BBVT-M2MA HTTP/1.1\r\nAuthorization: Bearer A015ZOuHwVDp9D410nquPChSV0YLEEvWXfKQq1P.QCMcvpU\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.1 (paypal-sdk-core 0.3.1; 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"
55
+ <- "GET /v1/invoicing/invoices/INV2-P6VJ-36HG-BBVT-M2MA HTTP/1.1\r\nAuthorization: Bearer A015XXNLKck4zlIZMkjai9eHsWctQBnPn.gT3pfUTZ-A2p4\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/rest-sdk-ruby 0.7.2 (paypal-sdk-core 0.3.1; 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"
56
56
  -> "HTTP/1.1 200 OK\r\n"
57
57
  -> "Server: Apache-Coyote/1.1\r\n"
58
- -> "PROXY_SERVER_INFO: host=slcsbjava1.slc.paypal.com;threadId=1467\r\n"
59
- -> "Paypal-Debug-Id: f569fd3077be4\r\n"
60
- -> "Date: Wed, 08 Oct 2014 14:58:51 GMT\r\n"
58
+ -> "PROXY_SERVER_INFO: host=slcsbplatformapiserv3001.slc.paypal.com;threadId=12898\r\n"
59
+ -> "Paypal-Debug-Id: b4db79ee3a984\r\n"
60
+ -> "Date: Mon, 20 Oct 2014 16:25:51 GMT\r\n"
61
61
  -> "Content-Type: application/json\r\n"
62
62
  -> "Content-Length: 1184\r\n"
63
63
  -> "\r\n"
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: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paypal-sdk-core