osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

paypal ipn fatal call

This is a discussion on paypal ipn fatal call within the Paypal forums, part of the Payment Modules category; ok, so i have spent the better part of a day looking for the fix for this. using oscmax v2....


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 11-20-2007, 01:04 PM
Lurker
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bbouton is on a distinguished road
Default paypal ipn fatal call

ok, so i have spent the better part of a day looking for the fix for this. using oscmax v2.0rc3 stock install no additional mods.

using paypal ipn in sandbox mode, when it returns to the store if throws an error fatal call to apply_credit(); it is something to do with the gift voucher system and i have tried to fix it but can't.

gift vouchers are the whole reason i used oscmax - well that and the prepackaged mods . but if i can't get the git vouchers to work i will have to look into another avenue.

please help me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-20-2007, 10:20 PM
Lurker
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bbouton is on a distinguished road
Default Re: paypal ipn fatal call

here is the actual error it throws -
Fatal error: Call to a member function apply_credit() on a non-object in /home/*******/********/********/includes/modules/payment/paypal_ipn.php on line 521
I have looked in the forums for everything i can think of - even used the modded file for paypal_ipn but as far as i can tell it doesn't have any CCGV stuff in it, and when i add it in the correct spot i get the error above just the same as the stock oscmax file.

Any help would be most appreciated - even just a simple link to somewhere elese to look. thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-02-2007, 08:18 PM
Lurker
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tpwalker1980 is on a distinguished road
Default Re: paypal ipn fatal call

can you post the code around line 521?

say 20 lines before, going to about 20 lines after?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 12-04-2007, 04:13 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default Re: paypal ipn fatal call

This error relates to Bugfix 157. Go to Bug Tracker top of this page - type 157 - click "Jump or go here:
157: With voucher active during paypal payment, amount of voucher does not subtracts from account after check out - Bug Tracker - open source Commerce Maximized :: osCMax

That's the history to this 'fix'.
FYI.
I received the same error however as I don't use gift vouchers I commented out lines 521 & 581 & now works for me:
Code:
// line 521:
//np   $order_total_modules->apply_credit();
// line 581:
//np $order_total_modules->clear_posts();
An unbiased plug for Michael.
A lot of "errors" in here relate to server set up - versions of PHP / MySQL / php.ini settings...
To remove those from the equation - host with the guys that run this forum - Web Hosting, Dedicated Servers & E-Commerce
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
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: Call to undefined function: tep_draw_textarea_field dustint osCommerce 2.2 Discussion 2 06-11-2007 10:26 PM
Fatal error: Call to undefined function: tep_href_link() spiros71 osCommerce 2.2 Installation Help 1 09-26-2005 01:23 PM
Fatal Error:Call to undefined function:gzinflate() michaelphodges osCMax v2 Installation issues 1 06-16-2005 07:26 AM
Fatal error: Call to undefined function: array_map() Anonymous osCMax v1.7 Discussion 3 01-21-2004 12:38 PM
Fatal error: Call to undefined function: array_map() Anonymous osCMax v1.7 Discussion 1 08-22-2003 09:30 PM


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


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