osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Fatal error: Call to a member function on a non-object in paypal_ipn.php on line 521

This is a discussion on Fatal error: Call to a member function on a non-object in paypal_ipn.php on line 521 within the Paypal forums, part of the Payment Modules category; So this is a Paypal IPN error... actual error below (using paypal sandbox): Fatal error : Call to a member function ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Paypal

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 01-30-2008, 04:39 PM
New Member
 
Join Date: Jan 2008
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
iberkner is on a distinguished road
Default Fatal error: Call to a member function on a non-object in paypal_ipn.php on line 521

So this is a Paypal IPN error... actual error below (using paypal sandbox):

Fatal error: Call to a member function on a non-object in ../includes/modules/payment/paypal_ipn.php on line 521

So I've done a lot of research online and in these forums and have found a lot of references to this issue. Code from around line 521 is below:

520: // Added Bugfix 157
521: $order_total_modules->apply_credit();

I've also researched bug fix 157 and found that this module incorporates all of the necessary fixes for 157 so I wonder what else are we missing?

We get this error in particular when running the store in Sandbox mode with paypal. We did get a real order today through Paypal but no payment information came through (it doesn't show the transaction in paypal), but we do see the actual order, so we can only guess that our customer either got the error or thought he was done.

We do use vouchers so we'd like to keep this as is and I'm sure that someone out there knows what the cause / solution is to this problem???

Any help woud be appreciated...

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-31-2008, 12:51 PM
New Member
 
Join Date: Jan 2008
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
iberkner is on a distinguished road
Default Re: Fatal error: Call to a member function on a non-object in paypal_ipn.php on line

So for now we have disabled paypal as a payment processing option... would love to reenable it. Any suggestions?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-31-2008, 02:43 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,191
Thanks: 66
Thanked 291 Times in 277 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 Re: Fatal error: Call to a member function on a non-object in paypal_ipn.php on line

Read the long thread at the top of the paypal forum. It is resolved in that thread:
Paypal problem
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-08-2008, 04:32 PM
New Member
 
Join Date: Mar 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
edgeconsults is on a distinguished road
Default Re: Fatal error: Call to a member function on a non-object in paypal_ipn.php on line

when is this going to be fixed??

[Sun Mar 09 00:16:48 2008] [error] [client 70.5.2.111] PHP Fatal error: Call to a member function apply_credit() on a non-object in /home/edgeconsults/www/investinhardmoney.com/includes/modules/payment/paypal_ipn.php on line 521, referer: https://www.paypal.com/us/cgi-bin/we...&SESSION=xxxxx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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
Fatal error: /paypal_ipn.php on line 521 monoxide Paypal 6 10-02-2007 07:57 PM
PayPal error "Call to a member function on a non-object brendanl79 osCMax v2 Customization/Mods 13 06-29-2007 12:20 PM
Fatal error: Call to a member function on a non-object in tb1234 osCommerce 2.2 Discussion 0 05-17-2007 10:54 PM
PayPal error "Call to a member function on a non-object brendanl79 osCMax v2 Features Discussion 1 10-12-2006 09:12 PM


All times are GMT -8. The time now is 11:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax