There are 4 sub-settings under the main WP PDF Stamper Settings.
1. General PDF Stamper Settings
Under the general settings there are two fields:
- Secret Key for PDF Stamping: You can specify a random code (secret key) in this field which will be used to authenticate any PDF stamp request. The default value is good enough as it is uniquely generated.
- Destination Directory of Stamped Files: In this field you need to specify the URL of the directory where you want to keep your stamped PDF files. The default value is good enough for this field too.
2. PDF Stamper Text Format Settings
There are four fields under this setting. All these settings apply to the text that will be stamped in the PDF file.
- Font Color: You can specify The font color in RGB (Red, Green, Blue) value in this field.
- Font Size: The size of the font you want to use in the stamp.
- Text Alignment: You can specify if your text of the stamp will be aligned to the left, right or center.
3. PDF File Security Settings
The file security settings allows you to control the encryption and accessibility of the PDF file:
- Enable PDF File Encryption – If checked the stamped PDF file will be encrypted.
- Allow Print – The user is allowed to print the stamped PDF file. If you do not want your customers to be able to print it then uncheck this field.
- Allow Copy – The user is allowed to copy or otherwise extract text and graphics from the stamped PDF file. If you do not want your customers to be able to copy any text or images from the PDF file then uncheck this field.
- Allow Modify – The user with full acrobat product range is allowed to modify the contents of the stamped file. If you do not want the file to be modifiable then uncheck this field.
- File Password – User password to open the file (you can either use a set password or specify it to use the email address of the customer as the password)
4. Footer or Header Text Layout Settings
There are 3 options in this setting:
- Line Distance from the Bottom of the Page: The value you specify in this field is used to determine the position of the text to be stamped in the PDF file. The default value is 15 millimeter (so the stamped text will be placed 15 millimeters above the bottom edge of the page).
- Line Spacing: This value determines the space between the lines. The default value is 5 millimeter.
- Footer Text: You can the specify the text which will be stamped in the PDF file in this filed. The default text stamps the customer name and address in the footer of every page of the PDF file. If you want to stamp any other customer information (e.g customer email address, phone number) then you need to specify that variable within bracers { } which will be replaced by the value dynamically.
Stamping Text Dynamic Variables
At the moment you can specify the following variables/tags in the stamping text area that will be replaced dynamically at transaction time when you use it with a payment system (Example: PayPal, WP eStore, WooCommerce, Clickbank):
- {customer_name} – This will be replaced with the name of the customer making the purchase
- {first_name} – This will be replaced with the first name of the customer
- {last_name} – This will be replaced with the last name of the customer
- {customer_email} – This will be replaced with the email address of the customer making the purchase
- {customer_phone} – This will be replaced with the phone number of the customer making the purchase
- {customer_address} – This will be replaced with the address of the customer making the purchase (if available during the checkout process)
- {customer_business_name} – This will be replaced with the business name of the customer making the purchase (Please note that this will only work when the person paying for the item has a business name and it is collected by the payment gateway during the transaction)
- {transaction_id} – The unique transaction ID of the purchase
- {date} – Stamping date
Once you are done with settings you can click on “Update Options” to save your current settings. If you have made mistake while configuring the settings and messed up everything, you can also click the “Reset to Default” button and all the settings will be set to default.