I am working with a credit card processor. They have given me the code for a "button" to put on our page (they don't know we're creating our site with NetTalk web server) to post to their site so our clients can pay invoices online. I intend to put their code in a NetWebForm on the XHtml tab to create the linking button:
<span class="MainHeading">
Your current balance due is <!-- Net:s:currentdue -->.<br>
<br>To pay your bill verify the amount in the box below then click the "Pay Now" button.<br /><br />
<form action="
http://secureinputtest.unitedpaymentservices.com method="post">
Amount:
<input type="text" value="66.55" name="ProductPrice" /> <br /><br />
<input type="hidden" name="StoreNumber" value="100001">
<input type="hidden" name="Method" value="purchase">
<input type="hidden" name="ProductName" value="Invoice Payment">
<input type="hidden" name="OrderCustomerNumber" value="123456789">
<input type="hidden" name="OrderInvoice" value="12345">
<input type="hidden" name="ByPassCart" value="yes">
<input type="image" src="
https://SecureInput.MyUnitedConnect.com/SecurePAYImages/pay-now-red.jpg" />
</form>
Two questions:
Is the XHtml tab the correct place to imbed this code?
How do I replace the 66.55 (ProductPrice), 123456789 (OrderCustomerNumber) and 12345 (OrderInvoice) with variable values similar to the <!-- Net:s:currentdue --> I use to display the currrent due amount?
Or am I totally off base and need to do this in a different or simplier way?
Thanks.
Mike Tabakin