Jump to content

Action Hook is not running my python script


joluu

Recommended Posts

Hi I am trying to run a python script from the actionValidateOrder hook but it is not working (the python scripts works well for instance when I manually call it from python).

 

As you can see from the attachment I'm using the mymodule example in the PS Doc as the basis for the module as this is my first module in PS (yes, absolute newbie here).

 

The python script send an email to the buyer and the carrier taking as an input the Order Id.

 

Can anyone help me to understand if I'm calling the script correctly and/or what can I do to debug the PHP script usefully? Already turned the PS_MOD_DEV to True but no error message is shown.

 

Thanks in advance

mymodule.zip

Edited by joluu (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...