From 143bcd75a11e4105563240ce8fc7b50ce68dfabe Mon Sep 17 00:00:00 2001 From: Philipp Stracker Date: Thu, 2 Jan 2025 18:52:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Add=20comments=20to=20document?= =?UTF-8?q?=20auth=20flow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ppcp-settings/src/Service/ConnectionManager.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ppcp-settings/src/Service/ConnectionManager.php b/modules/ppcp-settings/src/Service/ConnectionManager.php index 1cffb155c..1554d5045 100644 --- a/modules/ppcp-settings/src/Service/ConnectionManager.php +++ b/modules/ppcp-settings/src/Service/ConnectionManager.php @@ -87,6 +87,8 @@ class ConnectionManager { /** * Checks if the provided ID and secret have a valid format. * + * Part of the "Direct Connection" (Manual Connection) flow. + * * On failure, an Exception is thrown, while a successful check does not * generate any return value. * @@ -113,6 +115,8 @@ class ConnectionManager { * Disconnects the current merchant, and then attempts to connect to a * PayPal account using a client ID and secret. * + * Part of the "Direct Connection" (Manual Connection) flow. + * * @param bool $use_sandbox Whether to use the sandbox mode. * @param string $client_id The client ID. * @param string $client_secret The client secret.