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....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 please help me. |
|
#2
| |||
| |||
| 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
| |||
| |||
| can you post the code around line 521? say 20 lines before, going to about 20 lines after? |
|
#4
| ||||
| ||||
| 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(); 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 |
| Thread Tools | |
| |
| ||||
| 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 |