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
My simple PayPal solution. And a question

Knowledge Base Lobby : uShop Support Conference : General Questions
Oct-24-17 01:39 AM EST
Original Message
My simple PayPal solution. And a question
Author Ron Harter on 03-22-2002 at 22:42 (EST)
I recently added PayPal to our site (www.excess-solutions.com) by just using the custom payment option.
This allows the customer to place the order without entering any payment information. I included instructions that after they receive the order confirmation to return to the web site and click on the PayPal logo which is on every page and send the total amount of the order. If they don't do this within a few hours of placing the order I go onto our PayPal account and request the money using the Order Number.

This is a little more time consuming but we only get a few orders a week this way so it is worth it. So far have had at least $1000.00 a month through paypal. I don't know if they would have placed the order by another method anyway though.

Will be looking forward to the new updated Ushop in the future.

The only problem I have is minor, when the order is written it shows the payment method as CUSTOM. I would like to change this so it says PayPal. I am not a programmer and hesitant to change things without knowing what I am doing. Could you tell me the line in the cart to change this?

Thanks and keep up the good work.

Ron Harter
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: My simple PayPal solution. And a question Bill Weiner, 2002-03-24 11:20:56 (1)
            PayPal Ron Harter, 2002-03-25 11:32:04 (2)
                 PayPal Ron Harter, 2002-03-25 12:57:16 (3)
                      RE: PayPal Bill Weiner, 2002-03-26 05:51:36 (4)
                           Rounding Ron Harter, 2002-03-26 12:51:45 (5)

Messages In This Discussion
         1. RE: My simple PayPal solution. And a question
        Author Bill Weiner on 03-24-2002 at 11:20 (EST)
Do you want to change the text that's actually written to the order file... or do you just care about what's displayed on the order reader? Assuming that you just care about what you see on the order reader, below are instructions on how to make that change. (Let me know if you want to actually change the text in the order file).

STEP 1: Make a backup of your current "ushop-lib.pl" script... just in case.

STEP 2: Open your "ushop-lib.pl" script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

elsif ($payment_method eq "custom_payment")

STEP 4: Immediately after that line, change the two lines:

$order_instructions .= "$lang_payment_method: $lang_custom < BR > ";
$order_instructions .= "$order_processing_codes < BR > ";

To

$order_instructions .= "$lang_payment_method: PayPal < BR > ";
$order_instructions .= "PayPal Order < BR > ";

STEP 5: Do another search on the following line:

elsif ($payment_method eq "custom_payment")

STEP 6: Immediately after that line, change the two lines:

$ret_text .= "$lang_payment_method: $lang_customn";
$ret_text .= "$order_processing_codesn";

To

$ret_text .= "$lang_payment_method: PayPaln";
$ret_text .= "PayPal Ordern";

STEP 7: Save the script ... as TEXT if your editor asks... and try it out!
TABLE OF CONTENTS
                 2. PayPal
                Author Ron Harter on 03-25-2002 at 11:32 (EST)
Thanks for the prompt response.
Yes I would like to change what is actually printed on the order. So when I fax the order to the warehouse it says PayPal on it instead of Custom
Thanks
Ron
TABLE OF CONTENTS
                         3. PayPal
                        Author Ron Harter on 03-25-2002 at 12:57 (EST)
Sorry I should have tried it first. That did exactly what I wanted
Thank you.

P.S. I noticed a strange math error when I placed a test order:

ID NAME/DESCRIPTION QTY PRICE

ES2573 Delta BFC121B Blower 10 $ 100.00


Subtotal: $ 100.00
Tax (0.0%): $ 0.00
Shipping & Handling: $ 10.09
Total: $ 110.08

Its no big deal since it is only a penny but thought you might like to see if it is a problem.
Thanks again
Ron
TABLE OF CONTENTS
                                 4. RE: PayPal
                                Author Bill Weiner on 03-26-2002 at 05:51 (EST)
Glad that worked for you.

In regard to that penny problem.... that looks like some sort of a rounding/display problem. Based on your Shipping & Handling settings, is it the $10.09 shipping charge that is correct ... or is it the $110.08 total charge correct? I think it has to do with rounding each amount at display time... yet maintaining the exact value for calculations.... where subtotal, shipping and handling may round one way when viewed individually... but round another way when summed together and then viewed. In any case, we'll look into it.
TABLE OF CONTENTS
                                         5. Rounding
                                        Author Ron Harter on 03-26-2002 at 12:51 (EST)
Thanks Bill,

I figured it was probably a rounding error. I use a weight formula for shipping and that is most likely the cause. I have never noticed an error greater than a penny, just thought it seemed strange.

Ron
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.