To allow your store staff to use a "private" payment module, this approach often works, if the IP address is "static" as in "doesn't change":
1. Add the authorized IP addresses to the list of Maintenance IP addresses in Admin->Configuration->Website Maintenance
2. Add the following code to the moneyorder.php payment module, and activate the module in your Admin payment modules screen:
Code:
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
if (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])) {
$this->enabled = TRUE;
} else {
$this->enabled = FALSE;
}
Bookmarks