Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Paypal Duplicate Order ARGH

Paypal Duplicate Order ARGH

Locked

Views: 1,682

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
1 Dec 2010, 9:55 PM
#1
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Paypal Duplicate Order ARGH

Hi There,

Im starting to go crazy :)

I have tried every solution under the sun regarding duplicate orders for paypal ipn.

Theres about a 30 seconds difference between confirmations

Any ideas on how to stop this?

The order confirmations are identical, except for the ID... I even get two emails. The only difference I've noticed is that the first order doesnt supply the paypal information i.e. transaction ID etc etc.

I.e. (comes only with second confirmation - in admin)
First Name: XXXXXX
Last Name: XXXXXXX
Business Name:
Address Name: XXXXXXX
Address Street: XXXXXXXX30
Address City: XXXXXXXX
Address State: XXXXXX
Address Country: XXXXXXX

Payer Email: XXXXXX######################
Ebay ID:
Payer ID: XXXXXXXXXXXX
Payer Status: unverified
Address Status: unconfirmed
Trans. Type: unique
Trans. ID: XXXXXXXXXXXXXX
Parent Trans. ID:

Payment Type: instant
Payment Status: Completed
Pending Reason:
Invoice:
Payment Date: 01/12/2010 13:48:57

Currency: EUR
Gross Amount: 7.85
Payment Fee: 0.50
Exchange Rate: 1.00
Cart items: 1
MODULE_PAYMENT_PAYPAL_ENTRY_COMMENTS {Record generated by IPN} [ProtectionEligibility:Eligible]

Thanks for any help in advance!

1 Dec 2010, 10:03 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

stevanicus:

I have tried every solution under the sun regarding duplicate orders for paypal ipn.

Theres about a 30 seconds difference between confirmationsSounds like you're using an older version of Zen Cart.
There were fixes related to duplicates in the last release.

stevanicus:

MODULE_PAYMENT_PAYPAL_ENTRY_COMMENTS {Record generated by IPN} [ProtectionEligibility:Eligible]
You're missing a define() in your language file, else that constant name would appear with proper text instead.

1 Dec 2010, 10:07 PM
#3
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

Thanks for replying so quickly.

Half my head is bold after pulling it all out :) :)

I have the latest version 1.3.9h. WHere do I find the missing defined variable?

Zen Cart 1.3.9h
Database Patch Level: 1.3.9h

Thanks

1 Dec 2010, 10:13 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

I would need to see all your paypal logs. That of course requires that you have your paypal module enabled for debug-log-to-file in the module settings. Download them, zip them, upload the zip to your server, and PM me with a link to download that zip file.

The language file for the ipn module is the paypal.php language file. You're familiar with the file, given your other post about it earlier.

1 Dec 2010, 10:16 PM
#5
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

Yea i checked my paypal file with a new download, very strange it was the old one. thats a little worrying :D

Anyway I updated it now.

I'll try another purchase, I have log on. Where do I download the logs?

Thanks for your help

Edit: I found the log files

1 Dec 2010, 10:24 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

Is there a reason why you're using the older Website Payments Standard instead of the more contemporary Express Checkout?

1 Dec 2010, 10:25 PM
#7
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

Just coz the old one is free, where as Express is $30 a month i believe

1 Dec 2010, 10:27 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

No, Website Payments Pro has a monthly fee.

Express Checkout is free, just like WPS. And EC is way more reliable.

1 Dec 2010, 10:29 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

The zip you sent has only a single log file in it, which corresponds to a single IPN transaction.
There's no evidence there of duplication.
If the duplication is a result of a conflict with PDT activity, then I'd need to see the PDT log too. That's why I asked for all the log files from the transactions in question.

1 Dec 2010, 10:30 PM
#10
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

oh :shocking:

:lamo:

Ok i'll have a look

1 Dec 2010, 10:35 PM
#11
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

Do you know of a tutorial to setup express checkout?

1 Dec 2010, 10:40 PM
#12
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

DrByte:

The zip you sent has only a single log file in it, which corresponds to a single IPN transaction.
There's no evidence there of duplication.
If the duplication is a result of a conflict with PDT activity, then I'd need to see the PDT log too. That's why I asked for all the log files from the transactions in question.

Thats all that was in the log folder. Payment doesnt go through once tho. Its confirmed twice.

1 Dec 2010, 10:41 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

stevanicus:

Do you know of a tutorial to setup express checkout?
There's a link on the Express Checkout instructions pane in your admin, as well as here: https://www.zen-cart.com/getpaypal

1 Dec 2010, 10:42 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Paypal Duplicate Order ARGH

stevanicus:

Thats all that was in the log folder. Payment doesnt go through once tho. Its confirmed twice.
Highly unusual :(

1 Dec 2010, 10:49 PM
#15
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: Paypal Duplicate Order ARGH

The paypal information also only came with the second cofirmation.

But anyway.....

It worked... Express is the way forward.!!!!!

Thanks for your help, greatly appreciated

All sorted now.. i hope :smile: