Hi, I found a temporary solution for version 1.3.7 (quietly pass directly to 1.5 when it is ready). To count the discount, even on the page paypal express



/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();





But still does not work (while definitely worked until November), if I want to make a payment by pressing the button paypal yellow cash fast for non-members.
Do not count the shopping cart even if I sign up. With or without discounts.

Do you know where I can act? I'm confused. Thank you!


-----------------------------------------------------------------



Salve, ho trovato la soluzione momentanea per l versione 1.3.7 (con calma passerò direttamente alla 1.5 quando verrà pronta). Per far conteggiare lo sconto anche nella pagina pagamento paypal express

/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();


Però non funziona ancora (mentre fino a novembre funzionava sicuramente), se voglio fare un pagamento premendo bottone paypal giallo cassa veloce, per i non iscritti.
Non conteggia nessun carrello anche se mi iscrivo. Con o senza sconti.