Phoca Cart sending 0 as amounts to paypal
Posted: 02 Nov 2023, 01:21
HI there crew.
Problem, I have searched through the forum to find others with similar issues, to no avail, which makes me think, this might be a problem with in my settings.
I have, or I am setting up paypal in sandbox mode. my checkout has a total in it, but I kept an error from PayPal "....&code=AMOUNT_ERROR"
After a bit more research, I found the html source with the paypal data:
It seams to be sending over all the data, with the exception of amount values, which i just noticed includes my shipping amount as well.... any ideas??
Problem, I have searched through the forum to find others with similar issues, to no avail, which makes me think, this might be a problem with in my settings.
I have, or I am setting up paypal in sandbox mode. my checkout has a total in it, but I kept an error from PayPal "....&code=AMOUNT_ERROR"
After a bit more research, I found the html source with the paypal data:
Code: Select all
<input type="hidden" name="item_name" value="Order: 20230000000016" />
<input type="hidden" name="item_name_1" value="Flowers1" />
<input type="hidden" name="item_number_1" value="" />
<input type="hidden" name="amount_1" value="0" />
<input type="hidden" name="quantity_1" value="1" />
<input type="hidden" name="weight_1" value="0.0000" />
<input type="hidden" name="item_name_2" value="AustPost - Shipping Price" />
<input type="hidden" name="amount_2" value="0" />