Page 1 of 2 12 LastLast
Results 1 to 10 of 46

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Largo, Florida USA
    Posts
    102
    Plugin Contributions
    0

    Purchase order module

    Does anyone know where I can get the purchase order module?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Purchase order module

    www.camelot-hosting.com
    hit the downloads link
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Re: Purchase order module

    Do you know if there's any problem using the PO module (I'm using PO-MOD-1.3) with PHP 5?

    I had it working on my system, but it stopped functioning earlier this month. I believe that is when I upgraded from PHP 4 to 5.

    What I'm seeing is, when the user fills out their PO info, clicks the Continue button to confirm the order, the following displays:
    Payment Method
    Purchase Order
    Purchase Order
    Account name:Account Number: Purchase Order Nr:

    After they submit the order, the po fields in the zen_orders table do not get any data, the only related field that does get filled in is payment_method, which shows "Purchase Order".

    Any ideas where to look in the po php files?

    Thanks, Mike

  4. #4
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Idea or Suggestion Re: Purchase order module

    Ok, I believe I've fixed it

    You need to change each occurrence of the following in file ./includes/modules/payment/po.php

    HTTP_POST_VARS

    with

    _POST

    Hope this helps,

    Mike

  5. #5
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Re: Purchase order module

    One thing that still isn't working is, in the email message sent to the customer and to the store admin (following a purchase), the Payment Method section looks like:

    Payment Method
    Purchase Order
    with the following information:

    It's missing the actual Account Name, PO number info.

    Any ideas? This used to work, so it must be another issue with PHP 5 or Register Globals being off.

  6. #6
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Idea or Suggestion Re: Purchase order module

    Ok, I've fixed the issue with the email not displaying the PO number. Apparently, in the previous version of my store, I had added code to add PO number and Account name to the emails.

    Here's the code for Zen v1.3.5 that will do just that.

    Modify ./includes/classes/order.php

    Replace the text email line:
    $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';

    with
    $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n" . "Account: " . $this->info['account_name'] . "\n" . "PO #: " . $this->info['po_number'] . "\n\n" : '';

    And replace the html email line:
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer :

    With the following if statement
    if ($GLOBALS[$payment_class]->title == 'Purchase Order') {
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer . "<br>" . "Account: " . $this->info['account_name'] . "<br>" . "PO #: " . $this->info['po_number'] : '');
    } else {
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] );
    }

  7. #7
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Purchase order module

    Quote Originally Posted by flakrat View Post
    Ok, I believe I've fixed it

    You need to change each occurrence of the following in file ./includes/modules/payment/po.php

    HTTP_POST_VARS

    with

    _POST

    Hope this helps,

    Mike
    hai,
    i need the purchase order module, can you tell me the link where i can download the po please help me.

  8. #8
    Join Date
    Mar 2007
    Location
    Lakeland, FL, US
    Posts
    44
    Plugin Contributions
    2

    Default Re: Purchase order module

    I have not used this module since finding the "order status" problem and do not know what the real difference between these 2 contributions since the 1.3.7 should have worked for 1.3.8 without any changes.

    http://www.zen-cart.com/index.php?ma...ort=20a&page=4

    Purchase Module
    Last Updated by: Slabadoo on Apr 12 2007 v1.3.7

    purchase module
    Last Updated by: Knuckle-101 on Feb 20 2008 v1.3.8

  9. #9
    Join Date
    Apr 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Purchase order module

    Quote Originally Posted by flakrat View Post
    Ok, I believe I've fixed it

    You need to change each occurrence of the following in file ./includes/modules/payment/po.php

    HTTP_POST_VARS

    with

    _POST

    Hope this helps,

    Mike
    THANKS! I was having the same issue. This fixed it right up - now it is adding to the database. This also fixed my email problem that you described - I didn't need to make those changes.

    Thanks again!

  10. #10
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Purchase order module

    Quote Originally Posted by Merlinpa1969 View Post
    www.camelot-hosting.com
    hit the downloads link
    hi Merlin,
    i couldn't find the download link for purchase order. If you dont mind can you tell me the link where i can download the purchase order module.
    please.........

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Purchase Module - Purchase Order Payment Module Problem
    By keewong in forum Addon Payment Modules
    Replies: 15
    Last Post: 14 Dec 2010, 12:19 AM
  2. Replies: 0
    Last Post: 23 Jan 2009, 09:59 PM

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