• Dee Adesanwo

    (@bliteknight)


    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

Viewing 1 replies (of 1 total)
  • Juline S. a11n

    (@julinedossantos)

    Hi there,
    ?
    Thank you for bringing this issue to our attention. We are sorry that you and your customers are experiencing this critical error with WooCommerce PayPal Payments.
    ?
    From the stack trace provided, it appears that the error is related to a missing PayPal order ID in the metadata, which is causing an unhandled exception. We understand the urgency in resolving this issue, especially considering the impacts on the end-user experience.
    ?
    We are aware that other customers are also?reporting similar issues. (https://www.ads-software.com/support/topic/failed-to-retrieve-shipping-label-refund-status-2/).
    ?
    Our developers are already analyzing the case, and we will soon open an issue to monitor and resolve this error. In the meantime, we recommend the following temporary action:
    ?
    ? Rollback to previous plugin version: Rolling back to version 2.7.0 of WooCommerce PayPal Payments may mitigate the issue while we work on a permanent solution.
    ?
    We will keep everyone informed about the progress of this issue. We appreciate everyone’s patience and collaboration during this period.
    ?
    If you need additional support or have new information, please don’t hesitate to contact us.

Viewing 1 replies (of 1 total)
  • The topic ‘Shipping label created and charged but throws unhandled error’ is closed to new replies.