Results 1 to 2 of 2

Paypal Standard Error

This is a discussion on Paypal Standard Error within the Paypal forums, part of the Payment Modules category; Hi, I'm having problem with integrating paypal std with oscmax 2.04 (latest). When I made a test purchase through sandbox ...

      
  1. #1
    New Member
    Join Date
    Oct 2008
    Posts
    15
    Rep Power
    0


    Default Paypal Standard Error

    Hi,

    I'm having problem with integrating paypal std with oscmax 2.04 (latest). When I made a test purchase through sandbox and clicked 'return to merchant' button after payment, it says "Fatal error: Call to a member function update_credit_account() on a non-object in /home/xxx/public_html/order/includes/modules/payment/paypal_standard.php on line 471"

    I opened the paypal_standard.php and found line 471 is this:

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

    Looks like it's gift voucher module. I tried commenting it out and ran it again, and this time it says:

    Fatal error: Call to a member function apply_credit() on a non-object in /home/xxx/public_html/order/includes/modules/payment/paypal_standard.php on line 510

    Which is a gift voucher module again:

    // Start - CREDIT CLASS Gift Voucher Contribution
    $order_total_modules->apply_credit();
    // End - CREDIT CLASS Gift Voucher Contribution

    There's no gift voucher set up. So I set one up without actually using the code during the order process (because I wouldn't really use it), but it still caused the same problem. Orders did get recorded with oscmax though, which is good.

    Is there a fix for this? Can I just turn off gift voucher? Thanks for your help.

    Jay

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


    Smile Re: Paypal Standard Error

    This is a known bug which has been fixed.

    Please see the Developers Link above to find source fixes and changes.

    Link to specific fix is here.

    Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. Replies: 5
    Last Post: 12-10-2009, 02:43 PM
  2. MVS not working with Paypal Standard
    By CircleG in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-24-2009, 08:52 PM
  3. PayPal standard: Refund / IPN issue
    By DrLeadBasedPaint in forum Paypal
    Replies: 2
    Last Post: 09-22-2009, 08:41 AM
  4. PayPal Website Payments Standard
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-11-2008, 05:31 PM
  5. [Contrib] Standard PayPal for osCMax.
    By Jonthebest in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-04-2005, 09:02 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
  •