• Resolved octaviomiyagui

    (@octaviomiyagui)


    Hello

    We are receiving errors when refunding customer orders created with this plugin, the order says it succeeded on refunding but it’s actually not the case.

    Reviewing the log file we can see the following error happens:

    PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-content/plugins/eh-paypal-express-checkout/includes/class-paypal-express-api.php:2988
    Stack trace:
    #0 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-order-functions.php(708): Eh_PayPal_Express_Payment->process_refund()
    #1 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-order-functions.php(624): wc_refund_payment()
    #2 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2199): wc_create_refund()
    #3 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-includes/class-wp-hook.php(310): WC_AJAX::refund_line_items()
    #4 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #5 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-admin/admin-ajax.php(188): do_action()
    #7 {main}
      thrown in /var/www/vhosts/terrahealthessentials.com/httpdocs/wp-content/plugins/eh-paypal-express-checkout/includes/class-paypal-express-api.php on line 2988

    So the error indicates that it could not read a property because of “string on string”. Reviewing the code for class-paypal-express-api.php we learn that it wants to retrieve order metadata _eh_pe_details and after checking the database, the order does not have that metadata field at all.

    Since we are experiencing this error with most ( all ) of our orders created with this plugin, we urge your help.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @octaviomiyagui,

    We are sorry for the inconvenience caused.

    Please share the version number of the Stripe Payment Gateway plugin and your WooCommerce System status report (WooCommerce -> Status -> Get system status report) with us for a better understanding.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @octaviomiyagui,

    We haven’t heard back from you.

    As this thread has been inactive for a while, we are marking it as resolved. If you still need assistance with the plugin, you may create a topic by sharing the requested information.

    Awaiting your response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘_eh_pe_details missing’ is closed to new replies.