• Resolved kattouf

    (@kattouf)


    See lots of these in the logs. thanks.

    [12-Sep-2024 22:24:21 UTC] PHP Warning: Undefined property: stdClass::$invoice_id in /home/xxxxxx/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/CaptureFactory.php on line 86

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @kattouf

    Thanks for reaching out to us, we’re here to help.

    The warning you’re seeing indicates that the PayPal API response is missing the invoice_id field, which is expected by the plugin at the point where the error occurs. Could you please share a screenshot of your connection tab with the “Invoice prefix” option visible?

    Thank you in advance for your cooperation.

    Kind Regards,

    Krystian

    Thread Starter kattouf

    (@kattouf)

    yes it’s filled in https://ibb.co/qDmLLLm

    We have hundreds of orders a day and it’s works in general. Also we use woo subscriptions. I’m not sure when the error occurs but i saw plenty.

    j

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @kattouf

    Would be helpful to get a complete copy of your debug log along with the PayPal Payments logs from the last few days. This will allow us to check the logs and potentially match the warnings with some API responses from PayPal. It seems that for some reason, PayPal’s response may not be including the necessary data, which is unusual. However, we can better assess the situation with the plugin logs.

    You can retrieve these logs by following these steps:

    1. Go to WooCommerce > Status > Logs.
    2. Select the most recent “woocommerce-paypal-payments” log file associated with the date of the failed order.

    Once you have the log entries, please upload them to our PrivateBin. After uploading, send us the link, and we’ll review them in detail to help resolve the issue.

    Kind Regards,

    Krystian

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @kattouf

    Since we have not received any further communication from you, we are assuming that your issue has been resolved.

    Therefore, we mark this thread as resolved. If you still have any questions or if a new problem arises, don’t hesitate to open a new thread.

    Kind regards,
    Krystian

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Warning: Undefined property: stdClass::$invoice_id’ is closed to new replies.