From 1f613567edea54743ffc3e5f662bc27eb52aa75b Mon Sep 17 00:00:00 2001 From: Daniel Dudzic Date: Mon, 29 Apr 2024 22:58:46 +0200 Subject: [PATCH] Add the additional description to the Fastlane Privacy setting --- modules/ppcp-axo/extensions.php | 5 +++++ modules/ppcp-wc-gateway/resources/css/common.scss | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/modules/ppcp-axo/extensions.php b/modules/ppcp-axo/extensions.php index fe3876be1..e730166a7 100644 --- a/modules/ppcp-axo/extensions.php +++ b/modules/ppcp-axo/extensions.php @@ -132,6 +132,11 @@ return array( 'axo_privacy' => array( 'title' => __( 'Privacy', 'woocommerce-paypal-payments' ), 'type' => 'select', + 'label' => __( + 'Require customers to confirm express payments from the Cart and Express Checkout on the checkout page. +

PayPal powers this accelerated checkout solution from Fastlane. Since you\'ll share consumers\' email addresses with PayPal, please consult your legal advisors on the apropriate privacy setting for your business.

', + 'woocommerce-paypal-payments' + ), 'desc_tip' => true, 'description' => __( 'This setting will control whether Fastlane branding is shown by email field.', diff --git a/modules/ppcp-wc-gateway/resources/css/common.scss b/modules/ppcp-wc-gateway/resources/css/common.scss index a455ac84e..1d074ee34 100644 --- a/modules/ppcp-wc-gateway/resources/css/common.scss +++ b/modules/ppcp-wc-gateway/resources/css/common.scss @@ -90,4 +90,10 @@ $background-ident-color: #fbfbfb; } } } + + .ppcp-settings-field-select { + p.description { + margin-bottom: 1em; + } + } }