Skip to content

Commit

Permalink
send product net price
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasJanda committed Mar 13, 2020
1 parent 9ae6a40 commit e359daf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Core/Controller/ThankYouController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ protected function rs_awin()
$awc = \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getOxCookie('awc');

$url = "https://www.awin1.com/sread.php?tt=ss&tv=2&merchant=".$sMerchant;
$url .= "&amount=" . $oOrder->getTotalOrderSum();
//$url .= "&amount=" . $oOrder->getTotalOrderSum();
$url .= "&amount=" . $oOrder->oxorder__oxtotalnetsum->value;
$url .= "&ch=aw";
$url .= "&cr=" . $oOrder->getOrderCurrency()->name;
$url .= "&ref=" . $oOrder->oxorder__oxordernr->value;
$url .= "&parts=DEFAULT:" . $oOrder->getTotalOrderSum();
//$url .= "&parts=DEFAULT:" . $oOrder->getTotalOrderSum();
$url .= "&parts=DEFAULT:" . $oOrder->oxorder__oxtotalnetsum->value;
$url .= "&testmode=0&vc=" . "";
if ($awc!="") {
$url .= "&cks=" . $awc; // Populate the Awin click checksum if one is associated with the conversion
Expand Down

0 comments on commit e359daf

Please sign in to comment.