Phoca Cart Payment - PayPal Standard

Phoca Cart - complex e-commerce extension
Btaylor24
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Feb 2019, 22:26

Phoca Cart Payment - PayPal Standard

Post by Btaylor24 »

Phoca Cart Payment - PayPal Standard plugin is not working on my site. When I add an item to the cart and go through the checkout process the payment option is there but shows a 0.00 dollar amount. When I click on confirm order I get redirected to a PayPal page with this error, (Things don't appear to be working at the moment. Please try again later.). What can I do to fix this issue?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Payment - PayPal Standard

Post by Jan »

Hi, which version of Phoca Cart do you use?

Try to enable debug mode in Options and let me know which logs do you get from PayPal.

Jan
If you find Phoca extensions useful, please support the project
Btaylor24
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Feb 2019, 22:26

Re: Phoca Cart Payment - PayPal Standard

Post by Btaylor24 »

Hi, Thanks for getting back to me. I'm using Phone Cart ver 3.1.7. Heres the log I get. I removed actual personal info and put the word null in place. Don't want personal info on public site.

<form action="https://www.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=“null” />
<input type="hidden" name="item_name" value="Order: 20190000000008" />
<input type="hidden" name="item_name_1" value="Jillian's Journey Tee" />
<input type="hidden" name="item_number_1" value="8000-JILLIANS-TEE" />
<input type="hidden" name="amount_1" value="0" />
<input type="hidden" name="quantity_1" value="1" />
<input type="hidden" name="weight_1" value="1.0000" />
<input type="hidden" name="on0_1" value="Choose Size:" />
<input type="hidden" name="os0_1" value="Adult LG" />
<input type="hidden" name="tax_cart" value="0" />
<input type="hidden" name="item_name_2" value="Shipping - 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="Brian" />
<input type="hidden" name="last_name" value=“null” />
<input type="hidden" name="address1" value=“null.” />
<input type="hidden" name="address2" value="" />
<input type="hidden" name="city" value="Crest Hill" />
<input type="hidden" name="zip" value="60403" />
<input type="hidden" name="country" value="United States" />
<input type="hidden" name="email" value=“null” />
<input type="hidden" name="address_override" value="0" />
<input type="hidden" name="invoice" value="20190000000008" />
<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="8" />
<input type="hidden" name="return" value="https://3rddegreedesigns.com/index.php? ... entrecieve" />
<input type="hidden" name="notify_url" value="https://3rddegreedesigns.com/index.php? ... =component" />
<input type="hidden" name="cancel_return" value="https://3rddegreedesigns.com/index.php? ... 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>

Brian
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Payment - PayPal Standard

Post by Jan »

Hmmm, does the product include the price? Did you add the price in number format there?

There should be 3 messages - one when sent to paypal and two getting information from paypal
If you find Phoca extensions useful, please support the project
doopz
Phoca Member
Phoca Member
Posts: 17
Joined: 05 Mar 2019, 01:54

Re: Phoca Cart Payment - PayPal Standard

Post by doopz »

I'm having the same issue.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Payment - PayPal Standard

Post by Jan »

Ok, does the product include the price? Did you add the price in number format there?

There should be 3 messages - one when sent to paypal and two getting information from paypal

Jan
If you find Phoca extensions useful, please support the project
doopz
Phoca Member
Phoca Member
Posts: 17
Joined: 05 Mar 2019, 01:54

Re: Phoca Cart Payment - PayPal Standard

Post by doopz »

I have prices in dollar format for the products, when processing through Paypal the result is $0.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Payment - PayPal Standard

Post by Jan »

Hi, in products, currency is not defined, there the standard number is added (without any formatting). Are you adding some prefixes/suffixes to the prices in product edit?

Jan
If you find Phoca extensions useful, please support the project
doopz
Phoca Member
Phoca Member
Posts: 17
Joined: 05 Mar 2019, 01:54

Re: Phoca Cart Payment - PayPal Standard

Post by doopz »

No, I haven't added any prefixes or suffixes.
Is that required?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Payment - PayPal Standard

Post by Jan »

Hi, no, there should be raw number. But when there is raw number, the right number (not zero) should be sent to PayPal.

Can I see the site where this occurs?

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