Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Estore Subscription not working (but transtaction does go through with paypal)

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Estore Subscription not working (but transtaction does go through with paypal)

Tagged: debug log, email not sent after subscription

  • This topic has 7 replies, 2 voices, and was last updated 12 years, 3 months ago by Dami1.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 2, 2013 at 11:39 am #8854
    Dami1
    Member

    Hello,

    I purchased and downloaded estore 3 weeks ago. I’m now testing it before to activate my client web site… unfortunately the 3 sucbscriptions that I’ve setup do not work.

    I’m using the plugin on WordPress 3.5.1.

    The subscription button are working.

    I’m properly directed to the Paypal site and when entering my infos (theses are real Paypal accounts) the subscription goes through as I received emails confirming it and I’m being sent to the thank you page after the transaction.

    But the thank you page is empty ( the short code inserted in the thank you page does not outpout anything).

    The user is not added to the user table

    The debug does not output anything to the log even though I ticked it in the admin area.

    I tried to activate/deactivate the plugin but it did not change anything.

    What should I look for in order to fix this ?

    Not sure if that does matter, I guess it should not, but just in case : the trial amount for the subscription is set to 0 for the first 14 days.

    April 2, 2013 at 11:47 am #54771
    Dami1
    Member

    WP eStore Version: 6.9.7.2

    WP Version: 3.5.1

    WPMU: No

    MySQL Version: 5.1.66

    WP Table Prefix: wp_

    PHP Version: 5.3.3-7+squeeze15

    Session Save Path: /sessions

    CURL Library Present: Yes

    Debug File Write Permissions: Writable

    April 2, 2013 at 11:59 am #54772
    Dami1
    Member

    Sorry, call me stupid… I simply forgot to remove the .htaccess and .htpassword files that were preventing the plugin and Paypal communication! Duh !!

    I’m deeply sorry about this, it’s such a stupid mistakes.

    But the [wp_eStore_display_transaction_result] shortcode does not outpout anything on the thank you page. Did I overlook something once again ?

    I also tried [wp_eStore_transaction_result:end] as I see it also is used on occasion but it does not work either.

    April 2, 2013 at 12:12 pm #54773
    Dami1
    Member

    The email to the customer that just subscribed

    as well as

    The mail to the seller are not sent (I just checked spamm folder and could not find track of anything)

    I tested to see if my install of wordpress could send mail and it’s working just fine (I did as explained here > https://support.tipsandtricks-hq.com/forums/topic/not-receiving-emails-even-though-the-plugin-sent-the-email and also used custom header with the same address as used by the plugin which works fine from the plugin but not from estore)

    In the log I cannot find anything about sending mail to the customer or the seller, here is a copy :

    In ipn_handle_debug.log:

    [04/02/2013 12:53 PM] – SUCCESS :Paypal Class Initiated by 173.0.81.1 eStore Version: 6.9.7.2

    [04/02/2013 12:53 PM] – SUCCESS :Post string : NOT SHOWN ON PUBLIC FORUMS

    [04/02/2013 12:53 PM] – SUCCESS :Connection to [www.paypal.com] successfuly completed.

    [04/02/2013 12:53 PM] – SUCCESS :IPN successfully verified.

    [04/02/2013 12:53 PM] – SUCCESS :Creating product Information to send.

    [04/02/2013 12:53 PM] – SUCCESS :Subscription signup IPN received… nothing to do here(handled by the subscription IPN handler). Check the “subscription_handle_debug.log” file more details.

    [04/02/2013 12:53 PM] – SUCCESS :Paypal class finished.

    In eStore_post_payment_debug.log :

    [04/02/2013 12:53 PM] – SUCCESS :Updating Products and Customers Database Tables with Sales Data.

    [04/02/2013 12:53 PM] – SUCCESS :Current available copies value: Sales count value: 0

    [04/02/2013 12:53 PM] – SUCCESS :New available copies value: New sales count value: 1

    [04/02/2013 12:53 PM] – SUCCESS :Products, Customers, Sales and Coupons Database Tables Updated.

    [04/02/2013 12:53 PM] – SUCCESS :Performing item specific autoresponder signup if specified.

    In subscription_handle_debug.log

    [04/02/2013 12:53 PM] – SUCCESS :Transaction type and amount1 value of this subscription ipn : subscr_signup|0.00

    [04/02/2013 12:53 PM] – SUCCESS :Recording customer data for free trial subscription signup.

    What am I missing ?

    April 2, 2013 at 4:11 pm #54774
    Dami1
    Member

    I have been reading post on the forum for hours, trying different things, but I cannot get it to work.

    **********

    About the mails to the seller and buyer :

    **********

    It seems to me that they simply are not being sent.

    When I try to send mails with “tester” plugin as explained here it’s working fine and all mails go directly in my inbox:

    https://support.tipsandtricks-hq.com/forums/topic/not-receiving-emails-even-though-the-plugin-sent-the-email

    Also, if you have a look at the logs above, I cannot find a line saying “Email successfully sent to [buyer_email@gmail.com] like I understand it should. Is this normal ?

    I tried with “Use WordPress Mailing System” checked and unchecked.

    “Send Emails to Buyer After Purchase” is checked.

    Any idea ?

    **********

    About the thank you page that does not display the shortcode content

    **********

    [wp_eStore_transaction_result:end] is inserted in the thank you page.

    The url of the thank you page is entered correctly in “Return URL”

    “PDT” and “Auto Return” are enabled in the Paypal account

    The “PDT Identity token” from Paypal is in the correct field in the Estore menu” (“PDT Identity Token” field of the PayPal Payment Gateway Settings)

    “Enable Transaction Result Display” is checked

    Still, it does not display anything when I’m redirected to the thank you page ?

    Any help is much appreciated.

    April 2, 2013 at 8:19 pm #54775
    Dami1
    Member

    OK, so it seems from the log file in “subscription_handle_debug.log” that by setting the trial period to 0 it actually makes the subscription fall in the “Free trial signup”

    —-

    [04/02/2013 6:34 PM] – SUCCESS :Transaction type and amount1 value of this subscription ipn : subscr_signup|0.00

    [04/02/2013 6:34 PM] – SUCCESS :Recording customer data for free trial subscription signup.

    —-

    Looking at the “eStore_handle_subsc_ipn.php” function on line 424, it seems that no mail are sent to the customer and/or seller when someone register for a free trial. Is that right ?

    Could the fact that no mails are being sent be because I set the trial period to 0 instead of say 1€ ?

    What about the thank you page that does nos display the result of the “[wp_eStore_transaction_result:end]” shortcode ? Could the probleme be the same ?

    Thanks for your help

    April 2, 2013 at 11:02 pm #54776
    wpCommerce
    Moderator

    Please read the reply from “admin” in the following post and let me know if that answers your question:

    https://support.tipsandtricks-hq.com/forums/topic/estore-not-receiving-email-after-purchase-4

    April 3, 2013 at 7:57 am #54777
    Dami1
    Member

    Thanks wpCommerce, that’s what I figured out last night when having a look at the source code.

    The plugin does not send confirmation email and/or thank you page content in case of a Free trial.

    Problem fixed….Thanks for the help !

    Regards!

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