WC 2.1.1 – Download Links Report "Invalid Email" – Not a theme problem. :)
-
Running WC-2.1.1 and the latest WordPress with Superstore theme that was released a few days ago. No other mods.
Download links for purchased downloadable products now give invalid links and no longer work.
e.g.:
——————-
https://www.DOMAIN.com/?download_file=161&order=wc_order_52fc224650073&email&key=a7ad43e071522ecd029927db4e3f53c0This is what people get for a link NOW.
————
https://www.DOMAIN.com/?download_file=32&order=order_52dc2f8a2e232&[email protected]&key=d01ce2248b28b56ab72d0cea2ce6c101This is what they got BEFORE (and it worked!)
—————-All downloads PRIOR to the WC-2.1.1 upgrade still work in 2.1.1. All purchases of downloads AFTER WC-2.1.1 fail.
There are no template overrides installed.
The only modification I have, is to disable checkout fields, which worked perfectly in 2.0, of course. From my functions.php:
// Remove checkout fields
function custom_override_checkout_fields( $fields ) {
unset($fields[‘order’][‘order_comments’]);
unset($fields[‘billing’][‘billing_first_name’]);
unset($fields[‘billing’][‘billing_last_name’]);
unset($fields[‘billing’][‘billing_company’]);
unset($fields[‘billing’][‘billing_address_1’]);
unset($fields[‘billing’][‘billing_address_2’]);
unset($fields[‘billing’][‘billing_city’]);
unset($fields[‘billing’][‘billing_postcode’]);
unset($fields[‘billing’][‘billing_country’]);
unset($fields[‘billing’][‘billing_state’]);
unset($fields[‘billing’][‘billing_email’]);
unset($fields[‘billing’][‘billing_phone’]);
unset($fields[‘shipping’][‘shipping_first_name’]);
unset($fields[‘shipping’][‘shipping_last_name’]);
unset($fields[‘shipping’][‘shipping_company’]);
unset($fields[‘shipping’][‘shipping_address_1’]);
unset($fields[‘shipping’][‘shipping_address_2’]);
unset($fields[‘shipping’][‘shipping_city’]);
unset($fields[‘shipping’][‘shipping_postcode’]);
unset($fields[‘shipping’][‘shipping_country’]);
unset($fields[‘shipping’][‘shipping_state’]);
return $fields;
}….I dont capture any physical information on buyers as its a restriction of the content we sell that we are not allowed to.
So, what’s going on? Thanks very much!
Ben
- The topic ‘WC 2.1.1 – Download Links Report "Invalid Email" – Not a theme problem. :)’ is closed to new replies.