sbask
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Cannot upgrade to PHP 8Idiots broke it again in the latest Stripe update.
I had to edit line 370
Folks I don’t mind updating… I DO mind it when you break stuff you fixed.
$product_price = (int)$product->get_price() + (int)WC_Subscriptions_Product::get_sign_up_fee( $product );
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Cannot upgrade to PHP 8I did all of those. The error is in this part of the code, Can I get someone to fix this in the code so I don’t have to manually fix it every time?
The issue was in the file: ‘/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php’ line 365, where I had to add (int) casting to both values:
broken:
$product_price = $product->get_price() + WC_Subscriptions_Product::get_sign_up_fee( $product );
fixed:
$product_price = (int)$product->get_price() + (int)WC_Subscriptions_Product::get_sign_up_fee( $product );
I’m in the same boat, just tried this plug in on a test web site and got totally locked out.
Has this been fixed in later versions of the subscription plug in?
Add me to the list of impacted folks.
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] Can we edit the excerpt?ISSUE 18.10 • 2021-03-15 ASKWOODY By Chris Husted Is he having fun yet? Late last year, after 28 years of publishing everything everyone needed to kno
That is part of the post but we’d like a bit more control over what gets included as an exerpt.