<commit_before><?php
// Nueva orden
$order = new Mage_Sales_Model_Order();

//Credenciales
$llavePublica = Mage::getStoreConfig( 'payment/pago/llave_publica' );

$checkout = Mage::getSingleton('checkout/session');
$orderId =  $checkout->getLastRealOrderId();

// Obteniendo Data
$order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
$currency  = $order->getOrderCurrencyCode();
$CustomerEmail = $order->getCustomerEmail();
$Total = number_format($order->getGrandTotal(),2,'','');

$ProductName = '';
$items = $order->getAllItems();
if ($items)
  {
      foreach($items as $item)
      {
        if ($item->getParentItem()) continue;
  $ProductName .= $item->getName() . '; ';
      }
  }
$ProductName = rtrim($ProductName, '; ');

?>


<h4><?php echo $this->__('Paga con tarjeta Visa, Mastercard, American Express o DinersClub ') ?></h4>

Numero de orden: <?php echo $orderId; ?> <br> <br>


<button id="btn_pago" class="button">Pagar</button>
<commit_msg>Update venta final<commit_after><?php
// Nueva orden
$order = new Mage_Sales_Model_Order();

//Credenciales
$llavePublica = Mage::getStoreConfig( 'payment/pago/llave_publica' );

$checkout = Mage::getSingleton('checkout/session');
$orderId =  $checkout->getLastRealOrderId();

// Obteniendo Data
$order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
$currency  = $order->getOrderCurrencyCode();
$CustomerEmail = $order->getCustomerEmail();
$Total = number_format($order->getGrandTotal(),2,'','');

$ProductName = '';
$items = $order->getAllItems();
if ($items)
  {
      foreach($items as $item)
      {
        if ($item->getParentItem()) continue;
  $ProductName .= $item->getName() . '; ';
      }
  }
$ProductName = rtrim($ProductName, '; ');

?>


<h4><?php echo $this->__('Paga con tarjeta Visa, Mastercard, American Express o DinersClub ') ?></h4>

Numero de orden: <?php echo $orderId; ?> <br> <br>
<h4>Hacer Click en pagar para proceder con la compra</h4><br><br>

<button id="btn_pago" class="button">Pagar</button>

{'fraction_non_alphanumeric': 0.1933399602385686, 'fraction_numerical': 0.003976143141153081, 'mean_word_length': 5.174846625766871, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2013028', 'n_tokens_mistral': 713, 'n_tokens_neox': 707, 'n_words': 135}