Paypal IPN not working with latest versions.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Paypal IPN not working with latest versions.

Post by Lahuindai »

This was working before the upgrade but no longer. When a new user signs up everything works great up to the point where the payment gets confirmed. The payment goes through on paypal, the user receives emails from paypal confirming payment received, but the status in Orders remain pending and as a result the user is not pushed into FrontendUsers.

Paypal in return is emailing the account holder informing them that the IPN gateway is not working.

I have tried uninstalling the paypal gateway and reinstalling, but it somehow keeps all the setting, even if I remove the folder and install from scratch.

This is becoming urgent as the site is ready to go live, except for this one issue.

Please help.


----------------------------------------------

Cms Version: 1.9.2

Installed Modules:

CMSMailer: 2.0
FileManager: 1.0.3
MenuManager: 1.7.4
ModuleManager: 1.4
News: 2.11
nuSOAP: 1.0.2
Printing: 1.1.1
Search: 1.6.8
ThemeManager: 1.1.3
TinyMCE: 2.8.2
FormBuilder: 0.7
PaypalGateway: 2.3.6
CGUserDirectory: 1.2.4
CGEcommerceBase: 1.3.2
CustomContent: 1.7.3
CGExtensions: 1.26.3
FrontEndUsers: 1.12.16
SelfRegistration: 1.6.10
CGSimpleSmarty: 1.4.8
Orders: 1.12.8
Products: 2.13.1
Cart: 1.8.1
CGPaymentGatewayBase: 1.0.10
FRTaxes: 1.1.1


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 12000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.2.14
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 300
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 12M
upload_max_filesize: 12M
session_save_path: C:\windows\Temp (0777)
session_use_cookies: On (True)
xml_function: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.90


----------------------------------------------
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Re: Paypal IPN not working with latest versions.

Post by Lahuindai »

On further inspection there is no events coming in via the PaypalGateway. IPN is setup and configured in paypal. Anybody please, this is getting desperate ?
Duketown

Re: Paypal IPN not working with latest versions.

Post by Duketown »

Lahuindai,

Are you working in Sandbox of PayPal?
I've got it up and running against CMSMS version 1.9.4.1.
No idea what you mean with upgrade in your sentence:
This was working before the upgrade but no longer.
To get this running, you will need to examine every angle/variable that is available in both PayPalGateWay as well as in PayPal settings. I don't have the idea that one checklist of how things should be set is available.

Duketown
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Re: Paypal IPN not working with latest versions.

Post by Lahuindai »

Hello Duketown,

Long time. Hope you are well. I am running in production mode in Paypal, but had the site down for maintenance which was affecting the IPN. It's an interesting problem as you would have to have you site live in order to test if paypal IPN is working.

So to update, I have IPN responding to Paypal. The admin log confirms that Paypal is sending through the payment confirmation. However in the Orders module the payment now goes to "Balance Due (partially paid)", and the User still does not get pushed through to FEU.

Duketown, the upgrade I was referring to, was to the e-commerce modules. All versions i'm running is in my first post.

I'll sit again tonight and trace through the code, this bug is going to die.
stevew
Forum Members
Forum Members
Posts: 74
Joined: Wed May 21, 2008 7:02 am

Re: Paypal IPN not working with latest versions.

Post by stevew »

Hi,
Calguy says he is going to release a new version of his ecommerce suite in the near future. It might solve your problem.
http://twitter.com/#!/calguy1000/status ... 1174888448
Fingers crossed!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Paypal IPN not working with latest versions.

Post by calguy1000 »

I have no plans to modify the paypal gateway module. AFAIK it's working properly.

Even duketown stated that he has it working properly. So therefore any current problems seem to be user related.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
rab
Forum Members
Forum Members
Posts: 120
Joined: Wed Sep 05, 2007 8:35 pm

Re: Paypal IPN not working with latest versions.

Post by rab »

Duketown has it working properly in CMSMS v 1.9.4.1, but I and others who seem to be having the same issue are using v 1.9.4.2. Could that be the reason for the problem?
sjo123
New Member
New Member
Posts: 7
Joined: Sun Jul 11, 2010 6:07 am

Re: Paypal IPN not working with latest versions.

Post by sjo123 »

Have a look in PayPalGateway.module.php

There may be code commented out that creates the notify_url

if( $this->GetPreference('enable_ipn',0) )
{
$parms['notify_url'] = $this->CreateURL($id,'ipn',$returnid,
array('order_id'=>$this->_data['orderid'],
'mycustom'=>$key));
}

Uncommented that and fixed my events table and IPN is functioning now
Post Reply

Return to “Modules/Add-Ons”