Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Payment Modules / Setcom Not Allowing Discounts?

Setcom Not Allowing Discounts?

Locked

Started by momoftwo on 12 Mar 2010, 1:29 PM · Views: 773

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
12 Mar 2010, 1:29 PM
#1
momoftwo avatar

momoftwo

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Setcom Not Allowing Discounts?

DrByte:

Try this:

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

$doPayPal = $this->paypal_init();
> 
> 
> Insert the extra lines as shown:```
    // init new order object
    require(DIR_WS_CLASSES . 'order.php');
    $order = new order;

[B]    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();
[/B]
    $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.