When using a custom payment method, the placeOrder function submits the information to the capture function in the Model file of the module. If an error happens there, is there a way to return that error to the checkout page and not have it proceed to the submitted page? And if so, can the error be displayed using javascript functions?
You may also like
I have a relatively large data directory. It gets updated occasionally, but usually only a small percentage of the tree changes. I’m […]
For example, let’s say I want to change all instances of RGB #FF0000 to RGB #FF8888. I have read the manual entry […]
I’ve only recently started working with Magento and developement in general, so I am new at this. I need a (simple) product’s […]
We are facing issue in quote_item table with row_total column in which its not rounding prices of items. for example please check […]