Updated: Aug 21, 2019
Your checkout is the cash register of your online store. If your cash register goes down you are in a panic and ensure all priority is focused on resolving the issue. The same goes for your checkout. According to BigCommerce, 22% of abandoned carts are a result of errors. Here are some common reasons for why your checkout may be broken and how to fix these issues:
1. 1-Step Checkout Malfunction
When clicking the checkout button on the checkout page, customers are faced with a loading icon for an indeterminate duration.
This loading screen is caused by Magento trying to send a request to:
This request returns a 404 error as it cannot be found on the server.
The issue arises when the wrong token is used. Specifically, the POST command created a cart with an admin token. Guest carts are for anonymous users so as a result, the wrong GET call was used in this case.
To solve the issue use the POST command to create a guest token.
2. PayPal Integration Malfunction
Many PayPal issues arise after specifying the payment card details and then during the checkout process the payment does not process causing an error. The result is infinite load, an error message or blank page.
The issue is often a result of inconsistent settings in Magento and PayPal. It is crucial to have the same settings in Magento and PayPal.
For the PayPal Express Checkout, AVS/CSC responses should be declined in PayPal Manager and in Magento Admin:
PayPal: Service Settings > Set Up > Security Options
Magento: Stores > Configuration > Sales > Payment methods
3. Magento 2 - 2 Step Checkout
The Magento 2 checkout has been reported to be slow at times or show a blank screen as seen below. Many customers have reported this issue and it persists predominantly because of Magento’s new 2-step checkout system.
For slow checkout experiences make sure to turn on cache in the Magento Cache panel. You can access the Magento Cache panel by going to System > Cache Management.
Identify the usages of your PaymentTokenInterfaceFactory in your codebase and then specify the implementation for this payment token via di.xml. You can read more about payment tokens here.
Now that you can fix your Magento checkout issues, it’s important to think about being alerted when these issues arise. Waiting for your customer to report issues is a losing strategy - you lose the sale and the customer for life. According to PwC 32% of customers don't come back after one bad customer experience. You can get started by diagnosing your website here.