Magento 2 order not created even though the Authorize.Net transaction is successful
We are investigating an intermittent issue in Magento 2.4.6-p13 where an Authorize.Net payment is processed successfully, but the corresponding order is not created in Magento. We have checked all log files, but we can not find any errors related to the same. No errors or exceptions during checkout or order placement.
So far, we have not been able to reproduce the issue internally, but it is occurring for some customers in production.
Observations:
- Payment is completed successfully in Authorize.Net
- Transaction receipt exists in Authorize.Net
- Magento admin shows no orders
- No records are created in sales_order or related tables
We have confirmed that the quote still exists in the quote_item and quote_address records are present in the tables. But there are no rows for the same quote ID in the sales table.
This indicates that the payment is captured, but the order placement flow does not complete, leaving the quote in an active state and never converting it into an order.
Has anyone else run into this issue, and if so, how did you resolve it?
Thank you.