Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Pay Pal IPN is not carring over my orders

Pay Pal IPN is not carring over my orders

Locked

Views: 14,255

Results 1 to 20 of 87
This thread is locked. New replies are disabled.
5 Mar 2007, 6:11 PM
#1
parmax avatar

parmax

New Zenner

Join Date:
Feb 2007
Posts:
10
Plugin Contributions:
0

Pay Pal IPN is not carring over my orders

I am still new to Zen Cart and I seem to get most of it. Howevere, everyonce in a while I hit a bump.

Yup...I have hit a bump and I cannot get over it. Can someone please help!!!!

When a person places an order in my Zen Cart website http://shop.voipsolutionscanada.com/, Pay Pal is the only option of payment I have selected.

When the customer is finished their order in Zen Cart they receive their total. Then when they click the Pay pal payment option and go to the Pay Pal website the total comes up as $0. Pay Pal does not carry over the total amount from Zen Cart. :dontgetit

parmax

5 Mar 2007, 8:05 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

parmax:

When the customer is finished their order in Zen Cart they receive their total. Then when they click the Pay pal payment option and go to the Pay Pal website the total comes up as $0. Pay Pal does not carry over the total amount from Zen Cart. :dontgetit

parmax

This is a classic problem with choosing PayPal IPN as payment method and having difficulties "receiving" the notice sent from PayPal to authorize the order.
The process is outlined extensively in this document:
http://www.zen-cart.com/wiki/index.php/PayPal

If, after following everything in the document, things aren't working, turn on Debug Logging and post the logs for review. They'll be found in /includes/modules/payment/paypal/logs ... the folder must be writable (chmod 777) in order to have logs stored to it.

Also if you're using v1.3.7, be sure to install the latest PayPal patch:
http://www.zen-cart.com/forum/showthread.php?t=56216

9 Mar 2007, 9:27 PM
#3
parmax avatar

parmax

New Zenner

Join Date:
Feb 2007
Posts:
10
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

It works now :D My total carrys over from en Cart to Payl Pal! Thanks

However the phone number from Zen Cart gets cut off in Pay Pal? Only 738 appear instead of 905-738-9300. :wacko:

17 Mar 2007, 4:01 PM
#4
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

DrByte:

This is a classic problem with choosing PayPal IPN as payment method and having difficulties "receiving" the notice sent from PayPal to authorize the order.
The process is outlined extensively in this document:
http://www.zen-cart.com/wiki/index.php/PayPal

If, after following everything in the document, things aren't working, turn on Debug Logging and post the logs for review. They'll be found in /includes/modules/payment/paypal/logs ... the folder must be writable (chmod 777) in order to have logs stored to it.

Also if you're using v1.3.7, be sure to install the latest PayPal patch:
http://www.zen-cart.com/forum/showthread.php?t=56216

I am having this problem, the order total is not carrying over to paypal.

What puzzles me is that is was working, and that was before I configured anything in my paypal account! It worked perfectly except it did not automatically return the customer to the checkout success page.

Now it does not work at all, just shows 0 in order total.

I have gone through all the steps, starting with re-installing the paypal module. Everything is now configured as it should be and yet it does not work.

The only thing I changed in the cart between now and when in was working is that I went through and changed the pages for weight in 'lbs' to 'kg'. Could I have accidentally done something that would cause this?

I am running a version 1.2.6d cart. As I say, the paypal IPN was working, my account is a biz account and verified etc.

I tried to find the log file to set it as writable but I cannot see a log file, is this only created once you have enabled debug logs?

Many Thanks,
Sheryl

17 Mar 2007, 4:48 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

trillian:

I am running a version 1.2.6d cart. .....
I tried to find the log file to set it as writable but I cannot see a log file, is this only created once you have enabled debug logs?
Debug logging to file was added in v1.3, and enhanced in v1.3.7.

17 Mar 2007, 4:51 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

trillian:

I am having this problem, the order total is not carrying over to paypal.
...

Now it does not work at all, just shows 0 in order total.The problem reported above was one where PayPal would take the proper payment but not notify the store of the completed purchase.

Your description is different.

Can you provide some screenshots of what you're seeing ?

You should put a plan in place to upgrade, too...

17 Mar 2007, 6:29 PM
#7
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

DrByte:

The problem reported above was one where PayPal would take the proper payment but not notify the store of the completed purchase.

Your description is different.

Can you provide some screenshots of what you're seeing ?

My problem is the same as that described by parmax at the top of this thread. The order total does not get carried over to paypal. So when it goes to the paypal screen it just has an order showing the store name and a total of '0'.

Just for the heck of it, I installed a clean 1.2.6d cart on another account I have with the same webhost and even without changing any settings in my paypal account it seems to work fine (at least the order total is correctly carried over to paypal).

So the fault is pretty clearly not on the Paypal side and it seems very tolerant of url settings for ipn_handler etc because obviously these are different and yet it still works.

17 Mar 2007, 8:43 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

What other addons do you have installed? What other settings have you changed recently?

17 Mar 2007, 9:56 PM
#9
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

My webhost says they have checked the ports mentioned in the FAQ and any other potential filters etc on the server and they say there is nothing that should be blocking it.

