Paypal, no amount sent

Phoca Cart - complex e-commerce extension
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Paypal, no amount sent

Post by jdragun »

Jan,
First love your software.
I have an issue with the Cart and PayPal. Seems that no price is being sent to the paypal file. Version 3.1.5, Joomla 3.9.1. Here is the log info:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="phCartPayment" id="phCartPayment" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="business" value="xxxxxxxxxxxxxxxxxxxxx@xxxxxxxxx.net" />
<input type="hidden" name="item_name" value="Order: 20180000000010" />
<input type="hidden" name="item_name_1" value="Largemouth Bass Fish Blank" />
<input type="hidden" name="item_number_1" value="102" />
<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="USPS Small Box - Price" />
<input type="hidden" name="amount_2" value="0" />
<input type="hidden" name="quantity_2" value="1" />
<input type="hidden" name="currency_code" value="" />
<input type="hidden" name="first_name" value="John" />
<input type="hidden" name="last_name" value="xxxxxxn" />
<input type="hidden" name="address1" value="xxxxxxx Rd xxxxx" />
<input type="hidden" name="address2" value="" />
<input type="hidden" name="city" value="xxxxxxxxxxxxxxxxx" />
<input type="hidden" name="zip" value="xxxxxx" />
<input type="hidden" name="country" value="United States" />
<input type="hidden" name="email" value="john@xxxxxxxxxx.com" />
<input type="hidden" name="address_override" value="0" />
<input type="hidden" name="invoice" value="20180000000010" />
<input type="hidden" name="charset" value="UTF-8" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="bn" value="PhocaCart_Cart_PPS" />
<input type="hidden" name="custom" value="10" />

Just getting error on Paypal. Thank you.

John
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

Still working on This, tried other software and they work. Still getting this in the code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="phCartPayment" id="phCartPayment" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="business" value="XXXXXXXXXXXXXXXXXXXX.net" />
<input type="hidden" name="item_name" value="Order: 20180000000013" />
<input type="hidden" name="item_name_1" value="Largemouth Bass Fish Blank" />
<input type="hidden" name="item_number_1" value="102" />
<input type="hidden" name="amount_1" value="0" />
<input type="hidden" name="quantity_1" value="10" />
<input type="hidden" name="weight_1" value="5.0000" />
<input type="hidden" name="item_name_2" value="USPS Large Box - Price" />
<input type="hidden" name="amount_2" value="0" />
<input type="hidden" name="quantity_2" value="1" />
<input type="hidden" name="currency_code" value="" />
<input type="hidden" name="first_name" value="John" />
<input type="hidden" name="last_name" value="Dragun" />
<input type="hidden" name="address1" value="XXXXXXXXXXXXXXXXXXXXXXXXXX" />
<input type="hidden" name="address2" value="" />
<input type="hidden" name="city" value="XXXXXXXXXXXXXXXXXXXX" />
<input type="hidden" name="zip" value="12927" />
<input type="hidden" name="country" value="United States" />
<input type="hidden" name="email" value="john@XXXXXXXXXXXXXXXXXXXX.com" />
<input type="hidden" name="address_override" value="0" />
<input type="hidden" name="invoice" value="20180000000013" />
<input type="hidden" name="charset" value="UTF-8" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="bn" value="PhocaCart_Cart_PPS" />
<input type="hidden" name="custom" value="13" />
<input type="hidden" name="return" value="http://stlawrenceriverdecoys.com/index. ... entrecieve" />
<input type="hidden" name="notify_url" value="http://stlawrenceriverdecoys.com/index. ... =component" />
<input type="hidden" name="cancel_return" value="http://stlawrenceriverdecoys.com/index. ... dard&mid=1" />
<div class="ph-center">
<div>Your order has been successfully processed, thank you.</div>
<div>You are now being redirected to PayPal</div>
<div class="ph-loader"></div>
<div>If you are not redirected within a few seconds, please
<input type="submit" class="btn btn-primary" value="Click here to be redirected to Paypal" class="button" />
</div>
</div>
</form>

PayPal gives the something went wrong error, either in sandbox or live modes. Seems that the pricing is not going through for the shipping or the items.....any ideas out there?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal, no amount sent

Post by Jan »

Hi, enable Logging in Phoca Cart and see the log -what exactly messages do you get there?

Jan
If you find Phoca extensions useful, please support the project
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

Just the paypal message:

Date: 2018-11-01 - 2018-11-01
Date Order Nr. Customer Payment Currency Amount (excl. tax) Amount (tax) Rounding Amount (incl. tax)
2018-12-01 20180000000015
PayPal 0 0 0
2018-12-01 20180000000014
PayPal 0 0 0
Total () 0 0 0
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal, no amount sent

Post by Jan »

Hi, you should get three messages there - sending, contacting paypal and the received message about payment, can you paste a screenshot?

In the contacting paypal message, there is detailed information about the sent form.

Jan
If you find Phoca extensions useful, please support the project
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

only seeing sending to paypal, nothing else:
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

I get the screen sending to paypal with the blue circle spinning, then the paypal error page.
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

I am wondering if this could be a recaptcha error? Using V2 keys.
jdragun
Phoca Member
Phoca Member
Posts: 10
Joined: 29 Nov 2018, 16:51

Re: Paypal, no amount sent

Post by jdragun »

nope not anything with recaptcha, working fine.
Post Reply