First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
// Setup parameters
|
||||
$bamboraRecordNum = $trxnum;
|
||||
|
||||
$item_title = normalizeString($school_record['school_name'] . " Order Payment", 'string');
|
||||
|
||||
$owing = 1;
|
||||
$trx_fee = 0;
|
||||
|
||||
?>
|
||||
FORM2
|
||||
<!-- Start Bambora Custom Checkout Form Asset--->
|
||||
<link rel="stylesheet" href="bambora-asset/css/style.css">
|
||||
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
|
||||
<script src='https://libs.na.bambora.com/customcheckout/1/customcheckout.js'></script>
|
||||
<!-- End Bambora Custom Checkout Form Asset--->
|
||||
|
||||
<div class="container">
|
||||
<form id="checkout-form" action="bamboraCcPayment.php" method="post">
|
||||
<input type="hidden" name="amount" value="<?php echo($owing) ?>">
|
||||
<input type="hidden" name="trx_fee" value="<?php echo($trx_fee) ?>">
|
||||
<input type="hidden" name="trxnum" value="<?php echo($bamboraRecordNum) ?>">
|
||||
<input type="hidden" name="schoolName" value="<?php echo($school_record['school_name']) ?>">
|
||||
<input type="hidden" name="user_num" value="<?php echo($user_num) ?>">
|
||||
|
||||
<div id="card-number"></div>
|
||||
<label for="card-number" id="card-number-error"></label>
|
||||
|
||||
<div id="card-cvv"></div>
|
||||
<label for="card-cvv" id="card-cvv-error"></label>
|
||||
|
||||
<div id="card-expiry"></div>
|
||||
<label for="card-expiry" id="card-expiry-error"></label>
|
||||
|
||||
<input id="pay-button" type="submit" class="bambora-btn disabled" value="Pay" disabled="true">
|
||||
|
||||
<div id="feedback"></div>
|
||||
|
||||
<p><?php displayLanguageText('TEXT-DO-NOT-CLICK-PAYMENT-BUTTON-TWICE'); ?></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script src="bambora-asset/js/index.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
<?php include "include/ajax.Setup.php" ?>
|
||||
|
||||
$("#checkout-form").submit(function(e) {
|
||||
$("#pay-button").prop('disabled', true);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user