Run module after 'Order status gets updated' Action runs
I believe you're looking for hook_uc_order() which runs for several operations, including the update operation which is:


  Called when an order's status is changed.


Assuming your module is called "hemo" you code might look something like this:

function hemo_uc_order($op, $order, $arg2) {
  if ($op == 'update') {
    if ($order-&gt;order_status == 'payment_received') {
      // Do something with the $order object.
    }
  }
}


Remember to clear Drupal's cache once you've implemented the new hook or it might not get registered.