correctly update payment status when notified by docdata