From 628c83b7b9a65f88d6adda760c722aa9964712a2 Mon Sep 17 00:00:00 2001 From: Narek Zakarian Date: Fri, 15 Aug 2025 20:32:46 +0400 Subject: [PATCH] Add settings page URL to JS config --- modules/ppcp-settings/src/SettingsModule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ppcp-settings/src/SettingsModule.php b/modules/ppcp-settings/src/SettingsModule.php index 9d9b68488..d0f5913d5 100644 --- a/modules/ppcp-settings/src/SettingsModule.php +++ b/modules/ppcp-settings/src/SettingsModule.php @@ -165,6 +165,7 @@ class SettingsModule implements ServiceModule, ExecutableModule { 'Are you sure you want to switch to the new settings interface?This action cannot be undone.', 'woocommerce-paypal-payments' ), + 'settingsUrl' => admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway' ), ) );