Zen Cart Logo
Forums / Managing Customers and Orders / PayPal orders not registering in Zencart

PayPal orders not registering in Zencart

Locked

Views: 3,251

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
4 Jun 2007, 12:34 AM
#1
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

PayPal orders not registering in Zencart

Hi guys,

I'm hoping someone can help us out with a slight error we're seeing in our new zencart site we've set up.

When someone opts to pay by paypal it goes through all the steps alright and then transfers them to PayPal but it doesn't transfer the price they need to pay to paypal.

The second problem is that it's not registering the order in zencart either....... I've put through a test order and used my paypal account as well and this didn't register either.......

Can anyone help out at all, i need to get it fixed ASAP.

Cheers, ToNy!

4 Jun 2007, 1:36 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

What version of Zen Cart?

4 Jun 2007, 1:57 AM
#3
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

Hey Dr Byte,

Running V 1.3.7

Cheers, ToNy!

4 Jun 2007, 2:17 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

Have you installed the latest paypal patch for 1.3.7? http://www.zen-cart.com/forum/showthread.php?t=56216

You probably should also turn on debug logging and find out what's getting logged.

4 Jun 2007, 2:38 AM
#5
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

Hi again,

I've been using PayPal IPN, am i better off using PayPal Express checkout.....?

Cheers, ToNy!

4 Jun 2007, 2:49 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

The patch contains updates to BOTH modules.

You can use either if your system supports them.

4 Jun 2007, 12:56 PM
#7
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

Hi Dr Byte,

I tried that but it still doesn't seem to record the paypal orders...... I turned on the debug and got about 15 emails through but wasn't sure what to look for.

Just a couple of questions if someone can help me...

I'm using the PayPal IPN, Should the order total automatically be transfered to paypal?

Do the orders normally register straight away in zencart?

Cheers, ToNy!

4 Jun 2007, 1:53 PM
#8
buyashed avatar

buyashed

New Zenner

Join Date:
May 2007
Posts:
36
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

Hi just a couple questions about the paypal working process...

Should my website transfer the total amount to be paid directly to paypal?
My orders aren't showing up in zencart yet but have been processed through paypal, does the fact that i'm not verified yet affect this?
How long does it normally take for them to appear on zencart after being paid in paypal?

Cheers, ToNy!

P.S. in the Paypal mod error log shows this "IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction." that's one of three Fatal Error's i got.

4 Jun 2007, 3:40 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

buyashed:

I'm using the PayPal IPN, Should the order total automatically be transfered to paypal?Yes. The value of the order is sent to PayPal. If it's not arriving over there, then either something is blocking the data from being sent from the customer's checkout-confirmation page, or you may have some sort of language, currency, or other setting conflict.

buyashed:

Do the orders normally register straight away in zencart?If you have the PDT support activated, then yes.
Otherwise, IPN transactions may require a few minutes for PayPal to send a notice to your store that the order is paid, which then causes the order to show up in Zen Cart.
As an aside, the Express Checkout module also causes the order to show up immediately.

buyashed:

I turned on the debug and got about 15 emails through but wasn't sure what to look for.Can you PM me with a link to a zip of those logs so I can review them?

4 Jun 2007, 3:53 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

buyashed:

P.S. in the Paypal mod error log shows this "IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction." that's one of three Fatal Error's i got.

That means that the data sent back to your store from PayPal didn't match something your store was expecting to receive from PayPal.

When an IPN order is initiated, its data is saved in Zen Cart. When PayPal receives payment and attempts to notify your store, your store does a lookup for that data. If it doesn't find the data, the message you posted above will appear in the logs.

6 Jun 2007, 5:52 AM
#11
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

DrByte:

The patch contains updates to BOTH modules.
You can use either if your system supports them.

I have the PayPal IPN module installed on my 1.3.6. I'm uncertain whether or not I should install the patch. As I understand it PayPal Express Checkout doesn't exist prior to 1.3.7. I Did attempt to install it but it threw an error where-as previously there was none. Here is the error it threw:

Warning: call_user_func(zen_cfg_password_display) [function.call-user-func]: First argument is expected to be a valid callback in /home/pittivintage/public_html/admin/includes/functions/general.php on line 1528

I uninstalled the patch and re-installed the PayPal IPN without the patch.
Here is the issue I'm having: Everything seems OK as I walk it through the order process and into the sandbox. Again, all seems good through checkout. At the end of the process I can return to merchant to confirm my order. The problem? I'm seeing NO indication in the Zen admin of orders being received. Nothing in the admin/customers/Paypal IPN. No new orders indicated on the admin main page.
In admin/modules/order total, ot_total is installed. In admin/localization/order status nothing has been altered and no messages.

*Note This is my only checkout option. In admin/customers I Do Not * have an "orders" option listed, whereas I do have that option in my other store's admin. Is this normal when all other payment options are off?

I ran your cool tool IPNCHECK.PHP and received the following positive message:

IPNCHECK.PHP - Version 1.0

IPN TESTING - POSTING to PayPal via: ssl://www.paypal.com:443

IPN TESTING - Confirmation/Validation response: RESPONSE RECEIVED - Communications OKAY

Script finished.

This work is being done on the pittivintage site below.

Any idea what's up?

Thanks!

6 Jun 2007, 6:10 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

The patch in this thread and linked above is presently for v1.3.7 only.

There were no patch updates issued for v1.3.6.
For v1.3.6, I suggest this approach:

  1. Check that ALL your customizations and addon contributions are not causing the problem.

  2. Check that your language overrides aren't causing the problem.
    One method which might help you in the above points is to compare your site vs a fresh set of v1.3.6 files, similar to this: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

  3. Also, check that you don't have any tax settings enabled in your PayPal account.

  4. Also, go through this checklist and make sure you've got everything right:
    http://www.zen-cart.com/wiki/index.php/PayPal

Further, instead of trying the sandbox, have you tried with a live account ?

Also, and this might save you some of the trouble, turn on debug logging and check the log files. The ideas in this thread do apply similarly to v1.3.6. Enable it, and then do some tests and grab the logs. http://www.zen-cart.com/forum/showthread.php?t=61199

12 Jun 2007, 5:48 AM
#13
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: PayPal orders not registering in Zencart

To move from the sandbox to live, is there a test credit card number that can be used and will be accepted by PayPal as such?
(As in the Zen cc module: 4111111111111111 which wasn't accepted by Paypal)

13 Jun 2007, 4:39 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: PayPal orders not registering in Zencart

In sandbox, you can use test credit cards.
In Live, you must use real credit cards ... perhaps your own.