Has anyone considered or written a licensing add-on for Zen cart for software sales?
Has anyone integrated IonCube with Zen cart for the same purpose?
I'd rather not have to create my own mod, if one already exists.
Ray
Has anyone considered or written a licensing add-on for Zen cart for software sales?
Has anyone integrated IonCube with Zen cart for the same purpose?
I'd rather not have to create my own mod, if one already exists.
Ray
RayDube
The Leatherman Place Powered by Zen-Cart!
The Road to Online Success - Traffic Builder - Web Directory - Web Hosting
Why exactly are you wanting to use IonCube?
Encrypting code is largely considered contrary to GPL, and is essentially inappropriate if your encrypted code is intended to function within existing GPL code or requires existing GPL code in order to run.
What exactly are you trying to accomplish?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hey there,
I write software for sites that are not necessarily gpl, or open source, so to protect my work, it needs to be encoded.
Work done for gpl sites, naturally don't get the same treatment. :)
Ray
RayDube
The Leatherman Place Powered by Zen-Cart!
The Road to Online Success - Traffic Builder - Web Directory - Web Hosting
So, what exactly are you wanting to accomplish?
IonCube encoding is generally done as a standalone process, and then the files zipped and made available for download/delivery. Why do this on-the-fly repeatedly when it can be done once, and tested securely, before zipping ... "once"?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hey Doc,
No, it's not a question of re-encoding the scripts every time, but a question of adding a license to an encoded file. Without a license, the script won't work, with the license, the script works, again, another level of security.
I wish I didn't have to encode my work, but after having a script or two stolen and resold to the profit of others, I have little choice.
Ray
RayDube
The Leatherman Place Powered by Zen-Cart!
The Road to Online Success - Traffic Builder - Web Directory - Web Hosting
It would be simpler to generate a license key to be supplied upon payment completion, and deliver a pre-generated zip. Doing it that way would let you re-use the code concepts from several existing addons for generating software licenses/keys or calling card PINs etc. You could hook the notifier points in the order class for that.
Generating a separate customized download file requires further special coding to override/replace the built-in download logic. You could either replace the download/header_php code with your own, or you could consider hooking one or more of the notifier points in that code.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Ideally yes, it would add the license file in the correct location in the zip, and one file would be downloaded.
But from your comments, it doesn't already exist, so I'll have to look into how to create and zip it together properly. I was just hoping I could save the time and not code the thing myself. True though, there are other mods that I may be able to use some code from to generate what I need, so I'll be helped. :)
But it's a back-burner item at the moment, but definitely worth the effort.
Ray
RayDube
The Leatherman Place Powered by Zen-Cart!
The Road to Online Success - Traffic Builder - Web Directory - Web Hosting
I think there might even be a contributed addon for watermarking images or PDFs etc, which would be similar concept. You'd have to write your own ioncube encoding script to run on the server though.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.