Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Manual orders using check/moneyorder

    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?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Manual orders and PayPal

    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!

  3. #3
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Manual orders and PayPal

    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.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Manual orders and PayPal

    Let's say you wanted to only show the Check/Money Order moneyorder payment module for your IP Address ...

    You could use:
    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
    where XXX.XXX.XXX.XXX is your 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!

  5. #5
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Manual orders and PayPal

    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?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Manual orders and PayPal

    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!

  7. #7
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Manual orders and PayPal

    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

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Manual orders and PayPal

    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!

  9. #9
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Manual orders and PayPal

    Lol, that did the trick though. I get those AND's and OR's mixed up sometimes too

    Thanks for the code!!

  10. #10
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Manual orders

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Manual orders using Intuit's goPayment
    By sleepgone in forum Addon Payment Modules
    Replies: 3
    Last Post: 28 Jun 2013, 07:52 AM
  2. v139h configuration of Payment Module from Admin : check/MoneyOrder
    By devyani in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 6 Mar 2013, 09:31 AM
  3. PayPal Standard & MoneyOrder/Check
    By cactusrunning in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 14 Oct 2010, 08:38 PM
  4. Replies: 2
    Last Post: 10 Feb 2010, 04:21 AM
  5. Placing orders without check-out, manual shipping calculation and notification
    By Rudran in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Aug 2007, 11:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR