Impacted versions: [10.0]

Steps to reproduce: On Authorize.net configuration

Order Confirmation: Authorize the amount and confirm the SO on acquirer confirmation (capture manually) 
Store Card Data: Always

Current behaviour

For Ecommerce Sales Order 1 - Customer selects Authorize.net and enters card details - checkout proceeds and customer is returned to Order confirmation page. 

Sales Order Created, Payment Transaction Authorised, New Customer information record created on authorize.net sandbox.

For Ecommerce Sales Order 2  - Customer selects the card previously stored with authorize.net - checkout proceeds and customer is returned to Order confirmation page

Sales Quotation Created but **not converted to a sales order,** Payment Transaction Authorised


Expected behaviour

The Sales order confirmation behaviour should be the same for both methods of authorize.net checkout - standard card entry (1) or stored tokenised card (2) 

import logging
from odoo import api, fields, models
from odoo.tools import float_compare
_logger = logging.getLogger(__name__)
class PaymentTransaction(models.Model):
    _inherit = 'payment.transaction'
    
    sale_order_id = fields.Many2one('sale.order', string='Sale Order')
    def _generate_and_pay_invoice(self, tx, acquirer_name):
        tx.sale_order_id._force_lines_to_invoice_policy_order()
        created_invoice = tx.sale_order_id.action_invoice_create()
        created_invoice = self.env['account.invoice'].browse(created_invoice)
        if created_invoice:
            _logger.info('<%s> transaction completed, auto-generated invoice %s (ID %s) for %s (ID %s)',
                         acquirer_name, created_invoice.name, created_invoice.id, tx.sale_order_id.name, tx.sale_order_id.id)
            created_invoice.action_invoice_open()
            if tx.acquirer_id.journal_id:
                created_invoice.pay_and_reconcile(tx.acquirer_id.journal_id, pay_amount=created_invoice.amount_total)
                if created_invoice.payment_ids:
                    created_invoice.payment_ids[0].payment_transaction_id = tx
            else:
                _logger.warning('<%s> transaction completed, could not auto-generate payment for %s (ID %s) (no journal set on acquirer)',
                                acquirer_name, tx.sale_order_id.name, tx.sale_order_id.id)
        else:
            _logger.warning('<%s> transaction completed, could not auto-generate invoice for %s (ID %s)',
                            acquirer_name, tx.sale_order_id.name, tx.sale_order_id.id)
    @api.model
    def form_feedback(self, data, acquirer_name):
        """ Override to confirm the sale order, if defined, and if the transaction