0

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.

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

1 Answer 1

1

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

Your Answer

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

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