This documentation is only for developers. If you are not a developer with good PHP coding skills then you have no need to read this.
Integrating a 3rd party payment system or shopping cart with WP PDF Stamper is possible. The integration process can be accomplished in three steps, namely:
WP PDF Stamper expects a certain set of variables to be sent to it via HTTP POST. These variables are:
Mandatory Variables
Optional Variables
Upon successful processing, WP PDF Stamper will return a plain text message that will have two lines similar to the following:
Success!
http://examle.com/wp-content/plugins/wp-pdf-stamper/stamped-files/test-ebook_4c05fffce4de3.pdf
or
Error!
Secret key is invalid
The following link has a sample PHP code that shows how easy it is to integrate with WP PDF Stamper.
5 Responses
Leave a Reply
Hi Admin,
my boss purchased this product and im his developer. We are selling ebooks, and we use this tool to stamp the pdf. My problem is when im using this PHP Integration then encrypting 3 files in a consecutive way, sometimes one of the file among 3 was not stamped successfully. Please help.
Hi Burt, If you are trying to stamp 3 large PDF files then please make sure that the PHP script execution timeout value is big enough to finish the job otherwise the server will kill the script before it completes. You can check the PHP script execution timeout value in the PHP.ini file of your server and modify the value as necessary.
Thank you admin. your reply will be a big help for our business.
I intend to buy PDF Stamper plugin and use it on my clickbank site. Is there any chances that a non-tech person (like me) to be able to integrate it with clickbank.
Will be possible some advice (if nedeed) from you in this regard?
Best regards,
Constantin
The issue with clickbank is that it doesn’t send the address back to the site after the transaction. It only sends the name and the email address of the customer so PDF stamper will be able to stamp those details only (customer name and email address)