paypal-sdk-rest-pmrb 1.8.0 → 1.9.0

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
  SHA256:
3
- metadata.gz: e13b1c56197622c2a3eefa60c65c7dd11164172b0bb5a73a900f159587bed085
4
- data.tar.gz: 6bca7031b9339136b5445ce3e44e02ffc7095287da15407e4ce30de0f9f8937d
3
+ metadata.gz: 28512c971927c8c403fdfdc61e9203fa1b0d927f118531a75525f7b8eeb4c930
4
+ data.tar.gz: 89d2613783b9ab46df9ee4b6c4f7aa4018156183e733ddb89be3d002c7b553bd
5
5
  SHA512:
6
- metadata.gz: 1828835ec1b0bf9be65b476f9485ff20c6d567962e4d1b6ed7af33376458db8eb14735bfafaeb331a6fdbc3d8fb24032cc4cd1a6ced206dbb0e136db5a64228a
7
- data.tar.gz: 574e1b15de7ca3dd76705e24b2214f462aa7a05b6d8a534ba6549e1181a6f4bb2ef954f22ce70eea7e427719b08bb433b6896d24e16a5da097af6554656415da
6
+ metadata.gz: 0064c25823519a40b1b7a795d1f738e25fbf25007248d845f6392dd6b3a7920583d8d3e741942f3305905f642ba43bdcfef0b43ccae8612a05ebeb8328ec3dc7
7
+ data.tar.gz: efae1d0719bbac88cdc0ca8ab9197db516085206c9a29bd1c3730c9bbba20a2195a16708687bf5171eedc42793f85b3c028fc6601bc6009284c706eaf419bb24
data/Gemfile CHANGED
@@ -11,5 +11,3 @@ group :test do
11
11
  gem 'rspec'
12
12
  gem 'webmock'
13
13
  end
14
-
15
- gem 'releasinator', '~> 0.6'
data/README.md CHANGED
@@ -1,9 +1,24 @@
1
- ## PayPal REST API Ruby SDK [![Build Status](https://travis-ci.org/paypal/PayPal-Ruby-SDK.svg?branch=master)](https://travis-ci.org/paypal/PayPal-Ruby-SDK) [![Coverage Status](https://coveralls.io/repos/github/paypal/PayPal-Ruby-SDK/badge.svg?branch=master)](https://coveralls.io/github/paypal/PayPal-Ruby-SDK?branch=master)
2
-
1
+ ## PayPal REST API Ruby SDK
3
2
 
4
3
  The PayPal REST SDK provides Ruby APIs to create, process and manage payment.
5
4
 
