In drupal commerce, while adding a new payment gateway [
Home >> Administration >> Commerce >> Configuration ], there's a section called
Conditions where you can specify a certain condition that decides whether that payment method should be visible or not.
I want to add a custom made condition ( I have some code that decides if this payment method should be visible or not )
I just need a hint on where can I go look for to code something like this.