Skip to content

Instantly share code, notes, and snippets.

@cameri
Created September 3, 2014 18:16
Show Gist options
  • Save cameri/45ef8cfa0b3e1591afbe to your computer and use it in GitHub Desktop.
Save cameri/45ef8cfa0b3e1591afbe to your computer and use it in GitHub Desktop.
<form method="post" action="<?php echo $variables['endpoint'] ?>">
<input type="hidden" name="TransactionType" value="<?php echo $variables['transaction_type'] ?>">
<input type="hidden" name="CurrencyCode" value="<?php echo $variables['currency_code'] ?>">
<input type="hidden" name="AcquiringInstitutionCode" value="<?php echo $variables['acquiring_institution_code'] ?>">
<input type="hidden" name="MerchantType" value="<?php echo $variables['merchant_type'] ?>">
<input type="hidden" name="MerchantNumber" value="<?php echo $variables['merchant_number'] ?>">
<input type="hidden" name="MerchantTerminal" value="<?php echo $variables['merchant_terminal'] ?>">
<input type="hidden" name="ReturnUrl" value="<?php echo $variables['return_url'] ?>">
<input type="hidden" name="CancelUrl" value="<?php echo $variables['cancel_url'] ?>">
<input type="hidden" name="PageLanguaje" value="<?php echo $variables['page_languaje'] ?>">
<input type="hidden" name="OrdenId" value="<?php echo $variables['orden_id'] ?>">
<input type="hidden" name="TransactionId" value="<?php echo $variables['transaction_id'] ?>">
<input type="hidden" name="Amount" value="<?php echo $variables['amount'] ?>">
<input type="hidden" name="Tax" value="<?php echo $variables['tax'] ?>">
<input type="hidden" name="MerchantName" value="<?php echo $variables['merchant_name'] ?>">
<input type="hidden" name="KeyEncriptionKey" value="<?php echo $variables['key_encription_key'] ?>">
<input type="hidden" name="Ipclient" value="<?php echo $variables['ip_client'] ?>">
<input type="submit value="Pagar">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment