Automatic Job Status change when a payment us taken

Automatic Job Status change when a payment us taken

Is there a way to set up an automatic function of changing quotes to orders when a deposit is taken?