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

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4>
  • Lines and paragraphs break automatically.

More information about formatting options