Question

I have quit "original" problem with Magento (if only if was original with Magento :p).
I browse product (for now everything fine), I put product in basket (everything fine), go to checkout and complete form (still fine) and go to payment and when I click on place-order nothing happen.
Going on console - no problem
Going in network - 400 payment-information (yes 400 neither 500 neither 404 :p)
then checking var/log - no problem (ಠ_ಠ)
(Of course for dear Magento I do after each change when I want to test :
- sudo rm -rf generated/*
- sudo rm -rf var/*
- sudo rm -rf cache/*
- sudo php bin/magento setup:upgrade
- sudo php bin/Magento setup:static-content:deploy -f
- sudo php bin/magento detup:di:compile
- sudo chmod -R 777 ./)
Someone had similar issue ? if yes then how to know where come from the issue ?
PS: in case of minus please let me a comment so that I can improve the post

Was it helpful?

Solution

First of all, you need to find an error. So for that, you need to enable developer mode and add below code in the root index.php file

To enable developer mode:

php bin/magento deploy:mode:set developer

Add error log report enable code in the index.php

error_reporting(E_ALL);
ini_set('display_errors', 1);

Still, you cannot able to see the error, please check in var/logs or try to disable third party payment gateway and see is it working fine if not then please let me know.

And if you can able to see the error then try to fix it from your end or if you need my help please let me know the error, I will try to provide a solution.

Hope this will help you.

OTHER TIPS

You need to chmod -R 777 'pub', 'generated' and 'var' folders

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top