Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Available copies not updated and e-mail about sold product not received
- This topic has 14 replies, 4 voices, and was last updated 11 years, 10 months ago by admin.
-
AuthorPosts
-
December 13, 2012 at 8:53 am #8146PandaMember
Hi
One of my products were recently sold out, but it still showed as available. So the “available copies” did not update. And I didn’t get a “product sold” email. Why is this? Can you help? I am afraid somone will buy something that has already been sold out.
My web site is [http://genanvendt.dk/]
Thanks for your help!
Anna
December 13, 2012 at 11:43 am #52361PeterMemberHi, When a product is sold out, your customers shouldn’t be allowed to buy it anymore.
How did your customer pay for the product – manual payment gateway, PayPal?
If you are using manual payment then please amin007’s response here for why you might be seeing the updated qty and how you can correct it.
https://support.tipsandtricks-hq.com/forums/topic/available-qty-was-not-change-inaccurate
If you are using PayPal then please enable debug and perform a couple of test transactions. Then share the output of the ipn_handle_debug.log file so we can see what’s going on.
This link shows how to enable debug:
https://support.tipsandtricks-hq.com/forums/topic/how-and-when-to-enable-debug-and-what-does-it-do
January 8, 2013 at 1:46 pm #52362PandaMemberHi Peter
I’m using Paypal and have therefore enabled debug and performed a test. However, the stock quantities are still not updated and I do not get a “seller email”. I do get PayPal emails though. Furthermore, there is nothing in the log files except this in two of them : [01/08/2013 12:33 PM] – Advisory : Log file reset.
Then I have read all about what to do when there is nothing in the log files, and got to step 4 (about write permission) and there is still nothing in the log files after that, but it says : Debug File Write Permissions: Writable in the admin settings so I guess that is not the problem either?
I have also enabled my IPN on my PayPal account (it seems as if this is relevant? I cannot remember ever having changed this though) and made a new test. Still no change.
Can you help me? I don’t know what the problem may be?
Anna
January 9, 2013 at 1:02 am #52363adminKeymasterStep 5 or 6 from the following checklist is where your issue lies:
https://support.tipsandtricks-hq.com/forums/topic/what-to-do-if-the-debug-file-is-empty
Please post a link to your site where you are using eStore and I will be able to do a test and give you more details.
January 10, 2013 at 5:58 pm #52364PandaMembermy web site is [http://genanvendt.dk/klodser/]
January 11, 2013 at 3:50 am #52365adminKeymasterStep 5.a is what is going wrong on your site. PayPal is failing to deliver the IPN to your site. Basically, you have added a plugin or your server added some firewalls that is blocking the IPN from PayPal. Remove any firewall plugin that incorrectly blocking PayPal’s IPN otherwise no shopping cart will work on your site.
Check this post too:
January 14, 2013 at 11:47 am #52366PandaMemberOk. I haven’t got any firewal plugins (and I have none of the plugins that are on your list) and I have now asked my webhost whether they have made any changes (they haven’t answered yet). However, how can I test whether it works or not when I turn off and on plugins, without having to make a test sale everytime? Can I see it in the testing and debugging settings?
January 14, 2013 at 10:54 pm #52367adminKeymasterRead the following post again. Go to step 5 and you will see it tells you how you can test if your server is setup correctly to accept PayPal IPN using a tool that PayPal offers:
https://support.tipsandtricks-hq.com/forums/topic/what-to-do-if-the-debug-file-is-empty
That simulator tools allows you to send a PayPal IPN to your server and test various things. When I tried to send an IPN to your server using that it keep rejecting it. Godaddy’s shared hosting has a reputation of doing this. The following post may also be a good read for you:
https://support.tipsandtricks-hq.com/forums/topic/ipn-sent-to-wp-estore-are-failing
Simply tell your hosting provider that your server is rejecting/blocking PayPal’s IPN and it needs to be fixed.
January 16, 2013 at 11:24 am #52368PandaMemberHi
I have talked to my hosting provider, and they say that they are not bloking anything. Then I’ve created a paypal sandbox and testet sending the IPN while my plugins were deactivated one by one. I have the following plugins:
BackWPup
Cookie Law Info
Display widgets
Executable PHP widget
Extra Shortcodes for WP eStore
Fast Secure Contact Form
Google Analytics for WordPress
JSL3 Facebook Wall Feed
Video Sidebar Widgets
W3 Total Cache
WordPress SEO
WP eStore
WP Lightbox
WP Smush.it
No IPN got through.
I don’t know what to do now.
January 16, 2013 at 12:43 pm #52369wzpModeratorPlease see if your .htaccess file contains a line that looks like this:
<Files *.php>deny from all</Files>
If it does, please delete it, per this thread:
Also, Web hosts like to just say that everything is fine. It is your web hosts responsibility to give you a server where PayPal IPN is working fine. Ask them the following question:
Why is PayPal giving me a IPN delivery failed message if the IPN is not getting blocked somewhere on the server?
January 17, 2013 at 9:33 am #52370PandaMemberBut how do I open my .htaccess file? I tried opening it with Dreamweaver but when I do that, it only contains the sentence : Options -Indexes. Is that because I don’t open it the right way?
January 17, 2013 at 9:35 am #52371PandaMemberOr is it because it is the wrong .htaccess file that I open? Is there more than one? I found this under the estore plugin, downloads.
January 17, 2013 at 11:12 pm #52372PeterMemberLook for the .htaccess file in your “root” directory.
Then open it using any code editor or text editor.
January 18, 2013 at 12:50 pm #52373PandaMemberIf I open the one in the root directory of my page, this is the only text in it:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
So I guess that was not the problem after all. I am really lost here – can’t find anything more to check. Can anybody help?
January 19, 2013 at 1:16 am #52374adminKeymasterYour server is not configured correctly and hence it is rejecting PayPal’s IPN. You won’t be able to bypass this until your web hosting company fixes the issue. There is absolutely no other magic that you can apply to bypass this unfortunately.
-
AuthorPosts
- You must be logged in to reply to this topic.