Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checks/Money Orders


Guest

Recommended Posts

:x Hello, I have been working with the osCommerce Software for a while, everything was going great until I recieved my first order confirmation which was by Money order, I look and it does not have any of my Information it displays this:

 

Payment Method

 

Check/Money Order

 

Make Payable To:

Your Company, Inc.

555 Something St.

Sometown, ST 00000

 

Your order will not ship until we receive payment.

 

Please somebody help me, I would deeply appreciate it.

Link to comment
Share on other sites

Mine says the same thing, it has STOR_NAME, and I am not sure where that is located, I don't have a pay by phone payment option to work with :cry: I have tried everything I can think of to find this information but I have had no luck.

Link to comment
Share on other sites

Mike, did you read my first reply? It says go to your admin, Configuration, My Store. You will find a setting called "Store Address and Phone". This is the address that shows up and that is wrong. Change it via Admin to what you want, and voila.

Steve

Link to comment
Share on other sites

I do not have that option anywhere under configuration, nowhere, I have looked all over Configuration, My Store, Shipping/Packaging, there is nothing, I Figure I have to edit a file but I do not know which one, I have already checked under Money order.php, hopefully somebody can help me figure this one out, thanks lots.

Link to comment
Share on other sites

This is from the configuration table Mike. Maybe you are missing some entries? I don't know why it would not be in My Store. It's in the bottom half of that screen, you should see lots of settings, maybe 20 or so?

 

If you would drop me a *private* message, maybe I can look at your admin if you give me the link and any password required? Would highly recommend changing the password after I am done.

 

I am done for the night though. It's 2AM here. I will check messages tomorrow afternoon.

Steve

Link to comment
Share on other sites

You will need to change the details with the following file

catalog/includes/language/english/moneyorder.php

open moneyorder.php and edit the name and address

 

As I said before you need to manually edit the above file. You can't change the address in the admin pages

Link to comment
Share on other sites

None of the information is located in Moneyorder.php I checked several times, I checked out the configuration windows on the left in admin and it looks complete, i get no errors and everything works fine except for my address it gives to the customer.

Link to comment
Share on other sites

None of the information is located in Moneyorder.php I checked several times, I checked out the configuration windows on the left in admin and it looks complete, i get no errors and everything works fine except for my address it gives to the customer.

 

When did you download the snapshot?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

This is weird. My download was in September of this year, and my moneyorder.php in the folder you mention does NOT have the address it in, it uses the value set in the My Store page of admin. So, I certainly do not have an old version. And it certainly does work just fine to set in in the admin.

 

What version and date of the moneyorder.php file does anyone else have that does NOT use STORE_NAME in moneyorder.php?

Steve

Link to comment
Share on other sites

What version and date of the moneyorder.php file does anyone else have that does NOT use STORE_NAME in moneyorder.php?

 

If you look here

 

http://cvs.sourceforge.net/cgi-bin/viewcvs.../moneyorder.php

 

You will see that the address information was changed from being stored in the language file to the database about 3 months ago :)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Thanks, glad to hear I am not quite as insane as I thought. So, if the download was before end of May, then yes, it is in the language file. Anyone more current than that needs to do what I said to do.

Steve

Link to comment
Share on other sites

Heya, Idownload the updated file forMoneyorder.php I was afraid I would never fix this,I looked at the file and was glad to see some recognizable things, ok one more question, how should I ed it?? where do i put my info, that would be a great help, thank you in advance.

 

 

 

 

<?php

/*

$Id: moneyorder.php,v 1.3 2002/05/31 19:02:02 thomasamoulton Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');

define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To:<br><br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.');

define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To:nn" . STORE_NAME_ADDRESS . "nn" . 'Your order will not ship until we receive payment.');

?>

Link to comment
Share on other sites

Ok, I fixed the top code to display the correct address when confirming an order, now whenever I try to add my address to the bottom one I get an error on the site about wrong code or somthing, I know I am typing in the syntax wrong, can someone please write a layout with a demo address so I can see what to do, I really need to get this fixed I am getting several orders but people keep freaking out about my address, Thank you again!

Link to comment
Share on other sites

All I need is to know where to put my address in this line of code, I am confused on what to use for the line breaks and stuff sombody please help me, thank you.

 

define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To:nn" . STORE_NAME_ADDRESS . "nn" . 'Your order will not ship until we receive payment.');

?>

Link to comment
Share on other sites

Solution:

You have to change the file moneyorder.php........but remember to find in: languages > "Your-language" > modules > payment > moneyorder.php

 

....there the adress is....remember to change it 2 times...you'll see what I mean when you open the file. :!:

Link to comment
Share on other sites

I already knew whatfile i needed to edit,I just need to edit the second address, I am not going to define STORE_ADDRESS_ADDRESS as it is not in my confoiguration, all I want to know it where to put my address and line breaks

 

define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To:nn" . STORE_NAME_ADDRESS . "nn" . 'Your order will not ship until we receive payment.');

 

Where do i put my address, I know i have to replace the STORE_NAME_ADDRESS, but how would I put it in there with the proper breaks, some one who can showme a demo line of code would be a big help and appreciated, thank you.

Link to comment
Share on other sites

Mike,

 

I would humbly suggest that you DO also take the time to fix your problem with your configuration table. Clearly, you have downloaded something since May of 2002, and apparently you are missing some of the configuration file parms.

 

Ignore if you want, but you do have a problem. If you did not have the problem, the change is as simple as I said. The other people saying to edit moneyorder.php also have a version older than May as mentioned previously if you check the CVS link. That enhancement was put in so you did NOT have to edit this file.

 

My moneyorder.php is identical to the one you show, and works great.

Steve

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...