I am running Magento 2.2.6. I noticed my analytics data seemed off so I went in and checked and I am only receiving about 50% of my transactions. I can see the transaction id so I have compared the data and nothing stands out. It happens to both logged in and logged out customers, 95% of our sales are credit cards so it is almost always credit cards. On my dev site when I test everything goes through fine but it redirects to an empty shopping cart instead of the success page. There is also nothing in the logs.
How can I make it redirect to the success page?