diff --git a/changelog.txt b/changelog.txt index 35f2f61b6..f148a487b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ * Update - Improve accuracy of webhook status information displayed in settings page. * Tweak - Standardize ECE Express payment buttons on Pay for Order page to match cart and checkout itemization behavior. * Tweak - Remove duplicate notice about the new checkout experience. +* Tweak - Include page URL information in the SSL-required log for the Stripe Express Checkout Element. * Fix - Fix ECE modal not loading on pay for order page when coupon is applied. * Fix - Do not load express payment buttons on switch subscription page. * Fix - Return 'is_live' as true in account summary response when test mode is disabled in gateway settings and charge is enabled in Stripe account. diff --git a/includes/payment-methods/class-wc-stripe-express-checkout-helper.php b/includes/payment-methods/class-wc-stripe-express-checkout-helper.php index c69ae469a..e50244694 100644 --- a/includes/payment-methods/class-wc-stripe-express-checkout-helper.php +++ b/includes/payment-methods/class-wc-stripe-express-checkout-helper.php @@ -544,7 +544,7 @@ public function should_show_express_checkout_button() { // If no SSL bail. if ( ! $this->testmode && ! is_ssl() ) { - WC_Stripe_Logger::log( 'Stripe Express Checkout live mode requires SSL.' ); + WC_Stripe_Logger::log( 'Stripe Express Checkout live mode requires SSL. ' . print_r( [ 'url' => get_permalink() ], true ) ); return false; } diff --git a/readme.txt b/readme.txt index 17928f3f6..64e9c3c91 100644 --- a/readme.txt +++ b/readme.txt @@ -116,6 +116,7 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o * Update - Improve accuracy of webhook status information displayed in settings page. * Tweak - Standardize ECE Express payment buttons on Pay for Order page to match cart and checkout itemization behavior. * Tweak - Remove duplicate notice about the new checkout experience. +* Tweak - Include page URL information in the SSL-required log for the Stripe Express Checkout Element. * Fix - Fix ECE modal not loading on pay for order page when coupon is applied. * Fix - Do not load express payment buttons on switch subscription page. * Fix - Return 'is_live' as true in account summary response when test mode is disabled in gateway settings and charge is enabled in Stripe account.