Phoca Cart sending 0 as amounts to paypal

Phoca Cart - complex e-commerce extension
cyberrock
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Oct 2023, 00:03

Phoca Cart sending 0 as amounts to paypal

Post by cyberrock »

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:

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" />
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??
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart sending 0 as amounts to paypal

Post by Jan »

Hi, what is the total amount on your site, is your site somewhere live, to see it?

Jan
If you find Phoca extensions useful, please support the project
Post Reply