Why I am getting Something Went Wrong error while doing checkout?

Sometimes, the iCart app may experience delays during the checkout process, resulting in the error message “Something Went Wrong. What Happened? This Invoice Is Not Available Yet, Please Try Again Later.” This error occurs when the cart items are not recognized due to a delay in execution. It is important to note that this issue is specific to apps that use draft orders. For more information about this error and its occurrence in other apps that utilize draft orders, you can refer to the following link: Link to Shopify Community Discussion

Something went wrong. What happened? This Invoice Is Not Available Yet, Please Try Again Later

Resolution Steps

To resolve the “Something Went Wrong” error, follow the steps below:

Step 1: Visit the iCart App Dashboard
➝ Log in to your Shopify admin panel.
➝ Navigate to the iCart Cart Drawer Cart upsell app dashboard.

Step 2: Access General Settings
➝ Within the iCart app dashboard, locate and click on the “General Settings” option.
➝ This will open the general settings page.

Step 3: Find the “Custom Script” Option
➝ Scroll down the general settings page until you find the “Custom script (use this option to do a custom script where iCart doing anything)” option.
➝ This option allows you to add a custom script to handle specific scenarios.

Step 4: Add the Code
➝ In the “Custom script” option, add the following code:

icartWaitForRedirect=true;

➝ This code helps to add delay in checkout process and prevent the occurrence of the error message.

Step 5: Save and Apply Changes
➝ After adding the code, save the changes by clicking on the “Save” button. Ensure that the changes are successfully applied.


Please find the below screenshot of the above step’s quick action


Something went wrong. What happened? This Invoice Is Not Available Yet, Please Try Again Later

By following these steps and adding the provided code in the iCart app’s general settings, you should be able to resolve the “Something Went Wrong” error that occurs during the checkout process. This code helps mitigate delays in execution and ensures a smoother checkout experience for your customers.

window.icartWaitForRedirect = 1000;

To verify the resolution, kindly check it in a private window and please don’t be hesitate to contact our support team if the issue is still persist.