CopyMinder Knowledge Base
Browse By Category: | Look Up Error Number: | Search: |
Glossary | Contact Us |
How do I add a 'Buy Now' button?
Views: 6752
Rating: -15
Rating: -15
Rate It:
If you are providing users with Trial versions of your software, it is often useful to add a 'Buy Now' button so that they can easily purchase your software.
If you are using the API protection method then you can do this in your own code. If, when you make the protection check call, you get an expiry error code returned, you can display a 'Buy Now' button which links to your web site, passing their Product Key.
If you are using the Shell protection method then you can produce a similar link as follows:
1. Create a .cm.msgs.dll (see 'Dialog Customization' chapter in the CopyMinder manual).
2. For whichever messages you consider appropriate (expiry error for instance), add a 'Buy Now' button.
3. Extract their Product Key and flags from the MsgsBlock structure and send the PK to your web site if it is a Trial.
Your web site can then get their payment and call cm_prodkey.php on our web site to make the changes necessary to convert their installation to a full version.
If you are using the API protection method then you can do this in your own code. If, when you make the protection check call, you get an expiry error code returned, you can display a 'Buy Now' button which links to your web site, passing their Product Key.
If you are using the Shell protection method then you can produce a similar link as follows:
1. Create a .cm.msgs.dll (see 'Dialog Customization' chapter in the CopyMinder manual).
2. For whichever messages you consider appropriate (expiry error for instance), add a 'Buy Now' button.
3. Extract their Product Key and flags from the MsgsBlock structure and send the PK to your web site if it is a Trial.
Your web site can then get their payment and call cm_prodkey.php on our web site to make the changes necessary to convert their installation to a full version.
More Help
If this article did not help you to solve your problem, please use the menu at the top of the page to browse or search more articles, or to contact our support team.
Others in this Category