osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Paypal issue - Any ideas?

This is a discussion on Paypal issue - Any ideas? within the Paypal forums, part of the Payment Modules category; I have installed the Standard Payments module for Paypal. It works all the way through (incuding entering into admin) until ...

      
  1. #1
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Question Paypal issue - Any ideas?

    I have installed the Standard Payments module for Paypal.

    It works all the way through (incuding entering into admin) until the end when I click on the

    Return to Store Button
    I get the following error

    Fatal error: Call to a member function update_credit_account() on a non-object in /home/a1352804/public_html/catalog/includes/modules/payment/paypal_standard.php on line 471
    Line 471 reads:

    // Start - CREDIT CLASS Gift Voucher Contribution
    $order_total_modules->update_credit_account($i);
    // End - CREDIT CLASS Gift Voucher Contribution
    I read the PAYPAL thread and this looks like a Gift Voucher issue so I commented the line out. Now I get an error on line 510

    Fatal error: Call to a member function apply_credit() on a non-object in /home/a1352804/public_html/catalog/includes/modules/payment/paypal_standard.php on line 510
    Which is another GIft Voucher Mod - which I also commented out.

    Another one on line 570.

    And then it seems to work!

    However, I would like to use the Gift Voucher functionality at some point in the future.

    Is there a fix out there for this issue?

    Many thanks - apologies if I have missed this solution elsewhere.

    pgmarshall

  2. #2
    Lurker
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0


    Default Re: Paypal issue - Any ideas?

    Same problem here..
    I followed your workaround and seems fine now.

    Please someone help to solve this permanently!!

  3. #3
    Lurker
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0


    Default Re: Paypal issue - Any ideas?

    Hi again

    I think I have found a better solution
    You can add
    " if (isset($order_total_modules))" in front of each line indicating error.

    In my store, after this change, discount coupons work flawlessly


  4. #4
    New Member
    Join Date
    Jan 2008
    Posts
    13
    Rep Power
    0


    Default Re: Paypal issue - Any ideas?

    Can someone clarify as to why this is happening? I just did a brand new install of oscMax and am getting this error with the PayPal module. I'm happy to hack away at this issue, but what is the issue and how will it impact a live store?

    Thanks

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Paypal issue - Any ideas?

    Hi,

    Use vergeo's solution

    You can add
    " if (isset($order_total_modules))" in front of each line indicating error.

    In my store, after this change, discount coupons work flawlessly
    Regards,
    pgmarshall
    _______________________________

  6. #6
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Paypal issue - Any ideas?

    I have the same issue. Just one question before I make the changes. Is this how the code should be?

    // Start - CREDIT CLASS Gift Voucher Contribution
    if (isset($order_total_modules)) $order_total_modules->update_credit_account($i);
    // End - CREDIT CLASS Gift Voucher Contribution

    Or is there something missing?

  7. #7
    Lurker
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0


    Default Re: Paypal issue - Any ideas?

    Sry for the late answer...
    That's it. I think you can safely proceed with the changes.

  8. #8
    Active Member
    Join Date
    Nov 2002
    Location
    Sydney
    Posts
    242
    Rep Power
    10


    Default Re: Paypal issue - Any ideas?

    Yes we had the same trouble with the latest oscmax 203 but changed the lines 471 and 509 with the same code as above, and we got back to the store okay. Many thanks vergeo

  9. #9
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Question Re: Paypal issue - Any ideas?

    Could this be added into the SVNs and main release, please.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Paypal issue - Any ideas?

    This is already in the svn version (2.1)
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Page 1 of 2 12 LastLast

Similar Threads

  1. Paypal IPN & Free Shipping Voucher issue
    By chrisbarbers in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 09-03-2007, 01:29 AM
  2. RC 3 PayPal IPN install issue.
    By usedcpus in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-11-2007, 05:41 AM
  3. Any ideas as to why???????????
    By cara in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 02-07-2007, 10:39 AM
  4. Any ideas? PAYPAL IPN Not posting! Searched boards.
    By bleu in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 06-29-2004, 06:05 PM
  5. PayPal issue and Site name
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 12-05-2002, 11:48 AM

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
  •