osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Paypal IPN cart not emptying

This is a discussion on Paypal IPN cart not emptying within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; When I make a payment using paypal ipn everything works fine until I continue after the sale. The shopping cart ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-04-2003, 10:28 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default Paypal IPN cart not emptying

When I make a payment using paypal ipn everything works fine until I continue after the sale. The shopping cart still contains the item I just bought.
Any help please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-07-2003, 08:35 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

still haven't managed to sort this. Even a possible direction would help. Could it be a cookie problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-07-2003, 09:39 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,080
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Probably your IPN return url. Make sure that is correct.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-13-2003, 08:49 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

It seems to return ok to checkout_success.php but the item just purchased is staring right back at me from the cart.
This looks like the last problem before we go live...famous last words
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-15-2003, 06:40 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

I've found further problems with Paypal IPN

All my orders are left at "PayPal Processing"
A TXN Id is not created
The shopping cart is not emptied
No email is sent to the customer from the store

The transactions ARE successful because Paypal emails both the store and the customer and debits and credits the right amounts. I have been trying to solve this for the last 2 days and having found this thread can see that someone with similar problems back in August did not appear to get an answer.
I assumed (always a mistake) that Paypal IPN would be a working contribution? If so what I am doing wrong? I have this one problem to solve to get a live site.
I have checked the addresses in osCommerce and in Paypal are set to paypal_notify.php and it seems to make no difference whether or not cURL is enabled.

If all else fails who would you recommend as a card processor, with an interface contribution that I can install?

Hoping someone can help please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-15-2003, 09:48 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

Could someone at least confirm this is a working contribution on a live site. At least I know then it is a problem with my install/configure/mistake and not a wider problem with the contribution?
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-16-2003, 07:27 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

A clue...anything appreciated. This thing is keeping me up at night
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-16-2003, 09:26 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,080
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

warrenthewindmill, of course it is a working contribution. I have successfully tested it dozens of times. Tons of sites are using it without a problem. One clue - there is nobody responding to this thread. Usually that means 'it works for me.'

You have something screwy with your setup. That is what it has to be. Re-upload the IPN files. Have you made any other mods to the store? IPN hacks are in quite a few files. Perhaps you damaged one of the hacks inadvertantly.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 11-16-2003, 11:53 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

A thought. I don't think I have made changes to anything that would impact, although I can't be sure. Could it have anything to do with currencies? I'm a UK based store in £. Can't see why it would but I'll have a look later. then as you suggest I'll just do a reinstall of the files. Maybe look at the dates on the files first, if the same then I haven't amended them. If different it points me to the problem.
Either way you have sparked off new ideas for which I am grateful
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 11-17-2003, 11:44 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

I've checked every file that either has paypal in the filename or in the content. The vast majority are dated 21st September and so I reckon haven't been changed.

The only ones with later dates are all from the english file and relate to shipping/delivery policies and are all text so I'm as sure as I can be that I haven't touched any of the files.

Then I tried setting the paypal IPN test mode to true and sending some test transactions. One by one it inserted the order numbers that had failed to send emails and recorded successful transactions.
Code:
TEST IPN Processed for order #103
I checked my emails and all the missing emails were arriving one after the other.

When all these transactions had been exhausted I was forced to enter item numbers to continues sending test IPN's.
Code:
You need to specify an order #Error: no valid $paypal_response received.
I mistakenly entered the same item number twice and got the following error:
Code:
TEST IPN Processed for order #1061064 - You have an error in your SQL syntax near '' at line 1

delete from customers_basket where customers_id=

[TEP STOP]
and I now get this error every time I try and send a test IPN.
I've had a look at the database and there are now enties in the paypal_txn table with duplicate order numbers.

I feel sure that I haven't hacked about with the files. I decided when I started with MS2 Max that I wasn't going to do this to avoid just these sorts of problems. If so I must have some change to the config that has had an impact but I can't think what it might be.
Does any of this make sense and can anybody else reproduce these problems? The cart still does not empty by the way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Help with Paypal IPN. Not emptying cart, not sending email. typhus osCMax v2 Installation issues 1 01-24-2006 04:05 AM
PayPal Shopping Cart IPN v3.1.5 and HTML BTS? mrego osCMax v2 Customization/Mods 0 11-21-2005 07:23 AM
Remove product from cart - cart not updating mentalskylight osCommerce 2.2 Installation Help 0 03-10-2005 02:42 AM
Add Item to Cart, authenticate, then deletes cart contents? Anonymous osCMax v1.7 Discussion 8 07-20-2004 11:48 AM
paypal and paypal IPN, whats the diff? lhotch osCommerce 2.2 Installation Help 1 09-06-2003 07:34 PM


All times are GMT -8. The time now is 08:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax