@@ -1288,7 +1288,7 @@ if (PHP_SAPI == 'cli') {
@@ -1353,7 +1353,7 @@ if (PHP_SAPI == 'cli') {
class="fa fa-github">
PayPal PHP SDK
- REST API Reference
diff --git a/sample/notifications/CreateWebhook.php b/sample/notifications/CreateWebhook.php
index c82796e..5b3710c 100644
--- a/sample/notifications/CreateWebhook.php
+++ b/sample/notifications/CreateWebhook.php
@@ -3,7 +3,7 @@
// # Create Webhook Sample
//
// This sample code demonstrate how you can create a webhook, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#create-a-webhook
+// https://developer.paypal.com/docs/api/#create-a-webhook
// API used: POST /v1/notifications/webhooks
require __DIR__ . '/../bootstrap.php';
diff --git a/sample/notifications/GetWebhook.php b/sample/notifications/GetWebhook.php
index ce88368..bbb1f89 100644
--- a/sample/notifications/GetWebhook.php
+++ b/sample/notifications/GetWebhook.php
@@ -3,7 +3,7 @@
// # Get Webhook Sample
//
// This sample code demonstrate how you can get a webhook, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#get-a-webhook
+// https://developer.paypal.com/docs/api/#get-a-webhook
// API used: GET /v1/notifications/webhooks/
// ## Get Webhook ID.
diff --git a/sample/notifications/ListSubscribedWebhookEventTypes.php b/sample/notifications/ListSubscribedWebhookEventTypes.php
index bfb37e9..a91b296 100644
--- a/sample/notifications/ListSubscribedWebhookEventTypes.php
+++ b/sample/notifications/ListSubscribedWebhookEventTypes.php
@@ -3,7 +3,7 @@
// # Get Webhook Sample
//
// This sample code demonstrate how you can get a webhook, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#get-a-webhook
+// https://developer.paypal.com/docs/api/#get-a-webhook
// API used: GET /v1/notifications/webhooks/
// ## List Subscribed Event Types
diff --git a/sample/notifications/ListWebhooks.php b/sample/notifications/ListWebhooks.php
index f3b3b18..16d8ee7 100644
--- a/sample/notifications/ListWebhooks.php
+++ b/sample/notifications/ListWebhooks.php
@@ -3,7 +3,7 @@
// # Get All Webhooks Sample
//
// Use this call to list all the webhooks, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#list-all-webhooks
+// https://developer.paypal.com/docs/api/#list-all-webhooks
// API used: GET /v1/notifications/webhooks
// ## List Webhooks
diff --git a/sample/notifications/UpdateWebhook.php b/sample/notifications/UpdateWebhook.php
index c216cf0..e338815 100644
--- a/sample/notifications/UpdateWebhook.php
+++ b/sample/notifications/UpdateWebhook.php
@@ -3,7 +3,7 @@
// # Update Webhook Sample
//
// This sample code demonstrate how to use this call to update a webhook; supports the replace operation only, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#update-a-webhook
+// https://developer.paypal.com/docs/api/#update-a-webhook
// API used: PATCH v1/notifications/webhooks/
// ## Get Webhook ID.
diff --git a/sample/notifications/WebhookEventTypesList.php b/sample/notifications/WebhookEventTypesList.php
index c8589b5..1607f5b 100644
--- a/sample/notifications/WebhookEventTypesList.php
+++ b/sample/notifications/WebhookEventTypesList.php
@@ -3,7 +3,7 @@
// # Get Reference List of all Webhook Event Types
//
// This sample code demonstrate how you can get reference list of all webhook event types, as documented here at:
-// https://developer.paypal.com/webapps/developer/docs/api/#get-a-reference-list-of-webhook-event-types
+// https://developer.paypal.com/docs/api/#get-a-reference-list-of-webhook-event-types
// API used: GET /v1/notifications/webhooks-event-types
$apiContext = require __DIR__ . '/../bootstrap.php';
diff --git a/sample/payment-experience/CreateWebProfile.php b/sample/payment-experience/CreateWebProfile.php
index 2e15fd2..0f7481e 100644
--- a/sample/payment-experience/CreateWebProfile.php
+++ b/sample/payment-experience/CreateWebProfile.php
@@ -4,7 +4,7 @@ require __DIR__ . '/../bootstrap.php';
// ### Create Web Profile
// Use the /web-profiles resource to create seamless payment experience profiles. See the payment experience overview for further information about using the /payment resource to create the PayPal payment and pass the experience_profile_id.
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#create-a-web-experience-profile
+// Documentation available at https://developer.paypal.com/docs/api/#create-a-web-experience-profile
// Lets create an instance of FlowConfig and add
// landing page type information
diff --git a/sample/payment-experience/DeleteWebProfile.php b/sample/payment-experience/DeleteWebProfile.php
index dc66b9a..f25bde7 100644
--- a/sample/payment-experience/DeleteWebProfile.php
+++ b/sample/payment-experience/DeleteWebProfile.php
@@ -2,7 +2,7 @@
// #### Delete Web Profile
// Use this call to delete a web experience profile.
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#delete-a-web-experience-profile
+// Documentation available at https://developer.paypal.com/docs/api/#delete-a-web-experience-profile
// We are going to re-use the sample code from CreateWebProfile.php.
// If you have not visited the sample yet, please visit it before trying GetWebProfile.php
diff --git a/sample/payment-experience/GetWebProfile.php b/sample/payment-experience/GetWebProfile.php
index 6b06f82..d216d43 100644
--- a/sample/payment-experience/GetWebProfile.php
+++ b/sample/payment-experience/GetWebProfile.php
@@ -2,7 +2,7 @@
// ### Get Web Profile
// If your request is successful, the API returns a web_profile object response that contains the profile details.
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#retrieve-a-web-experience-profile
+// Documentation available at https://developer.paypal.com/docs/api/#retrieve-a-web-experience-profile
// We are going to re-use the sample code from CreateWebProfile.php.
// If you have not visited the sample yet, please visit it before trying GetWebProfile.php
diff --git a/sample/payment-experience/ListWebProfiles.php b/sample/payment-experience/ListWebProfiles.php
index 6b838e1..e0cba22 100644
--- a/sample/payment-experience/ListWebProfiles.php
+++ b/sample/payment-experience/ListWebProfiles.php
@@ -3,7 +3,7 @@
$apiContext = require __DIR__ . '/../bootstrap.php';
// ### Retrieve List of All Web Profiles
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#list-web-experience-profiles
+// Documentation available at https://developer.paypal.com/docs/api/#list-web-experience-profiles
// Retrieve the list of all web profiles by calling the
// static `get_list` method on the WebProfile class.
diff --git a/sample/payment-experience/PartiallyUpdateWebProfile.php b/sample/payment-experience/PartiallyUpdateWebProfile.php
index 5ab53b5..9e79332 100644
--- a/sample/payment-experience/PartiallyUpdateWebProfile.php
+++ b/sample/payment-experience/PartiallyUpdateWebProfile.php
@@ -2,7 +2,7 @@
// #### Partially Update Web Profile
// Use this call to partially update a web experience profile.
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#partially-update-a-web-experience-profile
+// Documentation available at https://developer.paypal.com/docs/api/#partially-update-a-web-experience-profile
// We will be re-using the sample code to get a web profile. GetWebProfile.php will
// create a new web profileId for sample, and return the web profile object.
diff --git a/sample/payment-experience/UpdateWebProfile.php b/sample/payment-experience/UpdateWebProfile.php
index 697a92b..0752ba4 100644
--- a/sample/payment-experience/UpdateWebProfile.php
+++ b/sample/payment-experience/UpdateWebProfile.php
@@ -2,7 +2,7 @@
// #### Update Web Profile
// Use this call to update an experience profile.
-// Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#update-a-web-experience-profile
+// Documentation available at https://developer.paypal.com/docs/api/#update-a-web-experience-profile
// We will be re-using the sample code to get a web profile. GetWebProfile.php will
// create a new web profileId for sample, and return the web profile object.
diff --git a/sample/payments/AuthorizationCapture.php b/sample/payments/AuthorizationCapture.php
index 03cb715..7a5bed4 100644
--- a/sample/payments/AuthorizationCapture.php
+++ b/sample/payments/AuthorizationCapture.php
@@ -1,16 +1,16 @@
";
// ### Capture Payment
diff --git a/sample/payments/UpdatePayment.php b/sample/payments/UpdatePayment.php
index f6cad80..0640270 100644
--- a/sample/payments/UpdatePayment.php
+++ b/sample/payments/UpdatePayment.php
@@ -6,7 +6,7 @@
// ## NOTE
// Note that it can only be updated before the execute is done. Once, the payment is executed it is not
// possible to udpate that.
-// Docs: https://developer.paypal.com/webapps/developer/docs/api/#update-a-payment-resource
+// Docs: https://developer.paypal.com/docs/api/#update-a-payment-resource
// API used: PATCH /v1/payments/payment/
/** @var Payment $createdPayment */
diff --git a/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCancel.json b/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCancel.json
index a3850ae..cd3f36d 100644
--- a/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCancel.json
+++ b/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCancel.json
@@ -57,7 +57,7 @@
"errors":{
"name":"RECEIVER_UNREGISTERED",
"message":"Receiver is unregistered",
- "information_link": "https://developer.paypal.com/webapps/developer/docs/api/#RECEIVER_UNREGISTERED"
+ "information_link": "https://developer.paypal.com/docs/api/#RECEIVER_UNREGISTERED"
},
"links":[
{