Payment module for oscommerce is needed to process credit card payments as bank I am using does not have a module already made.
I have the HTTP Post messaging format/information from the bank.
I also have a payment module for the payment gateway we currently use to process credit cards which is very similar and could be used to work off when creating this new module.
Here is a sample authorization message provided in the instructions by the bank:
Sample Authorization Request Message (Message 0200)
<form method="post" action="http://176.168.0.20/carrito/post.php">
<p><input name="TransactionType" value="0200" type="hidden"></p>
<p><input name="CurrencyCode" value="840" type="hidden"></p>
<p><input name="AcquiringInstitutionCode" value="324" type="hidden"></p>
<p><input name="MerchantType" value="5440" type="hidden"></p>
<p><input name="MerchantNumber" value="399019899 " type="hidden"></p>
<p><input name="MerchantTerminal" value="256242374000" type="hidden"></p>
<p><input name="ReturnUrl" value="https://www.urldelcliente.php" type="hidden"></p>
<p><input name="CancelUrl" value="https://www.urldelcliente.php" type="hidden"></p>
<p><input name="OrdenId" value="686" type="hidden"></p>
<p><input name="TransactionId" value="160088" type="hidden"></p>
<p><input name="Amount" value="000000011799" type="hidden"></p>
<p><input name="Tax" value="000000001523" type="hidden"></p>
<p><input name="MerchantName" value="MERCHANT NAME SANTO DOMINGORD DO" type="hidden"></p>
<p><input name="KeyEncriptionKey" value="1fc500b127d04b532f759d183944b057" type="hidden"></p>
<p><input name="Ipclient" value="176.198.232.999" type="hidden"></p>
<p><input name="expdate_month" value="12" type="hidden"></p>
<p><input name="expdate_year" value="12" type="hidden"></p>
<p><input name="CredicardNumber" value="4234567842345678" type="hidden"></p>
<p><input name="CreditVerificationValue" value="678" type="hidden"></p>
<p><input value="Submit" name="" type="submit">
</form>
I would prefer the module to be created in such a way that when the transaction of the customer is processing it says "connecting to www.mysite.com" rather than "connection to www.paymentgateway.com", in other words so the payment processor is hidden (and also cannot be ascertained by reading the source code).