Grab the feed

School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.

John Taylor Gatto

Recent comments

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:

  1. Override the function theme_ebook_info() in ebook.module, this is the one adding the links Pay by credit card and Pay using Paypal.
  2. 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.
  3. 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

Add your comment