auto submit after payment is made