| @@ 475-477 (lines=3) @@ | ||
| 472 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', $product_name) . ':' . $product['qty'] . ':' . $this->format_raw($product['final_price']) . ':' . $this->format_raw(($product['tax'] / 100) * $product['final_price']) . ':' . $this->format_raw((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) . ':' . $this->format_raw(((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) * $product['qty']); |
|
| 473 | } |
|
| 474 | ||
| 475 | foreach ($order_totals as $ot) { |
|
| 476 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', strip_tags($ot['title'])) . ':---:---:---:---:' . $this->format_raw($ot['value']); |
|
| 477 | } |
|
| 478 | ||
| 479 | $params['Basket'] = substr(sizeof($contents) . ':' . implode(':', $contents), 0, 7500); |
|
| 480 | ||
| @@ 192-194 (lines=3) @@ | ||
| 189 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', $product_name) . ':' . $product['qty'] . ':' . $this->format_raw($product['final_price']) . ':' . $this->format_raw(($product['tax'] / 100) * $product['final_price']) . ':' . $this->format_raw((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) . ':' . $this->format_raw(((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) * $product['qty']); |
|
| 190 | } |
|
| 191 | ||
| 192 | foreach ($this->getOrderTotalsSummary() as $ot) { |
|
| 193 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', strip_tags($ot['title'])) . ':---:---:---:---:' . $this->format_raw($ot['value']); |
|
| 194 | } |
|
| 195 | ||
| 196 | $crypt['Basket'] = substr(sizeof($contents) . ':' . implode(':', $contents), 0, 7500); |
|
| 197 | $crypt['Apply3DSecure'] = '0'; |
|
| @@ 210-212 (lines=3) @@ | ||
| 207 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', $product_name) . ':' . $product['qty'] . ':' . $this->format_raw($product['final_price']) . ':' . $this->format_raw(($product['tax'] / 100) * $product['final_price']) . ':' . $this->format_raw((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) . ':' . $this->format_raw(((($product['tax'] / 100) * $product['final_price']) + $product['final_price']) * $product['qty']); |
|
| 208 | } |
|
| 209 | ||
| 210 | foreach ($order_totals as $ot) { |
|
| 211 | $contents[] = str_replace(array(':', "\n", "\r", '&'), '', strip_tags($ot['title'])) . ':---:---:---:---:' . $this->format_raw($ot['value']); |
|
| 212 | } |
|
| 213 | ||
| 214 | $params['Basket'] = substr(sizeof($contents) . ':' . implode(':', $contents), 0, 7500); |
|
| 215 | ||