School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.
John Taylor Gatto
How To Make a Payment Processor Optional
Hi Lisa, thank you for your comment. Of course, you can disable any payment processor. There are three ways of doing it:
- Override the function theme_ebook_info() in ebook.module, this is the one adding the links Pay by credit card and Pay using Paypal.
- Using PHPTemplate create a custom page putting the payment links where you want. I did this in Telework People, take a look at the HTML code and see how I repeated and customized the payment links in many places.
- Wait for the next version, it will be just a matter of clicking on a checkbox.
Actually options one and two don't disable a payment processor, they just hide the link to the payment page using that processor but for practical use is the same.
Don't forget to let us know about your site if you implement the module.
Cheers!
Alexis Bellido
Mon, 2006-11-06 14:48 — alexis
Also visit
www.flickr.com
This is a Flickr badge showing public photos and videos from alexisbellido. Make your own badge here.


Recent comments
19 weeks 4 days ago
19 weeks 5 days ago
20 weeks 1 day ago
21 weeks 2 days ago
22 weeks 6 days ago
24 weeks 5 days ago
25 weeks 16 hours ago
26 weeks 3 days ago
26 weeks 3 days ago
27 weeks 7 hours ago