6
- PayPal has deprecated their [REST SDK](https://developer.paypal.com/docs/api/deprecated-rest-sdks/) and archived the corresponding [GitHub repos](https://github.com/paypal/PayPal-Ruby-SDK/). The Payments API [v1/payments](https://developer.paypal.com/docs/api/payments/v1/) remains active but merchants are left to maintain their own integration until equivalent [v2/payments](https://developer.paypal.com/docs/api/payments/v2/) functionality becomes available. Lenny Markus at PayPal has confirmed there are no plans to continue support, feel free to fork it.
5
+ [![Version ][rubygems_badge]][rubygems]
6
+ [![Github Actions ][actions_badge]][actions]
7
+ [![Coverage ][coverage_badge]][coverage]
8
+
9
+ PayPal has deprecated their [REST SDK][restsdk] and archived the corresponding [GitHub repos][sdkrepo]. The Payments API [v1/payments][v1docs] remains active but merchants are left to maintain their own integration until equivalent [v2/payments][v2docs] functionality becomes available. Lenny Markus at PayPal has confirmed there are no plans to continue support, feel free to fork it.
10
+
11
+ [rubygems_badge]: http://img.shields.io/gem/v/paypal-sdk-rest-pmrb.svg
12
+ [rubygems]: https://rubygems.org/gems/paypal-sdk-rest-pmrb
13
+ [actions_badge]: https://github.com/paypal-merchants-rb/PayPal-Ruby-SDK/workflows/ci/badge.svg
14
+ [actions]: https://github.com/paypal-merchants-rb/PayPal-Ruby-SDK/actions
15
+ [coverage_badge]: https://coveralls.io/repos/github/paypal/PayPal-Ruby-SDK/badge.svg?branch=master
16
+ [coverage]: https://coveralls.io/github/paypal/PayPal-Ruby-SDK?branch=master
17
+
18
+ [restsdk]: https://developer.paypal.com/docs/api/deprecated-rest-sdks/
19
+ [sdkrepo]: https://github.com/paypal/PayPal-Ruby-SDK/
20
+ [v1docs]: https://developer.paypal.com/docs/api/payments/v1/
21
+ [v2docs]: https://developer.paypal.com/docs/api/payments/v2/
7
22
 
8
23
  ## PayPal Checkout v2
9
24
  We recommend that you integrate with API [v2/checkout/orders](https://developer.paypal.com/docs/api/orders/v2/) and [v2/payments](https://developer.paypal.com/docs/api/payments/v2/) whenever possible. Please refer to the [Checkout Ruby SDK](https://github.com/paypal/Checkout-Ruby-SDK) to continue with the integration.
data/Rakefile CHANGED
@@ -1,11 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
- # release will instead be declared by the releasinator
4
- Rake::Task["release"].clear
5
-
6
- spec = Gem::Specification.find_by_name 'releasinator'
7
- load "#{spec.gem_dir}/lib/tasks/releasinator.rake"
8
-
9
3
  desc "Run tests"
10
4
  task :rspec do
11
5
  cmd = "bundle exec rspec -f d"
@@ -245,6 +245,8 @@ module PayPal::SDK::Core
245
245
  def read_configurations(file_name = "config/paypal.yml")
246
246
  erb = ERB.new(File.read(file_name))
247
247
  erb.filename = file_name
248
+ YAML.load(erb.result, aliases: true)
249
+ rescue ArgumentError
248
250
  YAML.load(erb.result)
249
251
  end
250
252
 
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module REST
4
- VERSION = "1.8.0"
4
+ VERSION = "1.9.0"
5
5
  end
6
6
  end
7
7
  end
@@ -0,0 +1 @@
1
+ require "paypal-sdk/rest"
data/spec/log/http.log CHANGED
@@ -1,175 +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/catalogs/products HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\r\nPaypal-Request-Id: c110df92-a2e3-41e8-92a1-d61d60caea47\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: 199\r\n\r\n"
6
- <- "{\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"type\":\"SERVICE\",\"category\":\"SOFTWARE\",\"image_url\":\"https://example.com/streaming.jpg\",\"home_url\":\"https://example.com/home\"}"
7
- -> "HTTP/1.1 201 Created\r\n"
8
- -> "Date: Thu, 20 Jun 2019 14:08:35 GMT\r\n"
9
- -> "Server: Apache\r\n"
10
- -> "paypal-debug-id: 9225ea5cb8d9a\r\n"
11
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
12
- -> "Paypal-Debug-Id: 9225ea5cb8d9a\r\n"
13
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1670581085%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:35 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
14
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
15
- -> "Vary: Authorization\r\n"
16
- -> "Content-Length: 381\r\n"
17
- -> "Connection: close\r\n"
18
- -> "Content-Type: application/json\r\n"
19
- -> "\r\n"
20
- reading 381 bytes...
21
- -> "{\"id\":\"PROD-2TH454956H633411P\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"create_time\":\"2019-06-20T14:08:35Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2TH454956H633411P\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2TH454956H633411P\",\"rel\":\"edit\",\"method\":\"PATCH\"}]}"
22
- read 381 bytes
23
- Conn close
24
- opening connection to api.sandbox.paypal.com:443...
25
- opened
26
- starting SSL for api.sandbox.paypal.com:443...
27
- SSL established
28
- <- "GET /v1/catalogs/products?page_size=99&total_required=true HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\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"
29
- -> "HTTP/1.1 200 OK\r\n"
30
- -> "Date: Thu, 20 Jun 2019 14:08:36 GMT\r\n"
31
- -> "Server: Apache\r\n"
32
- -> "paypal-debug-id: 4029769b40014\r\n"
33
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
34
- -> "Paypal-Debug-Id: 4029769b40014\r\n"
35
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1687358301%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
36
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
37
- -> "Vary: Authorization\r\n"
38
- -> "Connection: close\r\n"
39
- -> "Transfer-Encoding: chunked\r\n"
40
- -> "Content-Type: application/json\r\n"
41
- -> "\r\n"
42
- -> "2000\r\n"
43
- reading 8192 bytes...
44
- -> ""
45
- -> "{\"products\":[{\"id\":\"PROD-88P66116U8424713Y\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-88P66116U8424713Y\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-9HR25263MW049305R\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9HR25263MW049305R\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-6N696826HG113224A\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-6N696826HG113224A\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-27M99624TE143843E\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-27M99624TE143843E\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-7RY89329KN7803222\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-7RY89329KN7803222\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-3KE343427A712191C\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-3KE343427A712191C\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2RK5942798309264B\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2RK5942798309264B\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-8MX8812952166872B\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-8MX8812952166872B\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4N2795536X5381140\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4N2795536X5381140\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4HW458221B2951531\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4HW458221B2951531\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4FN0679242198735T\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4FN0679242198735T\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-9KH91817U6217692V\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9KH91817U6217692V\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4R285588KV4469238\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4R285588KV4469238\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-3SP328368F401020A\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-3SP328368F401020A\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-5H899287EC102604X\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-5H899287EC102604X\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-1LL701415A885501N\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-1LL701415A885501N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-1WK9470583999374J\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-1WK9470583999374J\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-03305783CL1520143\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-03305783CL1520143\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-27X1077636135754X\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-27X1077636135754X\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-1S707532XJ8460936\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-1S707532XJ8460936\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-26K19609M72274849\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-26K19609M72274849\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-7WR46934VF294752N\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-7WR46934VF294752N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2AD63024DP278321E\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2AD63024DP278321E\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-5D466893YC6738502\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-5D466893YC6738502\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-87J53413AC569925A\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-87J53413AC569925A\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-45K97299DY4079610\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-45K97299DY4079610\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-9EM270580D5144407\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9EM270580D5144407\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-44X18262XM369262K\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-44X18262XM369262K\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-7HA77800KP103692P\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-7HA77800KP103692P\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-45347439SP9015829\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-45347439SP9015829\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-06N54517KT2707919\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-06N54517KT2707919\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-38U021592D6077444\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-38U021592D6077444\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-31R388081G1636052\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-31R388081G1636052\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2YA54096D37972117\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2YA54096D37972117\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-8JP83890WK478815N\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-8JP83890WK478815N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-7GM866379C284591N\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-7GM866379C284591N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-17231329HM741940W\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-17231329HM741940W\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-1XS14307924998900\""
46
- read 8192 bytes
47
- reading 2 bytes...
48
- -> ""
49
- -> "\r\n"
50
- read 2 bytes
51
- -> "15f5\r\n"
52
- reading 5621 bytes...
53
- -> ""
54
- -> ",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-1XS14307924998900\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-29S30004HB811152U\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-29S30004HB811152U\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-53271887CD151284K\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-53271887CD151284K\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2KX55625S8611251V\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2KX55625S8611251V\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-6G654233NV063351W\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-6G654233NV063351W\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-7N229559MX8840154\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-7N229559MX8840154\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-5LY78944L0615893M\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-5LY78944L0615893M\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-93263879DU4052047\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-93263879DU4052047\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-00S71064VJ717570N\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-00S71064VJ717570N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-3Y218025DC540635L\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-3Y218025DC540635L\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2FY85319U1181950H\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2FY85319U1181950H\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-0FP590913B222104R\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-0FP590913B222104R\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-5AG62884JS725423D\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-5AG62884JS725423D\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4R623883VM371433K\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4R623883VM371433K\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4F695312355081434\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4F695312355081434\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-3CJ45351NR353464N\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-3CJ45351NR353464N\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-79799678UR6102740\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-79799678UR6102740\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-1HX815213L743425E\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-1HX815213L743425E\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2PM25506D7287145L\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2PM25506D7287145L\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-5TH73023L52525018\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-5TH73023L52525018\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-0U762116706527633\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-0U762116706527633\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-6GV203945K987723H\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-6GV203945K987723H\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-4R917551KP670700L\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-4R917551KP670700L\",\"rel\":\"self\",\"method\":\"GET\"}]},{\"id\":\"PROD-2TH454956H633411P\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-2TH454956H633411P\",\"rel\":\"self\",\"method\":\"GET\"}]}],\"total_items\":61,\"total_pages\":1,\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=99&page=1\",\"rel\":\"self\",\"method\":\"GET\"}]}"
55
- read 5621 bytes
56
- reading 2 bytes...
57
- -> ""
58
- -> "\r\n"
59
- read 2 bytes
60
- -> "0\r\n"
61
- -> "\r\n"
62
- Conn close
63
- opening connection to api.sandbox.paypal.com:443...
64
- opened
65
- starting SSL for api.sandbox.paypal.com:443...
66
- SSL established
67
- <- "GET /v1/catalogs/products?page_size=1&total_required=true HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\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"
68
- -> "HTTP/1.1 200 OK\r\n"
69
- -> "Date: Thu, 20 Jun 2019 14:08:36 GMT\r\n"
70
- -> "Server: Apache\r\n"
71
- -> "paypal-debug-id: 799c68c0d4382\r\n"
72
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
73
- -> "Paypal-Debug-Id: 799c68c0d4382\r\n"
74
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1687358301%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
75
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
76
- -> "Vary: Authorization\r\n"
77
- -> "Content-Length: 606\r\n"
78
- -> "Connection: close\r\n"
79
- -> "Content-Type: application/json\r\n"
80
- -> "\r\n"
81
- reading 606 bytes...
82
- -> "{\"products\":[{\"id\":\"PROD-88P66116U8424713Y\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-88P66116U8424713Y\",\"rel\":\"self\",\"method\":\"GET\"}]}],\"total_items\":61,\"total_pages\":61,\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=1\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=2\",\"rel\":\"next\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=61\",\"rel\":\"last\",\"method\":\"GET\"}]}"
83
- read 606 bytes
84
- Conn close
85
- opening connection to api.sandbox.paypal.com:443...
86
- opened
87
- starting SSL for api.sandbox.paypal.com:443...
88
- SSL established
89
- <- "GET /v1/catalogs/products/?page_size=1&page=2 HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\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"
90
- -> "HTTP/1.1 200 OK\r\n"
91
- -> "Date: Thu, 20 Jun 2019 14:08:37 GMT\r\n"
92
- -> "Server: Apache\r\n"
93
- -> "paypal-debug-id: 1cc68fda5449c\r\n"
94
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
95
- -> "Paypal-Debug-Id: 1cc68fda5449c\r\n"
96
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1704135517%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
97
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
98
- -> "Vary: Authorization\r\n"
99
- -> "Content-Length: 793\r\n"
100
- -> "Connection: close\r\n"
101
- -> "Content-Type: application/json\r\n"
102
- -> "\r\n"
103
- reading 793 bytes...
104
- -> "{\"products\":[{\"id\":\"PROD-9HR25263MW049305R\",\"name\":\"My Cool Service\",\"description\":\"Service-Description\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9HR25263MW049305R\",\"rel\":\"self\",\"method\":\"GET\"}]}],\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=2\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=1\",\"rel\":\"first\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=1\",\"rel\":\"prev\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=3\",\"rel\":\"next\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products?page_size=1&page=61\",\"rel\":\"last\",\"method\":\"GET\"}]}"
105
- read 793 bytes
106
- Conn close
107
- opening connection to api.sandbox.paypal.com:443...
108
- opened
109
- starting SSL for api.sandbox.paypal.com:443...
110
- SSL established
111
- <- "POST /v1/catalogs/products HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\r\nPaypal-Request-Id: ea1f9f40-629a-4e24-8a83-00d9ca5c483a\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: 199\r\n\r\n"
112
- <- "{\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"type\":\"SERVICE\",\"category\":\"SOFTWARE\",\"image_url\":\"https://example.com/streaming.jpg\",\"home_url\":\"https://example.com/home\"}"
113
- -> "HTTP/1.1 201 Created\r\n"
114
- -> "Date: Thu, 20 Jun 2019 14:08:37 GMT\r\n"
115
- -> "Server: Apache\r\n"
116
- -> "paypal-debug-id: 14d36013dac11\r\n"
117
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
118
- -> "Paypal-Debug-Id: 14d36013dac11\r\n"
119
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1704135517%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:38 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
120
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
121
- -> "Vary: Authorization\r\n"
122
- -> "Content-Length: 381\r\n"
123
- -> "Connection: close\r\n"
124
- -> "Content-Type: application/json\r\n"
125
- -> "\r\n"
126
- reading 381 bytes...
127
- -> "{\"id\":\"PROD-9JL54131RW723273F\",\"name\":\"Video Streaming Service\",\"description\":\"Video streaming service\",\"create_time\":\"2019-06-20T14:08:38Z\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9JL54131RW723273F\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/catalogs/products/PROD-9JL54131RW723273F\",\"rel\":\"edit\",\"method\":\"PATCH\"}]}"
128
- read 381 bytes
129
- Conn close
130
- opening connection to api.sandbox.paypal.com:443...
131
- opened
132
- starting SSL for api.sandbox.paypal.com:443...
133
- SSL established
134
- <- "POST /v1/billing/plans/ HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\r\nPaypal-Request-Id: 2c389b8a-4fa9-4ff8-9e0b-ffd25ba1242a\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: 621\r\n\r\n"
135
- <- "{\"product_id\":\"PROD-9JL54131RW723273F\",\"name\":\"Basic Plan\",\"description\":\"Basic plan\",\"billing_cycles\":[{\"frequency\":{\"interval_unit\":\"MONTH\",\"interval_count\":1},\"tenure_type\":\"TRIAL\",\"sequence\":1,\"total_cycles\":1},{\"frequency\":{\"interval_unit\":\"MONTH\",\"interval_count\":1},\"tenure_type\":\"REGULAR\",\"sequence\":2,\"total_cycles\":12,\"pricing_scheme\":{\"fixed_price\":{\"currency_code\":\"USD\",\"value\":\"10\"}}}],\"payment_preferences\":{\"service_type\":\"PREPAID\",\"auto_bill_outstanding\":true,\"setup_fee\":{\"currency_code\":\"USD\",\"value\":\"10\"},\"setup_fee_failure_action\":\"CONTINUE\",\"payment_failure_threshold\":3},\"quantity_supported\":true}"
136
- -> "HTTP/1.1 201 Created\r\n"
137
- -> "Date: Thu, 20 Jun 2019 14:08:38 GMT\r\n"
138
- -> "Server: Apache\r\n"
139
- -> "paypal-debug-id: c4ce4c5c602fc\r\n"
140
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
141
- -> "Paypal-Debug-Id: c4ce4c5c602fc\r\n"
142
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1720912733%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:38 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
143
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
144
- -> "Vary: Authorization\r\n"
145
- -> "Content-Length: 457\r\n"
146
- -> "Connection: close\r\n"
147
- -> "Content-Type: application/json\r\n"
148
- -> "\r\n"
149
- reading 457 bytes...
150
- -> "{\"id\":\"P-0SF499894B180714ELUFZGZQ\",\"product_id\":\"PROD-9JL54131RW723273F\",\"status\":\"ACTIVE\",\"links\":[{\"href\":\"https://api.sandbox.paypal.com/v1/billing/plans/P-0SF499894B180714ELUFZGZQ\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/billing/plans/P-0SF499894B180714ELUFZGZQ\",\"rel\":\"edit\",\"method\":\"PATCH\"},{\"href\":\"https://api.sandbox.paypal.com/v1/billing/plans/P-0SF499894B180714ELUFZGZQ/deactivate\",\"rel\":\"self\",\"method\":\"POST\"}]}"
151
- read 457 bytes
152
- Conn close
153
- opening connection to api.sandbox.paypal.com:443...
154
- opened
155
- starting SSL for api.sandbox.paypal.com:443...
156
- SSL established
157
- <- "POST /v1/billing/subscriptions/ HTTP/1.1\r\nX-Paypal-Sandbox-Email-Address: Platform.sdk.seller@gmail.com\r\nAuthorization: Bearer A21AAG8MoVno3Y9NQ2vroTmt44Cj6hQkReVae6MxBoBIK3C-0Unfc7GWR-hEDS1YkzC9mPb-g0AT0ZFz_57dbdlC5BYSpKMWA\r\nContent-Type: application/json\r\nUser-Agent: PayPalSDK/PayPal-Ruby-SDK 1.7.3 (paypal-sdk-core 1.7.3; ruby 2.5.1p57-x86_64-darwin16;OpenSSL 1.1.1 11 Sep 2018)\r\nPaypal-Request-Id: 67140417-a458-41e5-9699-f506d94981c8\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: 816\r\n\r\n"
158
- <- "{\"plan_id\":\"P-0SF499894B180714ELUFZGZQ\",\"start_time\":\"2019-06-21T00:00:00+00:00\",\"quantity\":20,\"shipping_amount\":{\"currency_code\":\"USD\",\"value\":\"10.00\"},\"subscriber\":{\"name\":{\"given_name\":\"John\",\"surname\":\"Doe\"},\"email_address\":\"customer@example.com\",\"shipping_address\":{\"name\":{\"full_name\":\"John Doe\"},\"address\":{\"address_line_1\":\"2211 N First Street\",\"address_line_2\":\"Building 17\",\"admin_area_2\":\"San Jose\",\"admin_area_1\":\"CA\",\"postal_code\":\"95131\",\"country_code\":\"US\"}}},\"auto_renewal\":true,\"application_context\":{\"brand_name\":\"example\",\"locale\":\"en-US\",\"shipping_preference\":\"SET_PROVIDED_ADDRESS\",\"user_action\":\"SUBSCRIBE_NOW\",\"payment_method\":{\"payer_selected\":\"PAYPAL\",\"payee_preferred\":\"IMMEDIATE_PAYMENT_REQUIRED\"},\"return_url\":\"https://example.com/returnUrl\",\"cancel_url\":\"https://example.com/cancelUrl\"}}"
159
- -> "HTTP/1.1 201 Created\r\n"
160
- -> "Date: Thu, 20 Jun 2019 14:08:39 GMT\r\n"
161
- -> "Server: Apache\r\n"
162
- -> "paypal-debug-id: 3c63e360dd8\r\n"
163
- -> "HTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\n"
164
- -> "Paypal-Debug-Id: 3c63e360dd8\r\n"
165
- -> "Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1737689949%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 20 Jun 2019 14:38:43 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\n"
166
- -> "Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\n"
167
- -> "Vary: Authorization\r\n"
168
- -> "Content-Length: 453\r\n"
169
- -> "Connection: close\r\n"
170
- -> "Content-Type: application/json\r\n"
171
- -> "\r\n"
172
- reading 453 bytes...
173
- -> "{\"status\":\"APPROVAL_PENDING\",\"id\":\"I-LHUEXTYXXBY4\",\"create_time\":\"2019-06-20T14:08:43Z\",\"links\":[{\"href\":\"https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=BA-8BF77932M4407092C\",\"rel\":\"approve\",\"method\":\"GET\"},{\"href\":\"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-LHUEXTYXXBY4\",\"rel\":\"edit\",\"method\":\"PATCH\"},{\"href\":\"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-LHUEXTYXXBY4\",\"rel\":\"self\",\"method\":\"GET\"}]}"
174
- read 453 bytes
175
- Conn close
data/spec/spec_helper.rb CHANGED
@@ -35,3 +35,4 @@ RSpec.configure do |config|
35
35
  end
36
36
 
37
37
  WebMock.allow_net_connect!
38
+ MultiJson.use :oj
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-rest-pmrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2024-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -52,7 +52,21 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
- description:
55
+ - !ruby/object:Gem::Dependency
56
+ name: oj
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description:
56
70
  email:
57
71
  - piers@varyonic.com
58
72
  executables: []
@@ -70,6 +84,7 @@ files:
70
84
  - lib/generators/paypal/sdk/templates/paypal.rb
71
85
  - lib/generators/paypal/sdk/templates/paypal.yml
72
86
  - lib/paypal-sdk-core.rb
87
+ - lib/paypal-sdk-rest-pmrb.rb
73
88
  - lib/paypal-sdk-rest.rb
74
89
  - lib/paypal-sdk/core/api.rb
75
90
  - lib/paypal-sdk/core/api/base.rb
@@ -133,7 +148,7 @@ homepage: https://github.com/paypal-merchants-rb/PayPal-Ruby-SDK
133
148
  licenses:
134
149
  - PayPal SDK License
135
150
  metadata: {}
136
- post_install_message:
151
+ post_install_message:
137
152
  rdoc_options: []
138
153
  require_paths:
139
154
  - lib
@@ -148,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
163
  - !ruby/object:Gem::Version
149
164
  version: '0'
150
165
  requirements: []
151
- rubygems_version: 3.0.1
152
- signing_key:
166
+ rubygems_version: 3.4.19
167
+ signing_key:
153
168
  specification_version: 4
154
169
  summary: The PayPal REST SDK provides Ruby APIs to create, process and manage payment.
155
170
  test_files: