Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › multiple notifications of sale
- This topic has 12 replies, 4 voices, and was last updated 13 years, 2 months ago by amin007.
-
AuthorPosts
-
November 4, 2010 at 3:45 pm #2164DMartinMember
I am using estore on the site http://www.studythebiblenow.com and when a sale was made today I received multiple notifications of sale (I dont know if the customer received multiple emails also but I suspect so). Only one Paypal charge has been made but there is obviously some error re. the notification.
Any ideas what might cause this problem?
November 5, 2010 at 3:13 am #26112amin007ParticipantDo you have debug on by any chance? It would reveal if the plugin sent two notifications. The plugin will only send an email after it receives a payment notification from PayPal. Since you got one payment I am sure the plugin sent one email too.
It is most likely your mail client doing something funny or the server sending the mail from queue twice because the first time it didn’t receive a proper confirmation.
November 5, 2010 at 8:04 am #26113DMartinMemberTHis is the debug log. If you have any suggections about how I should proceed to correct this problem I would be most appreciative.
The actual transaction was made on 4 Nov 2010
[admin deleted debug log]
November 6, 2010 at 12:46 am #26114amin007ParticipantThank you for the debug information… it makes troubleshooting easy.
I will explain what I looked for… every transaction will have a line containing the following text:
Notify Email successfully sent to [some email address]
So all I had to do is check every transaction and make sure that the above line didn’t appear twice (meaning the plugin did not send two emails). You can do this by simply searching for “Notify Email successfully sent to” in the log file.
Now, given that you do not have duplicate payment in PayPal or duplicate customer records in eStore and the plugin didn’t send two emails either so it is safe to assume that your email server on the webhosting or the email client is doing something funny. I have seen some instances where the email server on the web hosting did something funny and sent 15 copies of the same email! So contact your hosting provider and tell them to look at the logs to see what the server did with that particular email.
Does this happen on every transaction?
November 6, 2010 at 4:57 pm #26115DMartinMemberI spoke to the hosting guys and they said their was a statement in their log saying
“f open” in regards to estore plugin.
The guy thought that switching off ‘php safe’ mode may rectify the situation but it has not. I tried taking off the return thank you page functionality, and using wordpress to send the email, but I am still getting multiple emails. I will speak to the hosting guys again, but this is really problematic. Would t have anything to do with the pdf stamper possibly?
November 6, 2010 at 5:03 pm #26116DMartinMemberHere is the debug log for the payments I have just made. I have already received several emails for each transaction
[admin deleted debug info]
November 7, 2010 at 12:45 am #26117amin007ParticipantThank you for posting the debug info. I took a look and as explained in one of my previous posts the plugin is only sending one copy of the email after every transaction so I can guarantee you that the multiple copy of the email is getting sent from your mail server and not the plugin.
Who is your hosting provider?
November 7, 2010 at 11:20 am #26118DMartinMemberOK, I have now done a test using just a single product rather than a compound product and the system is working with no problems.
It appears that only packaged products (eg: where the product contains item 33,34,35,36 etc) are causing the problem.
I could make the packaged products a single ZIP file if that’s the only way to solve it, but obviously this makes the PDF stamper capabilities impossible to use on the packaged products.
My hosting is with Rackspace, they use Plesk as their platform
November 7, 2010 at 11:51 pm #26119amin007ParticipantPackaged products or single product doesn’t make any difference in how the plugin sends the email. Package product means the email body will have multiple download links.
July 13, 2011 at 4:20 am #26120chiefoxMemberI just moved to VPS on Hostgator. Im on Plesk too – and my website is all of a sudden sending out like 40 notifications. Also other websites are not mailing notifications to me at all.
It appears the trouble could be with hosting and Plesk in particular… but how did this get resolved for you?
July 13, 2011 at 6:55 am #26121IvyMemberHi, This usually happens for one of 2 reasons.
1. PayPal did not receive a success message from your server saying it got the message correctly, so PayPal keeps sending the information until it gets the thumbs up from the server or times out.
2. Your servers mail is back logged and PayPal is again not getting a delivered ok message from your server.
We have added a conditional check to eStore to prevent this from happening. Please get a fresh build of the plugin here:
July 14, 2011 at 5:54 am #26122chiefoxMemberGrateful for your reply, Ivy, and Im going to be filling out the form for a new copy. Mine is atleast 1 year old.
Some important stuff though:
1. All other websites of mine that used the eStore plugin and were moved similarly, are NOT affected. The plugin is acting normal there – excepting at oxen mine.
I’m working with Hostgator support to resolve this at present.
Ive received this response from one of the admins working on it. Now I dont know if the new plugin copy will make everything good because I dont have it yet, but here’s what he asked me to ask:
============================================
“Looking through the debug logs for this plugin I am showing nothing but “success.” This indicates to me (as do the emails) that on the server-side all appears to be well, and, as the plugin developer stated, this issue is being caused by the server not returning an appropriate response.
When “PayPal sends the IPN” is this done over SSL? I assume that it should be so, but I am not showing an SSL cert for this domain. SSL is enabled, but it is a self-signed certificate, and will generate errors. This seems to be a likely cause for this issue. Had you previously purchased an SSL certificate for this domain? I tried to find one on ga******* but could not. If you have such a cert can you send it to me for installation?
Also, is it possible for you to double check something with this developer?
Is /wp-content/plugins/wp-cart-for-digital-products/paypal.php the URL to which this will be posted? I assume so but it would be nice to make sure I’m looking in the right place.
o*******.com/statistics/logs/access_log:66.211.170.66 – – [13/Jul/2011:02:46:35 -0500] “POST /wp-content/plugins/wp-cart-for-digital-products/paypal.php HTTP/1.0” 500 478 “-” “-“
Also, I am showing the following error in my logs:
[Wed Jul 13 02:46:38 2011] [error] [client 66.211.170.66] PHP Fatal error: Class ‘MCAPI’ not found in www**/v****/domainname.com/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_auto_responder_handler.php on line 48
Which is strange because I have verified that that class is correctly defined. However, looking at the script and line in question I am seeing an almost suspicious amount of comments, making me wonder if this was not an “after-market” modification.
function eStore_get_chimp_api_new()
{
//$api_key = get_option(‘eStore_chimp_api_key’);
//if(!empty($api_key))
//{
// $api = new MCAPI($api_key);
//}
//else
//{
$api = new MCAPI(get_option(‘eStore_chimp_user_name’), get_option(‘eStore_chimp_pass’));
//}
return $api;
}
Most likely we are dealing with some small difference between cPanel and Plesk configurations. However, for me to really get to the bottom of this I will need to personally be able to replicate this error. That means going to your site, purchasing a product, and then watching the logs for information. Only then will I be able to test hypotheses and verify the effectiveness of any solution. Can you please provide me with instructions to this end? ”
=================
I am not sure what are after market modifications. Off to filling form.
July 15, 2011 at 3:53 am #26123amin007ParticipantPlease update the plugin with a fresh build from here and test another transaction:
-
AuthorPosts
- You must be logged in to reply to this topic.