0

When a payment fail I redirect the customer to a URL looks like below

http://exsample.com/checkout/cart?status=0&responcecode=91

in the page how can I read this $_GET['responcecode'] value?

please help me out.

2

you can get it with below code in magento

Mage::app()->getRequest()->getParam('responcecode');
| improve this answer | |
  • Thanks. I was able to get the value by using $_GET['responcecode'] as well. Appreciate your help – rajith1986 Nov 2 '15 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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