?
Solved

PayPal grandtotal field

Posted on 2006-05-04
4
Medium Priority
?
247 Views
Last Modified: 2012-05-05
I have a shopping cart I wish to connect to PayPal.
I have a checkout page which is showing
Sub Total 100
Post and Packing 10
Grand Total 110
Thats all OK

Transfering the code to PayPal if have this code in the page.
Most fields get passed OK

<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="info@xxxx.co.uk">
<input type="hidden" name="item_name" value="<%=objCart.GetCartValue("Name",i)%>">
<input type="hidden" name="amount" value="<%=objCart.GrandTotal%>">
<input type="hidden" name="shipping" value="<%=objCart.Shipping%>">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="return" value="http://www.xxx.co.uk">
<input type="hidden" name="cancel_return" value="http://www.xxx.co.uk">
<input type="hidden" name="item_number" value="<%=objCart.GetCartValue("StkNo",i)%>">
<input type="hidden" name="first_name" value="<%=(CustomerRS.Fields.Item("FirstName").Value)%>">
<input type="hidden" name="last_name" value="<%=(CustomerRS.Fields.Item("LastName").Value)%>">

When I come to the paypal screen the GrandTotal does not include the objCart.Shipping
I need to include the shipping.

Can you see what I need to do to correct this.
Thanks
John
0
Comment
Question by:johnhardy
  • 2
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
WMIF earned 1600 total points
ID: 16607674
hopefully these links work.  some links from the paypal help section.

Seller Tools - Website Payments - Can I collect shipping costs with PayPal?
http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&eloc=2317&loc=2267&unique_id=2411&source_page=_home&flow=

Seller Tools - Website Payments - How will my total Shipping amount be calculated?
http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&eloc=2324&loc=2267&unique_id=2306&source_page=_home&flow=

Seller Tools - Website Payments - I used to collect Shipping by hard coding the shipping variables in my PayPal Website Payments Standard button code. Can I still do that?
http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&eloc=2326&loc=2267&unique_id=2307&source_page=_home&flow=

by those three links that i found, it appears that if you have the override set you cannot pass an amount to charge for shipping, but that you need to have paypal calculate it for you.  maybe you have your shipping override set in your account?
0
 

Author Comment

by:johnhardy
ID: 16610502
Thanks for the pointers, I will come back a bit later
regards
John
0
 

Author Comment

by:johnhardy
ID: 16612809
Thanks an invaluable reference.
If I need more help I will post another question.
John
0
 
LVL 22

Expert Comment

by:WMIF
ID: 16616271
glad those links helped.  thats all i could find on shipping charges.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Do online retailers and e-commerce sites even need to bother with the season? Is it lucrative to update and prepare your site for Black Friday and Cyber Monday shoppers? We'll find out now.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question