Send email on Job Dispatched from WP e-commerce [closed]
I’d suggest you start by looking at action ‘wpsc_purchase_log_update’, which is triggered in wpsc-includes/purchase-log.class.php and passes the wpsc_purchase_log object. Test the $previous_status member of that object, and the new status value (might be in data member as $data[‘statusno’]) == WPSC_Purchase_Log::JOB_DISPATCHED. Something like this (untested): add_action(‘wpsc_purchase_log_update’, ‘wpse_73707_wpscPurchaseLogUpdate’); /** * trigger event or option to the “Job … Read more