Hi,
Do you want to keep the order in processing state even after payment completion?
You can utilize wpdmpp_complete_order
hook in that case. This hook provides you order id which you can use to change order status after payment.
Adding following code to your theme’s functions.php file should do the trick,
add_action('wpdmpp_complete_order', 'wpdm_pp_change_os'); function wpdm_pp_change_os($oid){ global $wpdb; $wpdb->update("{$wpdb->prefix}ahm_orders",array('payment_status'►'Processing','order_status'►'Processing'),array( 'order_id'►$oid )); }
Thanks.