I filed a bug at github https://github.com/woothemes/woocommerce/issues/2949
but have got no response.
Have a set up where the payment gateway is Paypal.
How it used to work: Customer saves a product (virtual download) to shopping cart, gets directed to paypal, pays, comes back to site, gets email with links to virtual download.
I'm currently using woocommerce 2.0.7
Things were working until i updated to version 2.0.5
Here is my issue:
After paypal redirects customer back, the order is put on hold. If I manually process the order, I get this totally random incompletely populated invoice (/wordpress0/wp-content/plugins/woocommerce/templates/emails/email-order-items.php) instead of it being sent to the customer? The customer is not receiving the email with the downloadable products, why?
Apache error shows:
PHP Fatal error: Call to undefined function woocommerce_get_filename_from_url() in /wordpress0/wp-content/plugins/woocommerce/templates/emails/email-order-items.php on line 44, referer: http://.com/wordpress0/wp-admin/post.php?post=4158&action=edit
Any help is appreciated