Hi there,
This might take some investigation. Do you have a support token? I would recommend installing a plugin called email-log, and see if there are 4 emails that really gets sent to your admin. If you see only 1 email that gets sent, there might be something wrong with your mail server.
Thanks!
Thanks for the response! I’ve installed email-log and will monitor it today to see if the received emails match up with what the log is showing.
No I don’t have a support token, however if the email log shows multiple emails, I guess we will purchase one. Thankyou
Hi there.
i installed email-log which confirmed 4 emails being sent per order (the customers tax invoice also is sending twice to the customer).
What file of WP-Ecommerce does the sending of the emails happen? Are there any hooks on there that another plugin may have subscribed to?
looked at the source code and had an admittedly odd thought on this…
any chance that there is some kind of caching going on with your site. thinking that the transaction results page view that triggers the receipt processing is being rendered multiple times, causing the email to be sent multiple times. this should never happen if the multiple results page views are sequential, but could happen if the page views are somehow happening in parallel.
the caching could be in the form of a WordPress plugin, or could be something setup with your web server.
i know it’s a long shot, but might be worth checking.
Hi Jeff.
Thankyou for that. It does look like there is some caching going on but I can’t workout where. I changed some CSS comments on my main stylesheet and viewed the sheet on a few different computers (which are on different internet connections) and the change took 10 minutes to update.
The IP of the site resolves directly the IP address that cPanel is showing as the shared IP, so I don’t think Cloudflare or anything like that is in play. I’ve looked through cPanel and can’t see anything related to caching. There was a plugin installed called WordFence which has caching, although that was turned off.
If the CSS file itself is being cached, does this mean the cache is happening outside of WordPress and on the server?
The caching could be anywhere, or in multiple places.
First and foremost, make sure the Word Fence cache is cleared, not just disabled.
Make sure your web server is setup to not cache checkout, account and transaction result pages. WP-eCommerce does what it can to stop these pages from being cached, but that doesn’t mean the server is setup correctly and will respect the plugins good works.
You will have to do some diagnosing to figure out what is happening, or get the assistance of your hosting provider. Be a little wary, some hosting providers have told me that nothing is being cached, then I find out that their shared server configurations include accelerators, or other reverse proxy caches. I have wasted many hours working through misinformation.
-jeff