Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{extends file="{$parent_template_path}/checkout/order_completed.tpl"}    
{block name="order-completed" append}
{$xc_label = 'SA00xxxxx'}  
{$seed = "$xc_label|{$Bestellung->cBestellNr}"}
{$token = base64_encode(openssl_encrypt($seed,'aes128','c2hvcGF1c2t1bmZ0', 0, 'aGFlbmRsZXJidW5k'))}
<script type="text/javascript">
  var fetched_data = {ldelim}
  'shop_name': '{$sShopname}',
  'email': '{$Bestellung->oKunde->cMail}',
  'shop_type': '5',
  'order_value': '{$Bestellung->fWarensumme}',
  'shipping_value': '{$Bestellung->fVersand}',
  'language': '{Shop::Lang()->cISOSprache}',
  'url': '{$smarty.server.SERVER_NAME}',
  'token': '{$token}'
  {rdelim}
</script>
<script type="text/javascript" src="https://rba.shopauskunft.de/js/rba_widget.js" id="rba_widget" async></script>
{/block}

...