Originally Posted by
twitchtoo
PHP Fatal error: Function name must be a string in /includes/modules/payment/paypal/paypal_functions.php on line 919
The link points to github Change 605 where this is posted:
replace this line:
$this->zcLog('getLineItemDetails 6', 'Discounts have caused the subtotal to calculate incorrectly. Line-item-details cannot be submitted.' . "\nBefore:" . print_r($pre, TRUE) . "\nAfter:" . print_r(array_merge($optionsST, $optionsLI), true));
with this line:
ipn_logging('getLineItemDetails 6', 'Discounts have caused the subtotal to calculate incorrectly. Line-item-details cannot be submitted.' . "\nBefore:" . print_r($pre, TRUE) . "\nAfter:" . print_r(array_merge($optionsST, $optionsLI), true));
which looking through the code may be missing $ in front of ipn_logging, or it may not be - some references of ipn_logging have the $ some don't.
Even with the $ added this does not resolve the disappearing Confirm the Order button error for PayPal Standard. All other payment modules are working properly.
Bookmarks