Status Change Jobs

How to start job for “Pending Payment” status

You must add following PHP code to functions.php