uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Changing payment method text

Knowledge Base Lobby : uShop Support Conference : General Questions
Dec-14-17 11:57 AM EST
Original Message
Changing payment method text
Author Gary Torello on 05-16-2001 at 09:27 (EST)
Hi!

Some time ago, with your help we made a mod to ushop.pl in order to have the payment type appear in the confirmation email (see below to see what we did) which is working great.

However, we're using the "cod_payment" option to allow our consultants to place an order, get a total and then send a check PRIOR to shipping and would like the payment type line to say something other than "cod_payment" (causes confusion) like perhaps "check_payment"

How can we accomplish this? Thanks!

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

WHAT WE DID PREVIOUSLY:

STEP 3: Do a search on the following line:

$receipt_text = &get_receipt_text("YES");

STEP 4: Immediately AFTER that line, add the following line:

$receipt_text .= "nPayment Method: $payment_methodn";

STEP 5: Save the file (as TEXT if your editor asks)... and try it out!

(An indication of the type of payment should be displayed at the bottom of the email.)

E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Changing payment method text Bill Weiner, 2001-05-16 21:32:35 (1)

Messages In This Discussion
         1. RE: Changing payment method text
        Author Bill Weiner on 05-16-2001 at 21:32 (EST)
Well, if you just want it displayed on the email notification, then you can just modify STEP 4 (above) by changing it from:

$receipt_text .= "nPayment Method: $payment_methodn";

to

if ($payment_method eq "cod_payment")
{
$receipt_text .= "nPayment Method: Checkn";
}
else
{
$receipt_text .= "nPayment Method: $payment_methodn";
}
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.