From e98968812d54c1a639ea88fe3b34f3aeda401fd3 Mon Sep 17 00:00:00 2001 From: "WORKSTATION\\andre" Date: Tue, 4 Jul 2017 02:44:16 -0500 Subject: [PATCH] Updates verbiage and changelog, ref #788 --- .../class-wc-gateway-paypal-express-helper-angelleye.php | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/angelleye-includes/express-checkout/class-wc-gateway-paypal-express-helper-angelleye.php b/angelleye-includes/express-checkout/class-wc-gateway-paypal-express-helper-angelleye.php index 1114091b0..aeea1b0c6 100644 --- a/angelleye-includes/express-checkout/class-wc-gateway-paypal-express-helper-angelleye.php +++ b/angelleye-includes/express-checkout/class-wc-gateway-paypal-express-helper-angelleye.php @@ -663,7 +663,7 @@ public function maybe_add_shipping_information($packages) { public function angelleye_billing_agreement_notice() { if (AngellEYE_Utility::is_display_angelleye_billing_agreement_notice($this) == true) { - echo '

' . sprintf(__("Express Checkout billing agreements / reference transactions require specific approval by PayPal. Please contact PayPal to enable this feature before using it on your site. %s", 'paypal-for-woocommerce'), '"' . esc_url(add_query_arg("ignore_billing_agreement_notice", 0)) . '"', __("Hide this notice", 'paypal-for-woocommerce')) . '

'; + echo '

' . sprintf(__("PayPal Express Checkout Billing Agreements / Reference Transactions require specific approval by PayPal. Please contact PayPal to enable this feature before using it on your site. %s", 'paypal-for-woocommerce'), '"' . esc_url(add_query_arg("ignore_billing_agreement_notice", 0)) . '"', __("Hide this notice", 'paypal-for-woocommerce')) . '

'; } } } diff --git a/readme.txt b/readme.txt index 5f2ab71b5..1310bd02f 100644 --- a/readme.txt +++ b/readme.txt @@ -123,6 +123,7 @@ Automatic updates should work great for you. As always, though, we recommend ba = 1.4.5.1 - 07.xx.2017 = * Tweak - Ensures a Billing Agreement is always included with Express Checkout for Woo Subscription products. ([#789](https://github.com/angelleye/paypal-woocommerce/issues/789)) +* Tweak - Adds an admin notice any time your settings would require a PayPal Express Checkout Billing agreement. ([#788](https://github.com/angelleye/paypal-woocommerce/issues/788)) * Fix - Resolves a PHP fatal error. ([#762](https://github.com/angelleye/paypal-woocommerce/issues/762)) * Fix - More adjustments to Express Checkout shipping address. ([#765](https://github.com/angelleye/paypal-woocommerce/issues/765))