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

Changed email message wording and email not longer sends after purchase

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Changed email message wording and email not longer sends after purchase

Tagged: PDF stamper and PayPal

  • This topic has 6 replies, 2 voices, and was last updated 13 years, 5 months ago by admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 3, 2011 at 2:24 am #4927
    dprodgers
    Member

    Hi,

    I am using the PDF Stamper with only a hosted PayPal button.

    I tried a transaction and it worked. However, I would like to change the wording on the email that people receive immediately after they purchase.

    I changed the file – Editing wp-pdf-stamper/api/ipn_customization_config.php (inactive) to the code shown below. Since changing this code, when testing transactions, the email does not get sent at all. I tried changing the enable debug code to “true,” but it didn’t work as true or as false. Is there something else I need to do so that the emails will send again with the new wording?

    The code I made is as follows:

    email address.

    $from_email = “”;

    //Email subject

    $subject = “Thank you for your Ebook purchase”;

    //The buyer email body. The first name, last name and stamped file’s URL will be replaced with the text with braces {}

    $buyer_email_body = “Dear {first_name} {last_name}”.

    “nnThank you for your purchase!”.

    “nnPC users, right click on the link below and click Save Link As.”.

    “nnMac users, hold the control key, click on the link, and select Download Linked File As.”.

    “nnEmail brief questions regarding the book’s content at nutrientbalance@gmail.com.”.

    “nnFor more in-depth health concerns, click consultations at nutrientbalance.com.”.

    “nnThanks again and enjoy. If inclined, you may review the book at Amazon.com.”.

    “nnHere is the download link for the purchased product”.

    “n{product_link}”.

    “nnThanks again!”

    //Enable or disable debug

    $debug_enabled = true;

    // Debug log file name

    $debug_log = “ipn_handle_debug.log”;

    //Sandbox mode is off

    $sandbox = false;

    ?>

    December 3, 2011 at 2:26 am #39125
    dprodgers
    Member

    I noticed you told others to check the debug file – but I don’t see any file like that listed in the plugin edit area.

    Thanks a lot for your help.

    December 3, 2011 at 3:26 am #39126
    admin
    Keymaster

    Lets make sure you did not introduce any error in that file. What is the URL of your site?

    December 3, 2011 at 4:58 am #39127
    dprodgers
    Member

    The site is http://www.nutrientbalance.com and the page is http://www.nutrientbalance.com/reloadedhair

    Thanks

    December 3, 2011 at 5:13 am #39128
    admin
    Keymaster

    Not sure how you edited that file but there is some error. The following script now returns error 500.

    http://www.nutrientbalance.com/wp-content/plugins/wp-pdf-stamper/api/ipn_handler.php

    So when PayPal sends the notification it won’t be able to process. Uploaded a fresh copy of the file you modified and do small changes while checking so you know where you are introducing the error. What part are you really trying to change?

    December 3, 2011 at 3:53 pm #39129
    dprodgers
    Member

    Okay thanks – when I do this, should I keep the debug enabled false or true?

    December 4, 2011 at 3:06 am #39130
    admin
    Keymaster

    Keep it false as that is the default option.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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