Forums / Built-in Shipping and Payment Modules / PayPal IPN and Shipping Costs

PayPal IPN and Shipping Costs

Locked

Views: 3,074

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Jun 2006, 5:05 AM
#1
jmcdog avatar

jmcdog

New Zenner

Join Date:
Apr 2006
Posts:
29
Plugin Contributions:
0

PayPal IPN and Shipping Costs

I noticed that when using PayPal IPN, it was adding shipping costs (more than from zencart). My client has an ebay store so he has flat rate shipping which needs to stay on. I figured out how to get rid of this:

In your PayPal Acct >> Profile >> Shipping Calculations
Check this box:
"Miscellaneous — Allow transaction-based shipping settings to override profile settings"

Then from zen cart the following values are passed (along with many more!)

<form name="checkout_confirmation" action="https://www.paypal.com/cgi-bin/webscr" method="post" ...

<input type="hidden" name="amount" value="46.75" /> This Value is the total cost with shipping
<input type="hidden" name="shipping" value="0.00" />

So at PayPal it then says: Shipping: $0.00 (which ofcourse my client doesn't like)

I was thinking of going into the code and taking the shipping out of "amount" and putting it into "shipping".

Anyone have a similar situation? I'm wondering if I do this -- will I mess up database fields elsewhere?

14 Jun 2006, 7:19 PM
#2
inquarta avatar

inquarta

New Zenner

Join Date:
Apr 2006
Posts:
8
Plugin Contributions:
0

Re: PayPal IPN and Shipping Costs

I'm having a similar situation- in fact, I'm trying to do away with the Shipping line on the PayPal page altogether. I've tried fiddling around with my PayPal profile settings, but no luck. Anyone have any insights? Thanks in advance.

14 Jun 2006, 7:22 PM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PayPal IPN and Shipping Costs

look,
zen cart passes the total as one because paypal sucks, it works when it wants,

the less you send the less it has to play with

NO you cant turn the shipping line off in paypal....

Zen cart PCI compliant Hosting

30 Jun 2006, 8:10 PM
#4
agraddy avatar

agraddy

New Zenner

Join Date:
Jun 2006
Posts:
8
Plugin Contributions:
0

Re: PayPal IPN and Shipping Costs

If you go to modules/payment/paypal.php

about line 178 you will see a commented out line that says:

zen_draw_hidden_field('no_shipping', MODULE_PAYMENT_PAYPAL_ADDRESS_REQUIRED) .

simply uncomment it and change it to:

zen_draw_hidden_field('no_shipping', '1') .
``` and PayPal will no longer ask for shipping.

@Merlinpa1969
As you can see I'm new here so take what I have to say however you want. I have scanned over the forums trying to learn Zen Cart. I constantly have come away with the impression that the forums are not very friendly. I've finally realized that it is your posts that are making the forum an unfriendly place compared to other projects I have worked with. Almost everytime I see you post something it is negative or saying something like "That's impossible". Often the solutions are real simple but you tend to shut down all conversation with your posts and sidetrack the discussions on whether or not something is possible or not. With programming, just about anything is possible, you just need to know what it is you are doing. Most people coming to these forums don't realize that. I'm not sure if you program or not, but you may want to consider trying to change the tone of your messages. I'm not trying to offend you, just trying to share some insight from a person who is new to Zen Cart, but knows a little about programming.
26 Jul 2006, 7:46 PM
#5
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Re: PayPal IPN and Shipping Costs

You rock! I've been looking EVERYWHERE to find out how to turn of shipping line in Paypal.