- Created by Dev, last modified on Oct 16, 2023
Domain Voucher Key Features (Introduced in v2.8)
- Renewal voucher for existing domains
- Each domain voucher is map to a specific domain extension in WHMCS
- Can be used without Gift Card mode
Configuration
Enabling Domain Voucher Mode
To enable Domain Voucher Mode, go into your WHMCS Addon Modules → Gift Card Admin Module → Configure → Domain Voucher Status
Templates Used
New additional templates use for Voucher Mode are the following
Template file name | Function |
---|---|
gcDomainVoucherIndex_horizontal.tpl | The horizontal voucher listing template |
gcDomainVoucherIndex.tpl | The vertical voucher listing template |
gcDomainVoucherIndexOrder.tpl | The checkout page for voucher purchases |
gcDomainVoucherRedeem | The redemption page for vouchers |
gcRedeem.tpl | The common page for checking a gift card/voucher code |
gcDVCManage.tpl | The manage voucher page under a user within the client area |
Creating a Domain Voucher for Sale
To put a voucher up for sale, first you must create a New Domain Voucher Mapping.
Head to WHMCS → Addons → Gift Card Admin Module
Then click on the Domain Voucher Management tab and Create New Voucher Mapping
On the next screen, you will be able to fill in the fields to create a new mapping
Domain Voucher Mapping Options
Option Name | Explanation |
---|---|
Voucher Name | The display name of the Voucher |
Voucher Mapping (Extesnion) | The domain extension this type of voucher will be mapped to. The extension must be active in WHMCS |
Voucher Type | Renewal |
Registration/Renewal Length | The renewal length to add onto the domain |
Voucher Value | The display value of the voucher. No bearing of the price |
Voucher Price | The selling price of the voucher |
Enable | Enable the selling of this voucher type |
Show on Voucher Listing Index | If disabled, the voucher will not be visible on the listing but users will still be able to purchase |
Validation | Require user to perform validation before the voucher is provisioned |
Validation Condition | The condition which the module will require the user to perform a validation on new voucher orders |
Allow Self User | Allow the purchaser of the voucher to redeem the voucher |
Personalized Message (Email) | Allow the purchaser of the voucher to send a personalized message when sending the voucher to a friend |
Code Length | The length of the voucher code |
Prefix | The prefix to add in front of the voucher code during generation |
Code Style | The allowed characters in the voucher code |
Code Combination | The style of how the code is divided |
Expiry | The amount of time the voucher will go expire after activation |
Restriction Group | The restriction group which is allow to purchase & redeem the voucher |
Voucher Description | The description of the voucher shown on the listing index |
Click on Add to Listing to add this domain voucher to your domain voucher listing.
You will find current Voucher Mappings for your system under the Voucher Management tab as well.
Click on the bubble and it will expand the properties for the particular Domain Voucher Mapping.
Note
You will not be able to delete a Domain Voucher Mapping if there is an existing Domain Voucher under it.
Operations
Buying
Your users can purchase a voucher by going to index.php?m=giftcard&action=indexdomainvoucher of your WHMCS. You can simply enable the Menu options under the Module's config.
Redemption
Once the user have an active voucher, they can goto index.php?m=giftcard&action=redeemgc of your WHMCS or click on the Gift Cards & Vouchers Redemption link in the menu above.
The user will now be able to select from a list of domain that this user have that is eligible under the domain extension mapping
- No labels