You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the error i get see start from
$order->set_status($wc_order_status);
$order->save();
when the order have subscriptions, the error happens on file \wp-content\plugins\woocommerce-subscriptions\vendor\woocommerce\subscriptions-core\includes\class-wcs-download-handler.php on line 70
on line 63 wcs_order_contains_subscription( $order, 'any' ) which is true ang call
$subscriptions = wcs_get_subscriptions_for_order( $order, array( 'order_type' => array( 'any' ) ) );
Describe the bug
I get that error developing a payment plugin that supports subscriptions.
To Reproduce
the error i get see start from
$order->set_status($wc_order_status);
$order->save();
when the order have subscriptions, the error happens on file
\wp-content\plugins\woocommerce-subscriptions\vendor\woocommerce\subscriptions-core\includes\class-wcs-download-handler.php on line 70
where not get subscription object
Expected behavior
get subscription object no array with bool
Actual behavior
Product impact
Additional context
plugin details:
WooCommerce Subscriptions Version 6.4.1
WooCommerce Version 9.0.2
The text was updated successfully, but these errors were encountered: