Closed gglobalstep closed 3 years ago
It appears this is an issue caused by a version of WooCommerce Subscriptions < 3.1 when wcs_get_order_type_cart_items
is defined. It would be great if we could get confirmation on what version of WooCommerce Subscriptions was used in this test?
Regardless, we'll need to add an additional version check or running our own version of the wcs_get_order_type_cart_items
to check for renewals and be backwards compatible with older versions of WooCommerce Subscriptions.
It appears this is an issue caused by a version of WooCommerce Subscriptions < 3.1 when
wcs_get_order_type_cart_items
is defined. It would be great if we could get confirmation on what version of WooCommerce Subscriptions was used in this test?
We have used WooCommerce Subscription with version 3.0.12
Bug Description:
When UPE checkout option is enabled from WCPay dev plugin and user adds a regular product to the cart and goes for checkout, "Fatal error" is displayed.
Environment:
Woocommerce Version : WooCommerce 5.5 WooCommerce Payments: v2.7.0-test-3
PC: Windows 10, Mac 10.14.6 Chrome(Version 91.0.4472.77) Firefox(Version 88.0) Safari: v14.0
Steps To Reproduce:
Note:
Actual Result:
"Fatal error" is displayed on Checkout page when UPE checkout option is enabled.
Expected Result:
"Fatal error" should not display on Checkout page when UPE checkout option is enabled.
Video:
https://user-images.githubusercontent.com/41110392/125478315-26ff29f1-e23b-4d62-aeae-795cf822b436.mp4
Isolating the problem (mark completed items with an [x]):