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




LinkBack URL
About LinkBacks









Bookmarks