Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to modify the Auto-Receipt email


annieoakley

Recommended Posts

Posted

Here is a copy of one of our automated emails..the company name isn't showing up so I need to modify this page but can't figure out where it is located:

 

-----Original Message-----

From: Authorize.Net Auto-Receipt [mailto:[email protected]]

Sent: Tuesday, October 04, 2005 9:44 AM

To: xxxxxx

Subject: Merchant Email Receipt

 

**Please DO NOT REPLY to this message. E-mail [email protected] if you

have any questions.

 

========= SECURITY STATEMENT ==========

It is not recommended that you ship product(s) or otherwise grant services

relying solely upon this e-mail receipt.

 

========= GENERAL INFORMATION =========

 

Merchant : xxxxxx: 04-Oct-2005

09:43:45 AM

 

========= ORDER INFORMATION =========

Invoice :

Description :

Amount : 35.00 (USD)

Payment Method : MasterCard

Type : Authorization w/ Auto Capture

 

============== RESULTS ==============

Response : This transaction has been approved.

Authorization Code : 555555

Transaction ID : 555555

Address Verification : Street Address: Match -- First 5 Digits of Zip:

Match

 

==== CUSTOMER BILLING INFORMATION ===

Customer ID : 27

First Name : John

Last Name : Doe

Company :

Address : Some Address

City : Main

State/Province : ME

Zip/Postal Code : 05555

Country : United States

Phone : 444 555 5555

Fax :

E-Mail : email@email

 

==== CUSTOMER SHIPPING INFORMATION ===

First Name : John

Last Name : Doe

Company :

Address : 1234 Main St

City : SomeCity

State/Province : State

Zip/Postal Code : 05555

Country : United States

 

======= ADDITIONAL INFORMATION ======

Tax :

Duty :

Freight :

Tax Exempt :

PO Number :

Posted

This looks like its coming from the payment agency not the osc. The order emails are generated in the catalog\checkout_process.php So there you have the store name included with the transaction.

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
			 "\r\nTnank you for your order! \r\n\r\n Have a wonderful day!\r\n" .
			 EMAIL_SEPARATOR . "\n" . 
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 if ($order->info['comments']) {
$email_order .= tep_db_output($order->info['comments']) . "\n\n";
 }
 $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . 
			  EMAIL_SEPARATOR . "\n" . 
			  $products_ordered . 
			  EMAIL_SEPARATOR . "\n";

 

 

Now if you want the company name with the email from authorize.net see the includes\modules\payment\athorizenet.php

I am not familiar with all the fields of this particular agency maybe you could ask them if they have a custom field for this purpose or something like:

'x_Company_Name'

The default ones do not include company in this module.

Archived

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

×
×
  • Create New...