Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter helenwhite

    (@helenwhite)

    We have just upgraded Woocommerce to the latest version (2.4.12) in the hope that that might fix it, but no joy.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    It may be related to this as your server needs to connect to PayPal in order to do the refund https://core.trac.wordpress.org/ticket/34935

    Thread Starter helenwhite

    (@helenwhite)

    Have replaced the ca-bundle.crt with the file they uploaded, but that hasn’t fixed it. Not sure what else to try?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    You should look in your server error logs then to see if there are connection errors logged.

    Thread Starter helenwhite

    (@helenwhite)

    These are in the error logs:

    realshaving.com [Wed Dec 16 13:39:14 2015] [error] [client 195.171.242.98:35978] AH01215: PHP Warning: Invalid argument supplied for foreach() in /home/sites/realshaving.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php on line 474: /home/sites/realshaving.com/public_html/wp-admin/post.php

    realshaving.com [Wed Dec 16 13:39:14 2015] [error] [client 195.171.242.98:35978] AH01215: PHP Warning: Invalid argument supplied for foreach() in /home/sites/realshaving.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php on line 1005: /home/sites/realshaving.com/public_html/wp-admin/post.php

    Guessing this is unrelated?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Unrelated yes.

    Looks like we log refund requests too – have you checked the paypal log (if enabled)? https://github.com/woothemes/woocommerce/blob/master/includes/gateways/paypal/includes/class-wc-gateway-paypal-refund.php#L67

    Thread Starter helenwhite

    (@helenwhite)

    It looks like this is now working. There is a particular order that we are having problems with, the refund fails, but now just for that order.

    For some reason WordPress cancelled the order, it says the customer cancelled it, but there is no way the customer can cancel the order (any idea how this would happen?). Also the customer received an email saying she had received a refund when she actually hasn’t. All a bit of a muddle but it seems to be an isolated order.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    If the user didn’t pay at all, after X minutes it will auto-cancel. Nothing to refund.

    Hello Mike,

    same problem for me. I updated the ca-bundle.crt file but refund is not working.
    I enabled the paypal log but found no file in the directory (permissions are ok) after trying to refund an order.

    Think the problem may be related to this other topic.

    Please help!
    Thanks in advance

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

The topic ‘Paypal refund failed’ is closed to new replies.