Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Bug Report: Send Emails to Buyer After Purchase
Tagged: bug, email, generate encrypted link, notification, options
- This topic has 2 replies, 3 voices, and was last updated 12 years, 11 months ago by admin.
-
AuthorPosts
-
December 20, 2011 at 1:11 am #5085JeremiahMember
Greetings!
I would like to start off by thanking you for a great set of plugins! I have used several of your products now and I am impressed by the quality of both the products and your support.
I would like to report what I think is a bug in the eStore plugin. It is important to note up front that I have heavily modified this plugin, but I think this issue is unrelated to any changes that I have made. If you are not convinced, I am willing to send you a complete zip of the plugin directory including all of my changes with only my payment gateway credentials redacted.
This bug is specifically related to the eStore “Send Emails to Buyer After Purchase” setting located in the WP admin panel at: WP eStore >> Settings >> Email Settings >> Send Emails to Buyer After Purchase
Description:
When the “Send Emails to Buyer After Purchase” option is not checked the purchaser still receives a notification email.
Expected Behavior:
When the option is unchecked, the purchaser should not receive an email notifying them of their purchase or product details.
Observed Behavior:
It still sends the email.
Additional Information:
In the eStore_post_payment_debug.log I noted the following line:
[12/19/2011 1:14 PM] – SUCCESS :Product Email successfully sent to (REDACTED)
I did some digging in the plugin files, searching for verbiage from the debug entry. I found the debug entry in eStore_process_payment_data.php around line 480. I found where the email was sent, but was unable to find anywhere that the code checks the WP database for the state of the associated option. I looked in the WP_Options table and found fields that I thought were candidates for storing this option, all of which were blank. I don’t think that the plugin checks to see the state of this option before it sends the email. I should note that I had debugging enabled, so maybe the setting is overwritten somewhere else?
For my purposes I very simply commented out the code block below line 480 that sends the email. However, for most users this would be impracticle. Thanks for taking a look at this, I would be curious to see how you resolve the issue.
On a separate note, I have your plugin working quite nicely with Authorize.net AIM which, last I checked, was not included in your payment gateway listing. This is a pretty good solution for people who need to control the look and feel of the form responsible for collecting payment information. Do you have any plans to release this functionality out-of-the-box? Due to the technical skills required to implement this gateway, I have hesitated recommending this plugin to a few people who were looking for eCommerce solutions. It would be great if I could recommend it with confidence.
Don’t hesitate to contact me for any additional information that I could provide which might help in your troubleshooting.
Thanks and have a great day!
-Jeremiah
December 20, 2011 at 2:10 am #39885PeterMemberHi Jeremiah,
Thanks for info and compliments about our products
I’ve just tried a series of tests and cannot see any issue regarding the “Send Emails to Buyer After Purchase” checkbox.
I made a test purchase with the checkbox enabled and disabled. When enabled obviously an email was sent and when disabled no email was sent and the log files reflected that.
By the way the log file where you will see the “Product Email successfully sent to xxxx” is actually in the ipn_handle_debug.log file.
Could it be that your theme or perhaps some other plugin might be interfering with the correct operation of the eStore plugin?
Try these tests to see if that is the case:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
December 20, 2011 at 6:00 am #39886adminKeymasterI tested this and there is not issue for this option. We cannot asses a bug report on a customized version of the plugin. Please load a fresh build of the plugin on your test site and let us know if you see this issue.
-
AuthorPosts
- You must be logged in to reply to this topic.