Payment gateway issues after 2.4.1 update..??
-
After updating WooCommerce to 2.4 (and now 2.4.1) I’m finding some problems with some payment gateways.
PayPal Standard and Bank Transfer seem to work fine for me, but when I try Cash on Delivery I end up with this error on the checkout page: https://fiber.angelleye.com/temp/woocommerce-checkout-error.png
When I use Firebug to look at the response we’re getting at that point I see this…
<br /> <b>Notice</b>: Trying to get property of non-object in <b>/home/angelley/sandbox_woocommerce/wp-content /themes/mystile/functions/classes/class-wf-meta.php</b> on line <b>142</b><br /> {"result":"success","redirect":"http:\/\/woo.angelleye.com\/checkout\/order-received\/3316?key=wc_order_55c9c1468c26b" }
I also tried with the Twenty Twelve theme and it failed with that, too.
With the PayPal for WooCommerce plugin I’m noticing a failure at the same place, but with a different PHP notice in the JSON result at checkout. Again, I get stuck at the WC checkout page like the screenshot I posted above, except this time Firebug shows the following as the JSON result…
<br /> <b>Notice</b>: get_formatted_legacy is deprecated since version 2.4! Use Item Meta Data is being called with legacy arguments instead. in <b>/home/angelley/sandbox_woocommerce/wp-includes /functions.php</b> on line <b>3391</b> <br /> {"redirect":"https:\/\/www.sandbox.paypal.com\/cgi-bin\/webscr?cmd=_express-checkout&useraction =continue&token=EC-0F760745X3891812T","result":"success"}
So again the JSON is not valid with that PHP notice getting included in it, and I wind up stuck on the checkout page.
When I revert back to WooCommerce 2.3 these problems do not occur.
- The topic ‘Payment gateway issues after 2.4.1 update..??’ is closed to new replies.