- { settings.sandboxConnected && (
-
- }
- >
-
-
-
-
-
-
- ) }
- { ! settings.sandboxConnected && (
-
- updateFormValue(
- 'sandboxConnected',
- true
- )
- }
- >
- { __(
- 'Connect Sandbox Account',
- 'woocommerce-paypal-payments'
- ) }
-
- ),
- },
- {
- id: 'manual_connect',
- value: 'manual_connect',
- label: __(
- 'Manual Connect',
- 'woocommerce-paypal-payments'
- ),
- description: sprintf(
- __(
- 'For advanced users: Connect a custom PayPal REST app for full control over your integration. For more information on creating a PayPal REST application, click here.',
- 'woocommerce-paypal-payments'
- ),
- '#'
- ),
- additionalContent: (
- <>
-
-
-
- >
- ),
- },
- ] }
- actionProps={ {
- name: 'paypal_connect_sandbox',
- key: 'sandboxMode',
- currentValue: settings.sandboxMode,
- callback: updateFormValue,
- } }
- />
- ) }
-
- );
-};
-
-export default Sandbox;
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/ExpertSettings.js b/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/ExpertSettings.js
index fd949b8c2..0bc2914f3 100644
--- a/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/ExpertSettings.js
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/ExpertSettings.js
@@ -4,7 +4,7 @@ import {
Content,
ContentWrapper,
} from '../../../ReusableComponents/SettingsBlocks';
-import Sandbox from './Blocks/Sandbox';
+import ConnectionDetails from './Blocks/ConnectionDetails';
import Troubleshooting from './Blocks/Troubleshooting/Troubleshooting';
import PaypalSettings from './Blocks/PaypalSettings';
import OtherSettings from './Blocks/OtherSettings';
@@ -27,7 +27,7 @@ const ExpertSettings = ( { updateFormValue, settings } ) => {
>