Closed Jany-M closed 3 years ago
Thanks for the report @Jany-M , which version of WooCommerce is being used on the site?
WP Version: 5.6
WC Version: 4.8.0
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.1
Also added add_filter( 'wc_product_sku_enabled', '__return_false' );
to no effect, same issue.
Hi @Jany-M! This looks like a duplicate of #826. What the error log you've shared tells us is that one of the products in the order you're about to pay no longer exists. SKUs shouldn't have anything to do with it, despite get_sku()
appearing in the logs.
I'll be looking into #826 soon and so I'm closing this issue in favor of that one. Feel free to re-open if you believe this is different from #826 in any way.
Thanks again for the report!
SKU is not present, PayPal is generating a fatal error onsite, making purchases/payments impossible. Not all stores have SKUs and it should not be required. Use ID or fallback if is SKU not present, please.