cancel
Showing results for 
Search instead for 
Did you mean: 

Checkout spins in new install of magento 2.4

Checkout spins in new install of magento 2.4

Hi,

Hope that someone is able to assist. I have setup magento 2.4 on Ubuntu and installed porto theme.
I am having an issue when i test the checkout process. I am trying to do a money order.The order is created in the Magento backend so i can see the order in admin but the frontend page sits spinning forever with no error received.
I have spent days trying to resolve.

 

I have enabled developer mode as trying to get some sort of error back from the system to point me in the correct direction.
I am new to magento and if someone is able to suggest pointing me in the correct direction.

Looking at trying to see if i can move my logs to verbose if that's possible?

Thanks,

Ross

4 REPLIES 4

Re: Checkout spins in new install of magento 2.4

 

Did try the following as well:

alias mage="php -d memory_limit=-1 -f bin/magento"

chmod -R 775 pub/static/ var/ pub/media/ &&
rm -rf vendor/* var/view_preprocessed/ var/cache/ var/page_cache/ var/tmp/ var/generation/ pub/static/frontend/ ;
composer install && composer update -vv;
php -r "opcache_reset();"
mage cache:flush &
mage indexer:reindex &
mage setup:static-content:deploy && 
mage setup:upgrade &&
mage setup:db-data:upgrade &&
mage dev:source-theme:deploy &&
chmod -R 775 pub/static/ pub/media/ var/

 

 

Re: Checkout spins in new install of magento 2.4

Please check the API response from the java script there should be a message.
Steps to follow.
1. Inspect element

2. Navigate to network section

3. Complete the checkout process and check the network call response It will update you about the issue.

Re: Checkout spins in new install of magento 2.4

Hi,

 

This is the result i receive back. Nothing in the response but the file is payment-inforation.

Error.jpg

 

Best,

 

Rpss

Re: Checkout spins in new install of magento 2.4

Hello @rossrobertcca9 

Sometimes after modifying any .js file in magento cache related to JS are not cleared correctly. So we need to clear it through the terminal... Please run the following commands:

This is a common issue. Sometimes after modifying any .js file in magento cache related to JS are not cleared correctly. So we need to clear it through the terminal... Please run the following commands:

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex