This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Place the below div on your html --> | |
<div id="payment-div"></div> | |
<!-- Paste below code base before the closing tag(</body>) of body element --> | |
<script src="https://www.cashfree.com/assets/cashfree.sdk.v1.2.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
(function() { | |
var data = {}; | |
data.orderId = "1234"; | |
data.orderAmount = 450; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Place the below div on your html --> | |
<div id="payment-div"></div> | |
<!-- Paste below code base before the closing tag(</body>) of body element --> | |
<script src="https://www.cashfree.com/assets/cashfree.sdk.v1.2.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
(function() { | |
var data = {}; | |
data.orderId = "1234"; | |
data.orderAmount = 450; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name of the Bank | paymentCode | |
---|---|---|
Allahabad Bank | 3001 | |
Andhra Bank | 3002 | |
Axis Bank | 3003 | |
Bank of Baroda - Corporate | 3060 | |
Bank of Baroda - Retail | 3005 | |
Bank of India | 3006 | |
Bank of Maharashtra | 3007 | |
Canara Bank | 3009 | |
Catholic Syrian Bank | 3010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mode = "TEST"; | |
$appId = "<API KEY>"; | |
$secretKey = "<Secret Key>"; | |
$orderId = time(); | |
$orderAmount = 100; | |
$customerName = "John Doe"; | |
$customerPhone = "9900012345"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mode = "TEST"; | |
$appId = "<API KEY>"; | |
$secretKey = "<Secret Key>"; | |
$orderId = time(); | |
$orderAmount = 100; | |
$customerName = "John Doe"; | |
$customerPhone = "9900012345"; |