Skip to content

Instantly share code, notes, and snippets.

@basilcf
Created April 9, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basilcf/9e38fffb038287c46a5783492eadc275 to your computer and use it in GitHub Desktop.
Save basilcf/9e38fffb038287c46a5783492eadc275 to your computer and use it in GitHub Desktop.
Cashfree Whitelabel Seamless Basic payment form.
<h1>Payment Form</h1>
<table border = "3" cellpadding = "5" cellspacing = "5">
<tr>
<th>Type</th>
<th>Details</th>
<th>Submit</th>
</tr>
<tr>
<td>Cards</td>
<td>
<form>
<p>Card Number: <input type="text" id="card-num" value ="4111111111111111"/>
CVV:<input type="text" id="card-cvv" value="123"/></p>
<p>MM:<input type="text" id="card-mm" value="09"/>
YYYY:<input type="text" id="card-yyyy" value="2018"/></p>
Name:<input type="text" id="card-name" value="test"/>
</form>
</td>
<td>
<button onclick="payCard()">Pay with Card</button>
</td>
</tr>
<tr>
<td>Net Banking</td>
<td>
Select Bank:
<select id="bank-code">
<option value="3333">TEST Bank</option>
<option value="3003">Axis Bank</option>
<option value="3028">IndusInd Bank</option>
<option value="3057">Vijaya Bank</option>
</select>
</td>
<td>
<button onclick="payBank()">Pay with Net Banking</button>
</td>
</tr>
<tr>
<td>Wallet</td>
<td>
Select Wallet:
<select id="wallet-code">
<option value="4001">FreeCharge</option>
<option value="4002">MobiKwik</option>
<option value="4003">Ola Money</option>
</select>
</td>
<td>
<button onclick="payWallet()">Pay with Wallet</button>
</td>
</tr>
<tr>
<td>UPI</td>
<td>
Your UPI VPA:
<input type="text" id="upi-vpa"/>
</td>
<td>
<button onclick="payUpi()">Pay with UPI</button>
</td>
</tr>
</table>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment