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.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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