Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore "Free Download" button and PDF Stamper Integration
Tagged: free download, squeeze, stamper
- This topic has 8 replies, 3 voices, and was last updated 8 years, 5 months ago by
blambore.
-
AuthorPosts
-
September 12, 2010 at 1:54 am #1826
wzp
ModeratorHi Amin, sorry about being such a prolific poster today…
When I use [wp_eStore_free_download_squeeze_form id=1] does the name and e-mail address get passed to PDF Stamper, or am I still seeing a problem related to my other thread?
September 12, 2010 at 2:17 am #24199amin007
ParticipantUpdate: The squeeze form now has PDF stamper integration.
The squeeze page form do not have PDF stamper integration as people can put in fake details in the squeeze form which kind of defeats the whole idea of stamping the PDF file with customer information. eStore uses the stamping after a purchase as the customer details come from the payment gateway.
September 12, 2010 at 2:36 am #24200wzp
ModeratorOkay. Maybe I should explain what I’m trying to do…
I have a post, and at the end, a conditional content display. If the user does not have a certain membership level they see a “Buy Now” button. If they are of a certain membership level, they see a “Free Download” button,” because they are entitled to it as part of their membership.
I would like to have the downloaded file stamped, regardless of if they paid for it or not; because it is licensed material.
Is there some kind of API for PDF Stamper I can use, in which I can pass along the e-mail address of the paid user?
September 12, 2010 at 3:52 am #24201amin007
ParticipantYep, there is an API for the PDF stamper:
The following is an useful post for this:
https://support.tipsandtricks-hq.com/forums/topic/how-to-make-a-free-download
September 12, 2010 at 4:45 am #24202wzp
ModeratorI think, that because eStore records the squeeze page form data in the customer database, it is not inconsistent to pass the form information on to PDF Stamper. Particularly, in the situation I just described.
In any case, if you don’t think it’s worth doing for the main code; I’d like to get your thoughts on how I might approach the problem myself. I’ll be deliberately high level, so as to prevent others from trying to run with scissors
Modify wp_eStore1.php so that when performing an eStore_free_download, instead of using eStore_includes2.php to generate the link, it uses code similar to that found in eStore_manual_gateway.php to create pseudo $payment_data that can be passed to the link generator in eStore_post_payment_processing_helper.php
Thoughts on this approach?
September 12, 2010 at 5:31 am #24203amin007
Participantyep, that’s exactly how you would do it. If you provide the $payment_data array filled with the information then it will give you an encrypted link of the stamped PDF file.
March 2, 2016 at 5:56 pm #24204blambore
MemberHas there been any further development done on this topic?
I too need to stamp files provided as free downloads… The email address is reliable enough for my needs. Regrettably, I’m afraid I’m not as competent as WZP to do this type of coding… Could anyone help?
Thanks in advance.
March 2, 2016 at 6:25 pm #24205wzp
ModeratorThis issue was resolved a looong time ago
If you use a Squeeze form, it will stamp the email address onto the PDF file.
If the “Stamp the PDF” option checked for that product it will stamp the PDF file with the name and email address when used with the squeeze page option.
April 1, 2016 at 3:56 pm #24206blambore
MemberIndeed! It works like a charm and I’m loving it.
Thanks for a great product and help!
-
AuthorPosts
- You must be logged in to reply to this topic.