Quote Originally Posted by DrByte View Post
Try this:

/includes/modules/payment/paypalwpp.php
around line 1583 you'll see this code:
Code:
    // init new order object
    require(DIR_WS_CLASSES . 'order.php');
    $order = new order;

    $doPayPal = $this->paypal_init();

Insert the extra lines as shown:
Code:
    // init new order object
    require(DIR_WS_CLASSES . 'order.php');
    $order = new order;

    require(DIR_WS_CLASSES . 'order_total.php');
    $order_total_modules = new order_total;
    $order_totals = $order_total_modules->pre_confirmation_check();
    $order_totals = $order_total_modules->process();

    $doPayPal = $this->paypal_init();
I found this for Paypal Express - but there is no similar coding in the setcom.php file. If someone could help me, this is what I need to be able to do to resolve my discounts and payment gateway problem.