[17-09-2020 11:00:23] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:00:23 GMT, Paypal-Debug-Id: 7a3c09bbe0ae2, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:30:24 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32400,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:00:25] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:05:23+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:00:24 GMT, Paypal-Debug-Id: bc2fa56de2599, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:30:25 GMT; HttpOnly; Secure, 
[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"bc2fa56de2599","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:00:26] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:00:41] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:00:41 GMT, Paypal-Debug-Id: f154ca1c3a54c, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:30:41 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32383,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:00:42] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:05:41+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:00:41 GMT, Paypal-Debug-Id: ebe7327d8acbf, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:30:42 GMT; HttpOnly; Secure, 
[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"ebe7327d8acbf","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:00:43] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:06:39] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:06:39 GMT, Paypal-Debug-Id: 281605dd79bb1, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:36:39 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32025,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:06:40] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:11:39+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:06:40 GMT, Paypal-Debug-Id: 2671775e5d585, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:36:40 GMT; HttpOnly; Secure, 
[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"2671775e5d585","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:06:41] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:09:45] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:09:45 GMT, Paypal-Debug-Id: c51ec4b0d97f2, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:39:45 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":31839,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:09:46] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:14:45+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:09:46 GMT, Paypal-Debug-Id: 723eaeffbb628, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:39:46 GMT; HttpOnly; Secure, 
[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"723eaeffbb628","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:09:47] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:18:39] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:18:38 GMT, Paypal-Debug-Id: 4374c271cfbd0, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:48:39 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":31305,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:18:40] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:23:39+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:18:40 GMT, Paypal-Debug-Id: 826859e3b9856, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:48:40 GMT; HttpOnly; Secure, 
[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"826859e3b9856","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:18:41] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:23:17] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:23:16 GMT, Paypal-Debug-Id: c96835301a9d1, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:53:17 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":31027,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:23:18] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:28:17+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 239, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:23:18 GMT, Paypal-Debug-Id: 8604a7800c0a, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:53:18 GMT; HttpOnly; Secure, 
[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"8604a7800c0a","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:23:19] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:25:23] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:25:22 GMT, Paypal-Debug-Id: 341b0d5b24a30, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:55:23 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":30901,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:25:24] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:30:23+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:25:24 GMT, Paypal-Debug-Id: cd6379753c0e9, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:55:24 GMT; HttpOnly; Secure, 
[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"cd6379753c0e9","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:25:25] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:26:18 GMT, Paypal-Debug-Id: e4a1a98596f5b, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:56:18 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":30846,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:26:19] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:26:20] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:26:20] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:31:19+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:26:20] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:26:20] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:26:19 GMT, Paypal-Debug-Id: c91d018149301, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 11:56:19 GMT; HttpOnly; Secure, 
[17-09-2020 11:26:20] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"c91d018149301","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:26:21] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 11:34:36] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:34:35 GMT, Paypal-Debug-Id: ba8c9904e2556, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 12:04:36 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":30348,"nonce":"2020-09-17T11:00:24ZnahakBIGmMFSUR2bdyl3sHyIpqUSsbiFc9--VuoK-YA"}

================================================================================================================================

[17-09-2020 11:34:37] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAL95mS8jP5MiLxAqrWgNERk20o9VCjekmAkV_OHXsR6AsEgjDCnbMe_cX17k76Pg79YsuZrLsQAdW_AI5tqcNqQ8V-mzw, Content-Length: 179, , 
[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T11:39:36+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 11:34:36 GMT, Paypal-Debug-Id: 48d7eb4a6def7, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 12:04:37 GMT; HttpOnly; Secure, 
[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"48d7eb4a6def7","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 11:34:38] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

[17-09-2020 13:02:17] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Basic QWFmcTBKVE9TMGlER3dDNWFDNlBFaXNkbzlVS3FMd2lQR1NEcFZXR1ptUDBmQU5WZ0kwRV9kQVo3cU90bGZacENHN2ZEcmZJQUZ5eDlDbmI6RUVsbUxtME9YY0UzdWJ6WjA0WEYycEFEakllcFJ5ckF2OVc3X3dKb2NJcVp3VUgyQU80RG9yYXhoNkRtdEZaSXZUaENrc0hNRmdxVmFXT1g=, Accept: */*, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, , 
[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 918, Content-Type: application/json, Date: Thu, 17 Sep 2020 13:02:17 GMT, Paypal-Debug-Id: 5790c664e41bc, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 13:32:17 GMT; HttpOnly; Secure, X-Paypal-Token-Service: IAAS, 
[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : DEBUG: Response Data 	: {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"A21AAKJhkZyoQvAlFiUo6SauSZjui_VFbWynBWNCEcCEXr17JvyKIb5PDEOMwWu5l1a9JZo1eKFpMC2cArFterexBmjh_adlA","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32400,"nonce":"2020-09-17T13:02:17ZXTAoPivxF4WHdIJ2bzRtvcolES-1kAUE1hAtiMd3wfk"}

================================================================================================================================

[17-09-2020 13:02:18] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/billing-agreements/
[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers 	: POST /v1/payments/billing-agreements/ HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.2.30; bit=64; os=Windows_NT_10.0; machine=AMD64; crypto-lib-ver=1.1.1d; curl=7.67.0), Authorization: Bearer A21AAKJhkZyoQvAlFiUo6SauSZjui_VFbWynBWNCEcCEXr17JvyKIb5PDEOMwWu5l1a9JZo1eKFpMC2cArFterexBmjh_adlA, Content-Length: 179, , 
[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data		: {"name":"App Name Monthly Subscription Agreement","description":"Basic Subscription","start_date":"2020-09-17T13:07:17+00:00","plan":{"id":""},"payer":{"payment_method":"paypal"}}
--------------------------------------------------------------------------------------------------------------------------------

[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 400
[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers	: Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Content-Length: 240, Content-Type: application/json, Date: Thu, 17 Sep 2020 13:02:18 GMT, Paypal-Debug-Id: 3e19ebde99ce0, Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dapiplatformproxyserv%26TIME%3D1591643782%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Thu, 17 Sep 2020 13:32:18 GMT; HttpOnly; Secure, 
[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/. {"name":"TEMPLATE_ID_INVALID","debug_id":"3e19ebde99ce0","message":"","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"template id is invalid","issue":"Incorrect Plan Id."}]}
[17-09-2020 13:02:19] PayPal\Core\PayPalHttpConnection : DEBUG: 

================================================================================================================================

