by BVBAccelerate » Wed Sep 28, 2011 11:54 am
Hey Everyone,
I have developed a payment plugin that allows people to pay either using their credit card or offline. I would like to add a feature to this so that if people have chosen to pay offline, they are brought to a page with a link to print out their offline payment form. I have everything set up and working except for I don't know how to create a new dynamic page in this system.
I'm familiar with MVC, and was figuring that maybe sections of the URL were directing the system on which function to use in the plugin's class, but I haven't been able to get it to work. I know that my class is extending the PaymethodPlugin class, so does this mean it only has the capability to display certain pages (settings page, payment form page, confirmation page), or can I write something in my plugin to extend its functionality to include an offline payment form based on the queued payment ID?
Please let me know, thanks!