• 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:

    2021-10-13T13:29:36+00:00 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

    can anyone help?

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

The topic ‘Woocommerce Paypal error’ is closed to new replies.