The only changes I have made have been some shipping rates, changing all the instances of 'lbs' to 'kg' and the currency to Danish Krone (I first suspected that perhaps the currency was not recognised so I switched to $ but that's not the problem.

18 Mar 2007, 3:51 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

trillian:

Just for the heck of it, I installed a clean 1.2.6d cart on another account I have with the same webhost and even without changing any settings in my paypal account it seems to work fine (at least the order total is correctly carried over to paypal).

If a fresh install works fine and your customized install doesn't, then you'll need to pull out a fine-toothed comb and find the glitch.

Here's the approach I use when tracking down tough-to-find issues:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

You might pay attention to any changes you made related to currencies.

18 Mar 2007, 11:08 AM
#11
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

OK, the problem seems to be with the currency.

I need the cart to operate in Danish Kroner (DKK)

I had tried just changing the currency symbol but that made no difference.

I tried adding a new currency and added GBP and EUR and both work (total is carried over into paypal) but it just will not carry over the total when set to DKK.

Is there a file somewhere else that has to acknowledge the DKK currency?

I don't think it is a paypal issue as I can receive muliple currencies and opened a DKK balance just in case.

18 Mar 2007, 5:58 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

Oh wait ... You're using v1.2.6 right?

v1.2.6 doesn't support PayPal currencies other than CAD, EUR, GBP, JPY, USD, AUD. What it's supposed to do is convert other currencies (ie: DKK) to USD before submitting to PayPal. But if it can't find a USD currency to calculate exchange rate from, it'll end up having to send $0 to PayPal.

Support for the rest of PayPal's 17 currencies is built in to v1.3.7 with applied PayPal patches.

19 Mar 2007, 11:52 AM
#13
potzuk avatar

potzuk

New Zenner

Join Date:
Feb 2007
Posts:
19
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

parmax:

It works now :D My total carrys over from en Cart to Payl Pal! Thanks

However the phone number from Zen Cart gets cut off in Pay Pal? Only 738 appear instead of 905-738-9300. :wacko:

I have this same problem, along with the fact that it doesn't send the second line of the address either.

Update: Just fixed the address line 2 problem. The line that handled the 'suburb' is commented out in the paypal.php file. Although the phone number is still being truncated.

Also, I note that the shipping charge isn't being handled separately, it gets added to the main total when passed to Paypal. It's not a problem, but it would be nice to have the shipping displayed on Paypal's system as a separate item.

E.g.:

Order Summary
Subtotal: £659.93 GBP
Postage: £0.00 GBP
Tax: £0.00 GBP
Order Total: £659.93 GBP

19 Mar 2007, 7:11 PM
#14
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

DrByte:

Oh wait ... You're using v1.2.6 right?

v1.2.6 doesn't support PayPal currencies other than CAD, EUR, GBP, JPY, USD, AUD. What it's supposed to do is convert other currencies (ie: DKK) to USD before submitting to PayPal. But if it can't find a USD currency to calculate exchange rate from, it'll end up having to send $0 to PayPal.

Support for the rest of PayPal's 17 currencies is built in to v1.3.7 with applied PayPal patches.

OK, I have installed a 1.3.7 cart but I do not see DKK in the paypal IPN. Do I have to use the paypal express checkout to get Danish Kroner?

-Sheryl

20 Mar 2007, 11:47 AM
#16
potzuk avatar

potzuk

New Zenner

Join Date:
Feb 2007
Posts:
19
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

I'm having the same problem with the truncated phone number via the Paypal IPN to Paypal UK, using all the latest patches too.

20 Mar 2007, 1:45 PM
#17
trillian avatar

trillian

Zen Follower

Join Date:
Jun 2005
Location:
London, UK
Posts:
141
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

DrByte:

Did you install the patched update ?

http://www.zen-cart.com/forum/showthread.php?t=56216

Regarding patches. There are patches from Feb 8th to March 15th. It does say the Feb 19th one supercedes the previous one but as a general practice on these patches, must I install all of them or can I go straight to the latest patch?

I am currently using the IPN module. I went in and added DKK to the currencies list per another thread (which makes me wonder if I even needed to upgrade from the 1.2.6d cart at all but nevermind).

I have not explored the express checkout yet and do not yet know what the advantages are or whether I want it.

20 Mar 2007, 8:00 PM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

I'll go back and edit each of the patch releases to remind that you only need the most recent of the posts in that thread.

27 Mar 2007, 3:24 AM
#19
mdegeiso avatar

mdegeiso

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

Okay, I'm having a similar problem with Pay Pal. I installed both IPN and Express Checkout and when I tested the process using IPN, I noticed that when I was taken to Pay Pal, none of the item discription showed up in Pay Pal, it just said "Item#1". When I made the payment it processed the amount properly and showed an order in my admin but no products were listed so I could not tell what was ordered.

I installed all of the patches that were provided as of this date and nothing seemed to change. I found the SQL scripts in Linda's posts and ran those. Now when I process payment I don't even get the entry inthe admin, but I do receive the email notification from Pay Pal and it does take the money. I ran the debug and this is the only thing I can find in it that would show trouble.

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = ssl://www.paypal.com:443 (18980696) Unable to find the socket
transport "ssl" - did you forget to enable it when you configured PHP?

I've checked my PHP.ini file and this all apears to be configured properly. Both ports 80 and 443 are open for TCP on the firewall.

ZEN Cart Vers: 1.3.7
IIS Vers: 6
PHP 5.1.1.6

Any help would be appriciated.
Mike

27 Mar 2007, 6:33 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

I suspect your host hasn't compiled OpenSSL support into PHP.

As a test for confirmation, try editing your /includes/configure.php and change ENABLE_SSL to 'false', and run a test IPN transaction. Does it work?

Your host may or may not be willing to recompile PHP with OpenSSL included.

The March 21 patch includes a fix to allow the IPN communications to fall back to non-SSL mode if SSL fails. (But ... that's just a bandage to deal with hosts who don't see the value in allowing you to communicate securely directly from PHP ...)