paypal multiply my unit price with quantity and i got wrong
Posted: Mon Nov 23, 2009 1:23 am
Hi,
I have a simple custom cart and my website has only one product to sale. My cart works on following scenario
1) If user buy '1' product, then price will be $50.00
2) If user buy '2' product, then price will be $80.00
2) If user buy '3' product, then price will be $110.00
It means that if user purchase more than one quantity, then price will be $30 for each product, otherwise product cost will be $50.
The script is working fine on my website, but when i redirected at paypal, then there is some disturbance in price and quantity.
At PAypal
Paypal display 3 things at paypal page
1) Description
2) Unit Price
3) Quantity
4) Amount
Suppose at my website user has selected product in the quantity of '3' . which cost '110.00$' (see above cost table), but paypal page shows total cost = 330.00$.
Actually paypal multiply the "Total Cost" with "Quantity" which results in a wrong value.
So, is there any way to pass 'final amount' to paypal, so that it cannot multiply the unit price with quantity. Currently i am sending 'Quantity' and 'Unit price' from my php script to paypal
Please help in this regard.
tHANKS
I have a simple custom cart and my website has only one product to sale. My cart works on following scenario
1) If user buy '1' product, then price will be $50.00
2) If user buy '2' product, then price will be $80.00
2) If user buy '3' product, then price will be $110.00
It means that if user purchase more than one quantity, then price will be $30 for each product, otherwise product cost will be $50.
The script is working fine on my website, but when i redirected at paypal, then there is some disturbance in price and quantity.
At PAypal
Paypal display 3 things at paypal page
1) Description
2) Unit Price
3) Quantity
4) Amount
Suppose at my website user has selected product in the quantity of '3' . which cost '110.00$' (see above cost table), but paypal page shows total cost = 330.00$.
Actually paypal multiply the "Total Cost" with "Quantity" which results in a wrong value.
So, is there any way to pass 'final amount' to paypal, so that it cannot multiply the unit price with quantity. Currently i am sending 'Quantity' and 'Unit price' from my php script to paypal
Please help in this regard.
tHANKS