cancel
Showing results for 
Search instead for 
Did you mean: 

Successful Order on Failed Payment

Successful Order on Failed Payment

Hi there,

I am trying to integrate Paytm payment gateway. Paytm has given me the module with simple configuration. I now see Pay by Paytm at checkout and it works.

 

For example, if I pay proper amount, my order gets successful.

 

The problem is: Even if I get failed payment response from payment gateway, my order still succeeds. 

Doesn't Magento handle failed payments? Any advise on how to correct it?

 

FYI, the payment gateway is returning proper return codes and proper url for success and failure, so it has to be something within Magento.

 

Any help is appreciated. Thanks.