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?
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 ...
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?
still haven't managed to sort this. Even a possible direction would help. Could it be a cookie problem?
Probably your IPN return url. Make sure that is correct.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
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
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
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
A clue...anything appreciated. This thing is keeping me up at night
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 Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
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
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.
I checked my emails and all the missing emails were arriving one after the other.Code:TEST IPN Processed for order #103
When all these transactions had been exhausted I was forced to enter item numbers to continues sending test IPN's.
I mistakenly entered the same item number twice and got the following error:Code:You need to specify an order #Error: no valid $paypal_response received.
and I now get this error every time I try and send a test IPN.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]
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.
Bookmarks