I want to reject payment if some condition is false using event observer. For this what i have to do?

And which observer event i have to use.

  • Please ask one question at a time. Edit this question for the first one and use the Ask Question button to ask another. – 7ochem Feb 8 '16 at 12:22
  • k i asked single question – Rahul Chaurasia Feb 8 '16 at 12:24

You can fire this event sales_order_payment_capture and write your condition inside Observer.php

You can also find all the event list from here events

| improve this answer | |

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.