Good evening Drupalears... Drupalers?
Anyway...
I have been making custom modules for Drupal that interact with external web services for a while now.
I have now been asked to integrate this with the workflow of Ubercart.
I have been trying to use hook_order to kick off a custom module that will pass data about the customers order to a webservice.
At the moment I cannot get my custom module be activated in the workflow of Ubercart.
example of my code
function functionName_order($ops, &$arg1, $arg2){
if ($ops == 'update' && $arg1->order_status == "payment_recived"){
//nothing in this block is executed...
}
}
The custom module is enabled, but whatever order status I change an order to, I cannot get any code to execute.
Can anyone shed any light on what I am doing wrong?
Many thanks


