Re: Trouble getting PayPal buttons to calculate taxes from profile
Hi guys,
I've used the WebAssist PayPal Shopping Cart buttons on a website for a client. As he was using his online store for International orders, he had to send a separate invoice to the customer for the shipping once the product had been purchased.
However my client has asked me to have it so we can have shipping rates calculated automatically, so I asked him to upgrade his PayPal account from Standard to Business.
In his PayPal Business profile he has set the shipping to...
from 0$ to 100$ shipping is 38$
from 100 to 200 shipping is 45$
from 200 and up shipping is 58$
...but when I go to the site and do a dummy order, the shipping charges do not get added on.
Here's the code I'm using for the buttons:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="add" value="1" />
<input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
<input type="hidden" name="business" value="me@my-paypal-address.com" />
<input type="hidden" name="item_name" value="Item name" />
<input type="hidden" name="item_number" value="ITEM01" />
<input type="hidden" name="amount" value="250" />
<input type="hidden" name="currency_code" value="CAD" />
<input type="hidden" name="shipping" value="0.00" />
<input type="hidden" name="shipping2" value="0.00" />
<input type="hidden" name="return" value="http://www.mydomain.com/thankyou.php" />
<input type="hidden" name="cancel_return" value="http://www.mydomain.com/cancel.php" />
<input type="hidden" name="receiver_email" value="me@myemail.com" />
<input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
<input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="0" />
<input type="submit" name="submit" value=" ADD TO CART " alt="Make payments with PayPal - it's fast, free and secure!" class="paypalBtn" />
</form>
Does anyone know where/how I'm going wrong? Any help on this would be greatly appreciated.
Thank you and hope to hear from you!
SM