Emailed invoice showing document.cookie text multiple times
When pays for an order via PayPal the shop invoice that gets emailed to them is showing:
document.cookie = "wpcoauth=wpco528bd4bae02ae9.62036652; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae069e6.08700895; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae15103.82366921; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae1f2e7.90213377; expires=Tue, 26 Nov 2013 21:14:34; path=/";
This is appearing before the product item price and total. It then also appears before sub total. This doesn't happen when they choose the offline payment method, only PayPal.
I can't seem to identify where the invoice template is writing this. If someone could at least tell me where it writes this info then I could possible write a hack that prevents this.
Also, this only happens in the automated email. If you use the send the email via Dashboard > Checkout > Orders and use the send invoice option then it doesn't have the cookie junk in it.
Where can I find where the automated invoice email gets sent from?
document.cookie = "wpcoauth=wpco528bd4bae02ae9.62036652; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae069e6.08700895; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae15103.82366921; expires=Tue, 26 Nov 2013 21:14:34; path=/";
document.cookie = "wpcoauth=wpco528bd4bae1f2e7.90213377; expires=Tue, 26 Nov 2013 21:14:34; path=/";
This is appearing before the product item price and total. It then also appears before sub total. This doesn't happen when they choose the offline payment method, only PayPal.
I can't seem to identify where the invoice template is writing this. If someone could at least tell me where it writes this info then I could possible write a hack that prevents this.
Also, this only happens in the automated email. If you use the send the email via Dashboard > Checkout > Orders and use the send invoice option then it doesn't have the cookie junk in it.
Where can I find where the automated invoice email gets sent from?
Comments