• Resolved amsssc

    (@amsssc)


    Hi,
    
    I installed woocommerce paypal plugin, and when i try to make a payment gives me an error as follow:
    “Something went wrong. Please try again or choose another payment source.”
    
    I enabled the debug log mode and this is what appears on the log:

    CRITICAL Uncaught Error: Call to a member function get_name() on bool in /home/eve/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/class-itemfactory.php:129
    Stack trace:
    #0 /home/eve/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/class-itemfactory.php(89): WooCommerce\PayPalCommerce\ApiClient\Factory\ItemFactory->from_wc_order_line_item(Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #1 [internal function]: WooCommerce\PayPalCommerce\ApiClient\Factory\ItemFactory->WooCommerce\PayPalCommerce\ApiClient\Factory\{closure}(Object(WC_Order_Item_Product))
    #2 /home/eve/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/class-itemfactory.php(91): array_map(Object(Closure), Array)
    #3 /home/eve/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/class-amountfactory.php(104): WooCommerce\PayPalCommerce\ApiClient\Fa in /home/eve/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/class-itemfactory.php on line 129

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @amsssc

    thank you for reaching out to us; we are here to help.
    We would like to take a closer look into this issue and try to recreate the setup for causing this issue. In order to do that we would like to get your system report and the complete logs from you. You can copy the logfiles from here:
    – WooCommerce > Status > Get system report > Copy for support
    – WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.
    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)

    If you have any further details or ideas on what might be causing this or to what products or payment options this issue occurs, please share those type of details as well.

    Thank you.
    Kind regards,
    Joost

    Thread Starter amsssc

    (@amsssc)

    Hi Joost,

    Thank you for your reply, I just submitted a request support, as per your suggestion.

    Although I checked the logs and I don’t have one called “woocommerce-paypal-payments-integration-\[…\]”, only one that says fatal error and another one that says woocommerce payments.

    Thank you.
    Regards
    Marisa

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @amsssc

    I got your ticket and replied to you. I will mark this as resolved and continue handling the issue on the service desk ticket for now.

    Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught Error: Call to a member function get_name() on bool’ is closed to new replies.