0

i am using Magento 2.4.3 i want to add new Fields on shipping step and payment step , when i have done this with this tutorial ==> "How to Add Custom fields to Checkout page in Magento2" but when i click on Place Order it gives me this error on the screen :

enter image description here

on chrome console :

enter image description here

can anyone please help me please?

2 Answers 2

0

Generally this error occurs if you have used sales_order_place_after event in which some thing is wrong, try to debug each and every line.

0

For that checkout page error, you need to check the log files. you can find errors in these files easily.

var/log/debug.log
var/log/exception.log
var/log/system.log

If you are using ubuntu system so just run below command so it will load all var/log files errors on the terminal.

tail -f var/log/*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.