www.uburst.com www.uburst.com

"My simple PayPal solution. And a question"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"My simple PayPal solution. And a question"
Posted by Ron Harter on Mar-22-02 at 10:42 PM (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

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: My simple PayPal solution. And ..., Bill Weiner, Mar-24-02, (1)
PayPal, Ron Harter, Mar-25-02, (2)
PayPal, Ron Harter, Mar-25-02, (3)
RE: PayPal, Bill Weiner, Mar-26-02, (4)
Rounding, Ron Harter, Mar-26-02, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: My simple PayPal solution. And a question"
Posted by Bill Weiner on Mar-24-02 at 11:20 AM (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_custom\n";
$ret_text .= "$order_processing_codes\n";

To

$ret_text .= "$lang_payment_method: PayPal\n";
$ret_text .= "PayPal Order\n";

STEP 7: Save the script ... as TEXT if your editor asks... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "PayPal"
Posted by Ron Harter on Mar-25-02 at 11:32 AM (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
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "PayPal"
Posted by Ron Harter on Mar-25-02 at 12:57 PM (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

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "RE: PayPal"
Posted by Bill Weiner on Mar-26-02 at 05:51 AM (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.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
5 . "Rounding"
Posted by Ron Harter on Mar-26-02 at 12:51 PM (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

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.