Shipping label created and charged but throws unhandled error
-
Not sure when this update was done but I have these two plugins installed and active:
WooCommerce Stripe Gateway – Version 8.3.0?
WooCommerce PayPal Payments – Version 2.7.1
WooCommerce Shipping & Tax – Version 2.5.7
Currently only taking Stripe payment, so when I go to create a shipping label I get an unexpected error and I don’t see the shipping label. I try again and the same thing happens. I refresh the page and notice I have shipping labels associated with my order. So I turned on debugging and look at the logs and see this error when I try to create a label[29-May-2024 18:45:22 UTC] PHP Fatal error: Uncaught InvalidArgumentException: PayPal order ID not found in meta. in <REDACTED>/wp-content/plugins/woocommerce-paypal-payments/api/order-functions.php:38 Stack trace: #0 <REDACTED>/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Integration/WcShippingTaxIntegration.php(104): WooCommerce\PayPalCommerce\Api\ppcp_get_paypal_order() #1 <REDACTED>/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\OrderTracking\Integration\WcShippingTaxIntegration->WooCommerce\PayPalCommerce\OrderTracking\Integration\{closure}() #2 <REDACTED>/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 <REDACTED>/wp-includes/rest-api/class-wp-rest-server.php(462): apply_filters() #4 <REDACTED>/wp-includes/rest-api.php(428): WP_REST_Server->serve_request() #5 <REDACTED>/wp-includes/class-wp-hook.php(324): rest_api_loaded() #6 <REDACTED>/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 <REDACTED>/wp-includes/plugin.php(565): WP_Hook->do_action() #8 <REDACTED>/wp-includes/class-wp.php(418): do_action_ref_array() #9 <REDACTED>/wp-includes/class-wp.php(813): WP->parse_request() #10 <REDACTED>/wp-includes/functions.php(1336): WP->main() #11 <REDACTED>/wp-blog-header.php(16): wp() #12 <REDACTED>/index.php(17): require('...') #13 {main} thrown in <REDACTED>/wp-content/plugins/woocommerce-paypal-payments/api/order-functions.php on line 38
So i disable the WooCommerce PayPal Payments plugin and my labels get generated with no issues.
Hopefully the right team can fix this
- The topic ‘Shipping label created and charged but throws unhandled error’ is closed to new replies.