Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

Bug Report: Send Emails to Buyer After Purchase

(3 posts) (3 voices)
  • Started 5 months ago by Jeremiah
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. Can an option be created to send reminder emails a week before subscription
    2. Not sending notification emails
    3. emember Not sending Emails Even Though I told it to Send The Email
    4. e-Store - not registering new customer or sending download emails
    5. eStore - no customer record created, no emails after purchase

Tags:

  • bug
  • email
  • generate encrypted link
  • notification
  • options
  1. Jeremiah
    Member

    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

    Posted 5 months ago #
  2. Peter
    Moderator

    Hi 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:

    http://www.tipsandtricks-hq.com/forum/topic/test-to-identy-a-conflicting-theme-or-plugin

    Posted 5 months ago #
  3. admin
    Key Master

    I 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.

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin