Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN Duplicate Orders


maximillion

Recommended Posts

Hi,

 

I am having a problem with the Paypal IPN module which i have recently installed, the payment side of things is working fine however, when i place an order the preparing order is set correctly to 'Preparing [PayPal IPN]' but when the order is verified after paypal payment it leaves the 'Preparing [PayPal IPN]' order in admin-orders and adds the verified order as a seperate entry. So if you log back in as a customer and view your order/history both appear.

 

My current set up is as follows, and i have a non ssl hosting package:

 

PayPal IPN

 

Enable PayPal IPN Module

True

 

Move tax to total amount

True

 

E-Mail Address

[email protected]

 

Transaction Currency

Only GBP

 

Payment Zone

--none--

 

Set Preparing Order Status

Preparing [PayPal IPN]

 

Set PayPal Acknowledged Order Status

default

 

Gateway Server

Live

 

Transaction Type

Per Item

 

Page Style

seriouslysingle

 

Debug E-Mail Address

[email protected]

 

Sort order of display.

1

 

Enable Encrypted Web Payments

False

 

Your Private Key

 

 

Your Public Certificate

 

 

PayPals Public Certificate

 

 

Your PayPal Public Certificate ID

 

 

Working Directory

http://www.seriouslysingle.co.uk/shop/temp/

 

OpenSSL Location

/usr/bin/openssl

 

Has anyone else come across this?, If anyone has any ideas they would be greatfully received.

 

Many thanks

Link to comment
Share on other sites

  • 2 weeks later...
Hi,

 

I am having a problem with the Paypal IPN module which i have recently installed, the payment side of things is working fine however, when i place an order the preparing order is set correctly to 'Preparing [PayPal IPN]' but when the order is verified after paypal payment it leaves the 'Preparing [PayPal IPN]' order in admin-orders and adds the verified order as a seperate entry. So if you log back in as a customer and view your order/history both appear.

 

My current set up is as follows, and i have a non ssl hosting package:

 

PayPal IPN

 

Enable PayPal IPN Module

True

 

Move tax to total amount

True

 

E-Mail Address

[email protected]

 

Transaction Currency

Only GBP

 

Payment Zone

--none--

 

Set Preparing Order Status

Preparing [PayPal IPN]

 

Set PayPal Acknowledged Order Status

default

 

Gateway Server

Live

 

Transaction Type

Per Item

 

Page Style

seriouslysingle

 

Debug E-Mail Address

[email protected]

 

Sort order of display.

1

 

Enable Encrypted Web Payments

False

 

Your Private Key

Your Public Certificate

PayPals Public Certificate

Your PayPal Public Certificate ID

Working Directory

http://www.seriouslysingle.co.uk/shop/temp/

 

OpenSSL Location

/usr/bin/openssl

 

Has anyone else come across this?, If anyone has any ideas they would be greatfully received.

 

Many thanks

 

You are not alone ! I am having the same problem - it seems that the orders_total records for the order get duplicated. There is code in includes/modules/payment/paypal_ipn.php to insert records into that table - I tried commenting that out in case they were being added elsewhere, however, no records were written to the table which indicates that the paypal module is at fault and is adding in 2 sets of records. Have looked extensively at code but can't see how this can happen.

Am also more than slightly surprised that nobody else has reported this fundamental flaw - or does no-one ever look at their orders on Admin !

 

The problem is compounded when you try to edit the order e.g. add postage - this results in the order total doublng every time you edit the order !!!

 

Dave

Link to comment
Share on other sites

  • 11 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...