-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinvoice_checkout.html
More file actions
170 lines (161 loc) · 6.38 KB
/
Copy pathinvoice_checkout.html
File metadata and controls
170 lines (161 loc) · 6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="zxx" class="no-js">
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Author Meta -->
<meta name="author" content="colorlib">
<!-- Meta Description -->
<meta name="description" content="">
<!-- Meta Keyword -->
<meta name="keywords" content="">
<!-- meta character set -->
<meta charset="UTF-8">
<!-- Site Title -->
<title>Flywire College</title>
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,400,300,500,600,700" rel="stylesheet">
<!--
CSS
============================================= -->
<link rel="stylesheet" href="css/linearicons.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/nice-select.css">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/main.css">
<script src="https://payment.flywire.com/assets/js/checkout.js"></script>
</head>
<body>
<header id="header">
<div class="container main-menu" id="nav-menu">
</div>
</header><!-- #header -->
<!-- start banner Area -->
<section class="about-banner">
<div class="container">
<div class="row d-flex align-items-center justify-content-center">
<div class="about-content col-lg-12">
<h1 class="text-white">
View Balance and Pay - John Smith
</h1>
</div>
</div>
</div>
</section>
<!-- End banner Area -->
<!-- Start price Area -->
<section class="price-area section-gap">
<div class="container">
<div class="row d-flex justify-content-center">
<div class="menu-content pb-70 col-lg-8">
<div class="title text-center">
<div class="progress-table-wrap">
<div class="progress-table">
<div class="table-row">
<div class="serial"><b>Name</b></div>
<div class="country" id="student_name"></div>
</div>
<div class="table-row">
<div class="serial"><b>Student ID</b></div>
<div class="country" id="student_id"></div>
</div>
<div class="table-row">
<div class="serial"><b>Invoice No</b></div>
<div class="country" id="invoice_no"></div>
</div>
<div class="table-row">
<div class="serial"><b>Payment For</b></div>
<div class="country" id="payment_for"></div>
</div>
<div class="table-row">
<div class="serial"><b>Amount Due</b></div>
<div class="country" id="amount"></div>
</div>
<div class="table-row">
<div class="serial"><b>Payment status</b></div>
<div class="country" id="payment_status" style="color:red; font-weight:bold;">Unpaid</div>
</div>
</div>
</div>
<button id="checkout-button" class="genric-btn info">MAKE PAYMENT FROM OVERSEAS</button>
</div>
<br>
</div>
</div>
</div>
</section>
<!-- End price Area -->
<!-- start footer Area -->
<footer class="footer-area section-gap">
<div class="container" id="footer">
</div>
</footer>
<!-- End footer Area -->
<script src="js/nav.js"></script>
<script src="js/footer.js"></script>
<script src="js/flywire_parameters.js"></script>
<script>
document.getElementById("newsletter_input").placeholder = "Feature not available for Checkout";
document.getElementById("student_name").innerHTML = student_first_name + " " + student_last_name;
document.getElementById("student_id").innerHTML = student_id;
document.getElementById("invoice_no").innerHTML = invoice_no;
document.getElementById("payment_for").innerHTML = payment_for;
document.getElementById("amount").innerHTML = "$" + amount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
if (typeof(payment_status) == "string") {
document.getElementById("payment_status").innerHTML = payment_status;
}
var config = {
// See sample configuration details in section below
// Set your environment (demo, production)
env: env,
// Set your unique code (may differ between environments)
recipient: portal_code,
// Set your preferred locale
locale: locale,
// Set provider to checkout_edu
provider: "checkout_edu",
// Pre-populate fields with data (based on your portal settings)
amount: amount * 100,
sender_country: sender_country,
sender_first_name: sender_first_name,
sender_middle_name: sender_middle_name,
sender_last_name: sender_last_name,
sender_address1: sender_address1,
sender_address2: sender_address2,
sender_state: sender_state,
sender_zip_code: sender_zip_code,
sender_phone: sender_phone,
sender_city: sender_city,
sender_email: sender_email,
student_email: student_email,
student_id: student_id,
student_first_name: student_first_name,
student_last_name: student_last_name,
// Set the return url to redirect the user on process completion
return_url: return_url,
};
// Render the payment form when clicking on the button element
window.flywire.Checkout.render(config, "#checkout-button");
</script>
<script src="js/vendor/jquery-2.2.4.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBhOdIF3Y9382fqJYt5I_sswSrEw5eihAA"></script>
<script src="js/easing.min.js"></script>
<script src="js/hoverIntent.js"></script>
<script src="js/superfish.min.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/jquery.tabs.min.js"></script>
<script src="js/jquery.nice-select.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/simple-skillbar.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/mail-script.js"></script>
<script src="js/main.js"></script>
</body>
</html>