I would like to modify the payment process in OCS and since I think it coul be something that could be given back to OCS has a contibution I would like some suggestion on how to do that.
Actually it's possible for the user to use only one payment method: the one configured in the backend.
First I was planning to enhance OCS to be configured to display to the user more than one payment method, but I have changed my mind because it would be to expensive in time for me, since it would involve a change in the database schema and changes both at the user and backend sides of the interface.
Then I have thought to change the behavior of OCS so to show always the manual payment as an option to the user, even if an online payment method has been configured.
For what I see this could be done only changing the behavior of OCS in the registering user interface.
Is this something that could be added to OCS next release if properly realized ?
If yes, then I could write it and send a patch, otherwise I should implement a plugin but it could be more time expensive.
If I should implement the plugin, since, for what I see there are not hooks neither in php files nor in the templates involved in the registration process, I could use the hook in the OCS root index.php page to change the $sourceFile variable so to pass to the following require the proper argument to redirect the request to my new registration form.
Can some of the developers tell me what you guys think about all I have written above just to know if I'm on the right path?