- This topic has 2 replies, 2 voices, and was last updated 12 years, 9 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › WP PDF Stamper Troubleshooting › PDF Stamper and PayPal integration – auto-email doesn't arrive
Tagged: pdf01
Hi.
Just after updating WP-PDF-Stamper to 4.1.0, auto-email that tells paypal customers the download URL doesn’t arrive.
ipn_customization_config.php has the following lines by default:
===
//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!”.
“nnHere is the download link for the purchased product”.
“n{product_link}”.
“nnThanks”;
===
If I change {product_link} to a constant string, for exmaple “AAA”, email arrives.
===
//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!”.
“nnHere is the download link for the purchased product”.
“nAAA”. <– This is what I changed
“nnThanks”;
===
So I guess the parameter {product_link} is not passed.
Could you tell me how can I solve this issue ?
Below is ipn_handle_debug.log. (modified manually to hide personal information)
===
[admin deleted debug]
===
Thanks in advance.
The following tag is what places the actual link of the stamped PDF file in the email:
{product_link}
It is possible that when a link to a file is present the email is getting treated as a spam by your email client. Please check the junk folder just in case.
Also, Please try loading a fresh build of the plugin in case you made a mistake when changing the code:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
Thank you. I noticed I had a typo in ipn_customization_config.php.