Summary: Customers are trying to place an order on website (Magento 2.2.6). Their credit card is getting charged multiple times while the order is processing. Each time a charge is made to the credit card, a new Magento order number is used, but the order is never completed to appear in the admin area, resulting in no order for the customer.
We have gone through the logs, and able to find that the payment happen successful for those users shared in the screenshot, we found those users in Magento admin panel as well. But we don’t get orders from them as when I looked into the log in detail and compare with the response received from successful orders then they looked same, but 1 difference was there in them. and that was this fatal error after the many successful payment from the 3 users every time after the response:
AuthorizeNet Logger.CRITICAL: Payment Error: Gateway rejected the transaction.
The main issue is that this issue comes randomly for any user and not every time.
I tried checking the Authorize.net extension files and tried to debug the code but not able to reproduce it in staging server as there we have the sandbox environment.