A

autovalidate_payed

This module will set state of order to payed upon the total amount is payed summing all payments done.