PayPal Shipping Not Working

Hi. I will admit that I’m new to connecting a home-grown shopping cart to PayPal, but it seems like this should be very easy. I have a simple site (30-35 products). When the user is ready to check out, I simply want to submit the order details, along with applicable sales tax (if any) and a single shipping cost for the entire order. Everything works except the shipping. No matter what I do, PayPal isn’t picking up the shipping amount.

I’ve tried it using the “shipping” variable with the amount, and I’ve tried if using “weight_cart” with the amount and “weight_unit” (“lbs”) with a shipping matrix I set up in PayPal to match the one on my site. Neither method works. No errors, just no shipping. :frowning:

What gives? Here’s a partial snippet with sample numbers:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="tax_cart" value="1.50" />
<input type="hidden" name="weight_cart" value="2.5" />
<input type="hidden" name="weight_unit" value="lbs" />
<input type="submit" value="Proceed to PayPal Payment Page" />
</form>

And with the shipping variable instead:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="tax_cart" value="1.50" />
<input type="hidden" name="shipping" value="2.50" />
<input type="submit" value="Proceed to PayPal Payment Page" />
</form>

Any help would be greatly appreciated!

Hello, Phil-man!

We use <input type=hidden name=“handling_cart” value=“2.50”> for transferring the shipping value.