Skip to content

Commit 09bac72

Browse files
authored
ECE additional log (#3618)
* log permalink when with ssl log for ece * add changelog
1 parent 99cabe3 commit 09bac72

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Update - Improve accuracy of webhook status information displayed in settings page.
77
* Tweak - Standardize ECE Express payment buttons on Pay for Order page to match cart and checkout itemization behavior.
88
* Tweak - Remove duplicate notice about the new checkout experience.
9+
* Tweak - Include page URL information in the SSL-required log for the Stripe Express Checkout Element.
910
* Fix - Fix ECE modal not loading on pay for order page when coupon is applied.
1011
* Fix - Do not load express payment buttons on switch subscription page.
1112
* 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.

includes/payment-methods/class-wc-stripe-express-checkout-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ public function should_show_express_checkout_button() {
544544

545545
// If no SSL bail.
546546
if ( ! $this->testmode && ! is_ssl() ) {
547-
WC_Stripe_Logger::log( 'Stripe Express Checkout live mode requires SSL.' );
547+
WC_Stripe_Logger::log( 'Stripe Express Checkout live mode requires SSL. ' . print_r( [ 'url' => get_permalink() ], true ) );
548548
return false;
549549
}
550550

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
116116
* Update - Improve accuracy of webhook status information displayed in settings page.
117117
* Tweak - Standardize ECE Express payment buttons on Pay for Order page to match cart and checkout itemization behavior.
118118
* Tweak - Remove duplicate notice about the new checkout experience.
119+
* Tweak - Include page URL information in the SSL-required log for the Stripe Express Checkout Element.
119120
* Fix - Fix ECE modal not loading on pay for order page when coupon is applied.
120121
* Fix - Do not load express payment buttons on switch subscription page.
121122
* 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.

0 commit comments

Comments
 (0)