Currently our store uses PayPal to process payments, but we also have a merchant account we use for telephone orders and stuff. I know about Master Password, but my question is, how would I get past the checkout process without charging?
Currently our store uses PayPal to process payments, but we also have a merchant account we use for telephone orders and stuff. I know about Master Password, but my question is, how would I get past the checkout process without charging?
You could use the Check/Money Order moneyorder ... or clone that for something like instore payment or whatever you are trying to do ...
You could also customize it further in some manner to only work for you and not show to other customers but you are not giving enough details to tell you ...
There is also a Purchase Order add on if I am not mistaken in the Free Software Add ons that might work for you ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I guess I could clone the Free Order payment module, and edit it somehow to only be used by the admin account. I know nothing of PHP and databases though, I've only worked with entry Python, C++, and JAVA.
Let's say you wanted to only show the Check/Money Order moneyorder payment module for your IP Address ...
You could use:
where XXX.XXX.XXX.XXX is your IP Address ...Code:$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false); // bof: only show for one ip address if (!IS_ADMIN_FLAG) { if ($_SESSION['customers_ip_address'] != 'XXX.XXX.XXX.XXX') { $this->enabled = false; } } // eof: only show for one ip address
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
That would work, however would it be possible to add multiple IP's by using an OR operator? If anything possible just by my admin account?
Code:if ($_SESSION['customers_ip_address'] != 'XXX.XXX.XXX.XXX' || $_SESSION['customers_ip_address'] != 'XXX.XXX.XXX.XXX' || $_SESSION['customers_ip_address'] != 'XXX.XXX.XXX.XXX') {
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
When I add an || in, and another IP, the money order option does not come up anymore. It did work with just my IP.
Here's code:
Code:// bof: only show for one ip address if (!IS_ADMIN_FLAG) { if ($_SESSION['customers_ip_address'] != '98.208.140.119' || $_SESSION['customers_ip_address'] != '97.100.83.23'){ $this->enabled = false; } } // eof: only show for one ip address
Silly me ... should use && rather than || ...
I was just following along with your OR question and not the reality of how to do this ...
Code:if ($_SESSION['customers_ip_address'] != 'XXXXXX' && $_SESSION['customers_ip_address'] != 'XXXXXXXX') {
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Lol, that did the trick though. I get those AND's and OR's mixed up sometimes too
Thanks for the code!!
One last thing. Where would I change the output for payment type in this code? Basically where it says Payment Method: Check/Money Order on the invoice and in the e-mail, I basically want to change to manual order.
Bookmarks