'Override to confirm the sale order, if defined, and if the transaction
is done.'

@api.model
def form_feedback(self, data, acquirer_name):

    tx = None
    res = super(PaymentTransaction, self).form_feedback(data, acquirer_name)
    tx_find_method_name = ('_%s_form_get_tx_from_data' % acquirer_name)
    if hasattr(self, tx_find_method_name):
        tx = getattr(self, tx_find_method_name)(data)
    _logger.info('<%s>    transaction    processed:    tx    ref:%s,    tx    amount:    %s', acquirer_name, (tx.reference if tx else 'n/a'), (tx.amount if tx else 'n/a'))
    if tx:
        tx._confirm_so(acquirer_name=acquirer_name)
    return res
