Passing double cost of item to paypal
All my prices display fine on the website until they get passed on to paypal. If the buyer buys 2 of one product then paypal uses the cost of the 2 products for each individual product i.e item costs $200 , 2= $400 the cost in Paypal shows $800.
I think I caused the problem by sorting out this issue:
When an item is ordered and there are different options that cost more, the additional cost was displaying on the website but was not being passed onto paypal. I confess I fiddled with TotalPrice in the code that gets passed onto paypal.
So my original problem was the extra cost of options and currently that is working on the website but it has caused the problem at the top of this post.
In the hope that you can help I've attached the code.
Thanks for your time.