From 9563d60427b827c89343ab55ba0230ed8ce9e5ca Mon Sep 17 00:00:00 2001 From: David Remer Date: Thu, 2 Jul 2020 13:10:53 +0300 Subject: [PATCH] add onboarding field to settings --- modules.local/ppcp-wc-gateway/services.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules.local/ppcp-wc-gateway/services.php b/modules.local/ppcp-wc-gateway/services.php index 972a41519..ef80ce255 100644 --- a/modules.local/ppcp-wc-gateway/services.php +++ b/modules.local/ppcp-wc-gateway/services.php @@ -126,6 +126,13 @@ return [ 'reset' ); return [ + 'ppcp_onboarding' => [ + 'title' => __('Connect to PayPal', 'woocommerce-paypal-gateway'), + 'type' => 'ppcp_onboarding', + 'screens' => [ + State::STATE_PROGRESSIVE, + ], + ], 'sandbox_on' => [ 'title' => __('Sandbox', 'woocommerce-paypal-gateway'), 'type' => 'checkbox',