Integration with woocomerce

Get help with using AutoHotkey and its commands and hotkeys
Apprentice AHK
Posts: 4
Joined: 05 Mar 2018, 08:14

Integration with woocomerce

06 Apr 2018, 05:58

Hi
I am interested in integrating my AHK scripts to the woocommerce software license manager

they have web api listed at
https://woosoftwarelicense.com/document ... i-methods/

I have basic AutoHotKey scripting skills.

Initially I would just like to be able to check for a valid license every couple of months.

Cheers
Kevin
gregster
Posts: 2662
Joined: 30 Sep 2013, 06:48

Re: Integration with woocomerce

06 Apr 2018, 08:36

Hi Kevin,
so you want to secure your (compiled) AHK scripts with this? Are you aware that it is not very complicated to extract the source code from a standard AHK-exe file and strip such license checks from it? (code compressors might make it more difficult but also might raise the likelihood of false positives from anti-virus software)

Anyway... I think, the provided code example is not unambigous or complete (they are using functions whose defintions are not shown). If they are using a URL Query String , the command URLDownloadToFile (or its user function cousin URLDownloadToVar) , used with the constructed URL string could be already enough to use the API.

But without the "[a]dditional code examples [..] included within the plugin download" it is just a guess, based on the vague description they provide. For handling the JSON response of the API call, there are a few functions available on this forum. I usually use Coco's JSON lib for parsing such API responses.
Apprentice AHK
Posts: 4
Joined: 05 Mar 2018, 08:14

Re: Integration with woocomerce

07 Apr 2018, 09:33

Hi Gregstar

Thanks for the input.
I had found this for a code obfuscator
https://github.com/davidmalia/autohotkey-obfuscator

AV false positives I will have to live with
Unless there is a better way... I will get the extension setup.
Apprentice AHK
Posts: 4
Joined: 05 Mar 2018, 08:14

Re: Integration with woocomerce

07 Apr 2018, 11:41

Right, more reading...
Found AutoHotkey_H v2 Alpha and working my way through that
User avatar
Cuadrix
Posts: 199
Joined: 07 May 2017, 08:26

Re: Integration with woocomerce

07 Apr 2018, 20:42

For "obfuscating" the code, use AHK source code Encryptor v1.6 By FeiYue:
https://autohotkey.com/boards/viewtopic ... or#p204668
----
Apprentice AHK
Posts: 4
Joined: 05 Mar 2018, 08:14

Re: Integration with woocomerce

11 Apr 2018, 04:49

Right, more reading...
Found AutoHotkey_H v2 Alpha and working my way through that... this is oo coding... wow
back to version1

Return to “Ask For Help”

Who is online

Users browsing this forum: ElDunco, Google [Bot], KamanaMMO, TheBeginner and 190 guests