Book Image

Deep Inside osCommerce: The Cookbook

By : Monika Mathe
Book Image

Deep Inside osCommerce: The Cookbook

By: Monika Mathe

Overview of this book

osCommerce has been around since March 2000. At present there are over 10,000 live, registered osCommerce sites, and about 100,000 registered community members. Apart from providing ready-made solutions to problems, as well as a huge repository of information, the osCommerce community is a living entity with which we can all interact. With the rising success and popularity of this remarkable piece of software, things can only get better.
Table of Contents (17 chapters)
Deep Inside osCommerce: The Cookbook
Credits
Foreword
About the Author
About the Reviewers
Introduction

55. Hide Payment Modules from Public Eyes


This recipe allows you to specify your own customers_id from your dummy account for safely testing a payment module while keeping it hidden from all other users. While the test is under progress, other users can freely access all other payment modules. This hack is highly adaptable as you will be using the same code for whichever payment module you require hidden. The define for you as a Master Customer is done in the main configuration area, and only a few lines of code need to be added to hide for the time being the modules you would like to test.

Presentation

Your screen in Administration | Configuration | Hide Payment Modules will look like the following when you are planning to hide a payment module (this recipe uses PSiGate) while you are running your tests.

(PSiGate is a great Credit Card Gateway for testing as it doesn't require you to sign up for a merchant account for testing purposes.)

In this scenario, the standard osCommerce Credit Card...