johnhardy
asked on
PayPal grandtotal field
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.GetCartV alue("Name ",i)%>">
<input type="hidden" name="amount" value="<%=objCart.GrandTot al%>">
<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.GetCartV alue("StkN o",i)%>">
<input type="hidden" name="first_name" value="<%=(CustomerRS.Fiel ds.Item("F irstName") .Value)%>" >
<input type="hidden" name="last_name" value="<%=(CustomerRS.Fiel ds.Item("L astName"). 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
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.GetCartV
<input type="hidden" name="amount" value="<%=objCart.GrandTot
<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.GetCartV
<input type="hidden" name="first_name" value="<%=(CustomerRS.Fiel
<input type="hidden" name="last_name" value="<%=(CustomerRS.Fiel
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks an invaluable reference.
If I need more help I will post another question.
John
If I need more help I will post another question.
John
glad those links helped. thats all i could find on shipping charges.
ASKER
regards
John