osCmax v2.5 User Manual
Results 1 to 4 of 4

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.0rc3 ...

      
  1. #1
    Lurker
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0


    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.

  2. #2
    Lurker
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0


    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

  3. #3
    Lurker
    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    0


    Default Re: paypal ipn fatal call

    can you post the code around line 521?

    say 20 lines before, going to about 20 lines after?

  4. #4
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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

Similar Threads

  1. Fatal error: Call to undefined function: tep_draw_textarea_field
    By dustint in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 06-11-2007, 10:26 PM
  2. Fatal error: Call to undefined function: tep_href_link()
    By spiros71 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-26-2005, 01:23 PM
  3. Fatal Error:Call to undefined function:gzinflate()
    By michaelphodges in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 06-16-2005, 07:26 AM
  4. Fatal error: Call to undefined function: array_map()
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 01-21-2004, 11:38 AM
  5. Fatal error: Call to undefined function: array_map()
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 08-22-2003, 09:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •