Forums / Addon Payment Modules / Purchase Module - Purchase Order Payment Module Problem

Purchase Module - Purchase Order Payment Module Problem

Locked

Started by keewong on 28 May 2008, 11:29 PM · Views: 5,094

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
28 May 2008, 11:29 PM
#1
keewong avatar

keewong

New Zenner

Join Date:
May 2005
Posts:
50
Plugin Contributions:
0

Purchase Module - Purchase Order Payment Module Problem

Hi, I have been using the Purchase Module by Slabadoo for version 1.3.7 from the available downloads section for Zen-Cart, here -> http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=549

on my last web host without a hitch, but when I moved over to my new host, it appears to not work anymore.

Even with numerous tries with fresh installs, it still comes up with the same problem.

And basically, the problem, is when I type in all the purchase order information, and lets me go through to submit the order, the actual information that was typed in, does not show up.

Which then leads me to believe it could be a problem with the certain settings on the php end or something else.. I'm not sure..

Does anyone know what to check as far as settings for this to work?

Zen Cart Contributor

29 May 2008, 5:09 PM
#2
keewong avatar

keewong

New Zenner

Join Date:
May 2005
Posts:
50
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

I've included an image representation of whats going on.. anyone who has a clue, please chime in. I been dealing with this for over 2 months now, I have tried everything I have thought it could be, without bothering the community with this.

Zen Cart Contributor

2 Jun 2008, 6:39 PM
#3
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: Purchase Module - Purchase Order Payment Module Problem

Is the version of PHP different on the new host. PHP 5 will do this. If so, perhaps just having your host put the site on a php 4 server might fix the issue.
Hope that helps!

Slabadoo

5 Jun 2008, 9:37 PM
#4
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

Am using Zen 1.3.8a and PO Mod for 1.3.8 (Knuckle-101's upgrade). After installing the mod the credit card numbers no longer show in the customer or admin order confirmation emails, nor do the numbers show in admin. If I replace the order.php with the original file the cc numbers show, but of course, the PO numbers do not. How can I get both to show as needed?

Thank you

6 Jun 2008, 12:47 PM
#5
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: Purchase Module - Purchase Order Payment Module Problem

what version of PHP is the site using?

Slabadoo

6 Jun 2008, 12:56 PM
#6
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

PHP version is 5.2.0

6 Jun 2008, 1:19 PM
#7
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: Purchase Module - Purchase Order Payment Module Problem

I am leaning towards the version og php being the culpret. See this post. It has answers for you. http://www.zen-cart.com/forum/showthread.php?t=35880

Hope that helps:smile:

Slabadoo

6 Jun 2008, 1:36 PM
#8
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

I replaced HTTP_POST_VARS with _POST with no change. I also tried to make the changes mentioned by Flakrat (http://www.zen-cart.com/forum/showpost.php?p=258261&postcount=6) but the lines they mention do not match the lines in my file. What should I do from here?

6 Jun 2008, 1:58 PM
#9
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

My other concern is that post is for 1.3.5 and I am using 1.3.8a.

6 Jun 2008, 2:32 PM
#10
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: Purchase Module - Purchase Order Payment Module Problem

FYI, no need to PM me each time you post. :smile: The PO mod specifiaclly states 1.3.7. There are post pertaining to php5 that should get you close. 1.3.8 code is different and will require the 1.3.7 code to be modified but I would imagine only in the placemet of the code. Here is my thread during the process of bringing up to speed for 1.3.7 as now I would imagine you have taken the torch to bring it up to 1.3.8 should you choose. This thread should bring you up to par concerning php 5 but as for the version of zen cart 1.3.8 I would assume the code will have to be altered in some way. Though the code looks different, it stil does the same thing and it's just a matter of placing it correctly. http://www.zen-cart.com/forum/showthread.php?t=62378&highlight=slabadoo

Hope it helps.

Slabadoo

6 Jun 2008, 5:13 PM
#11
keewong avatar

keewong

New Zenner

Join Date:
May 2005
Posts:
50
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

Thanks for the link to that thread slabadoo, changing the HTTP_POST_VARS with _POST worked for me. I suppose I didnt see that thread because I wasn't searching in the right place "Contributed Add-ons"

Anyways, thanks again.

And good luck to you Yellowleaf, I dont know much about php myself, but very pleased with the zen-cart community. I am using the 1.3.7 zen-cart, and not 1.3.5 when I changed the http_post_vars to _post. maybe silly question, but did you leave the '$' in front of the '_post' to read '$_POST' ?

Zen Cart Contributor

6 Jun 2008, 9:56 PM
#12
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

Yes, the "$" is there. We are running 1.3.8a for the cart and installed Knuckle-101's PO Mod update for 1.3.8, but it still does not work. I do not know enough about php to be able to correct it so at present we are dead in the water. I did see other people who had success changing that in 1.3.7, but not for 1.3.8.

6 Jun 2008, 11:53 PM
#13
keewong avatar

keewong

New Zenner

Join Date:
May 2005
Posts:
50
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

yellowleaf:

so at present we are dead in the water

Sorry to hear of your problems yellowleaf, maybe one last silly question.. you did a search for the http_vars_post? I know when I changed my code, they were in a few places that i didnt think i could see without searching for the term.

Anyways.. I was dead in the water for a few months with my problem, but I got around it by just turning on the check/MO option, and changing the "Order Comments" section to read "Purchase Order Number and Order Comments" haha

but I have a feeling that may not be acceptable in most business scenarios. I suppose if I run into anything else, I will post it up here.

Zen Cart Contributor

7 Jun 2008, 10:28 PM
#14
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

"changing the "Order Comments".

I had suggested that and the customer had a fit. They want a properly working program. You know how that goes...

21 Sep 2010, 11:29 PM
#15
gillonye avatar

gillonye

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

I am using a Zencart v1.3.9b. I have successfully installed the Ty Package module and the Purchase order module. I recently installed super order add-on (for more flexibility and better order management). After installation, under Admin>Module>Payment> I do not find the PO payment module to install. Can any one please help me out? Thank you in advance.

13 Dec 2010, 11:19 PM
#16
negrilsun avatar

negrilsun

New Zenner

Join Date:
Jul 2010
Posts:
8
Plugin Contributions:
0

Re: Purchase Module - Purchase Order Payment Module Problem

Hi. I'm working with 1.3.9h and just installed the Purchase Order Payment module. Not a coder so forgive me. Not sure where the purchaseorder.sql file should be loaded.

Also, not seeing the 'sql updater' that I should run as per the Read Me file...

I'm hoping once I have answers to those questions then the checkout page will populate the po # automatically?

(What I'm hoping to do here is allow customers to select and purchase items, and then generate a PO. They would then make the related payment at an authorized bill payment location.)