-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinvoice_embed_itemized.html
More file actions
220 lines (215 loc) · 8.2 KB
/
Copy pathinvoice_embed_itemized.html
File metadata and controls
220 lines (215 loc) · 8.2 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!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/flywire.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-10">
<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>Total 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 class="table-row">
<div class="serial"><b>Locked Amount</b></div>
<input type="checkbox" id="primary-checkbox" checked onchange='handleChange(this);'>
<label for="primary-checkbox"></label>
</div>
</div>
</div>
<br>
<div id="flywire-payex"></div>
<br>
<div class="title text-center">
<div class="main">
<a href="invoices_paid.html" class="genric-btn info">Flywire has received the payment</a>
</div>
</div>
</div>
</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/flywire_parameters.js"></script>
<script src="js/nav.js"></script>
<script src="js/footer.js"></script>
<script>
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;
}
window.flywire.Payment.render({
// Set your environment
// demo, production
env: env,
// Set your preferred locale
// en, es-ES, zh-CN, ko, fr-FR, ja, pt-PT, ar, id
locale: locale,
// Set your institution unique Code
destination: portal_code,
theme: {
brandColor: "#3498db", // Any CSS color
chat: true, // true, false
footer: false, // true, false
skipCompletedSteps: true // true, false
},
provider: "embed",
amount: amount * 100,
student_email: student_email,
student_id: student_id,
student_first_name: student_first_name,
student_last_name: student_last_name,
read_only: "student_id, student_first_name, student_last_name,student_email, amount"
}, "#flywire-payex");
function handleChange(checkbox) {
if (checkbox.checked == true) {
document.getElementById("flywire-payex").innerHTML = "";
window.flywire.Payment.render({
// Set your environment
// demo, production
env: env,
// Set your preferred locale
// en, es-ES, zh-CN, ko, fr-FR, ja, pt-PT, ar, id
locale: locale,
// Set your institution unique Code
destination: portal_code,
theme: {
brandColor: "#3498db", // Any CSS color
chat: true, // true, false
footer: false, // true, false
skipCompletedSteps: true // true, false
},
provider: "embed",
amount: amount * 100,
student_email: student_email,
student_id: student_id,
student_first_name: student_first_name,
student_last_name: student_last_name,
read_only: "student_id, student_first_name, student_last_name,student_email, amount"
}, "#flywire-payex");
} else {
document.getElementById("flywire-payex").innerHTML = "";
window.flywire.Payment.render({
// Set your environment
// demo, production
env: env,
// Set your preferred locale
// en, es-ES, zh-CN, ko, fr-FR, ja, pt-PT, ar, id
locale: locale,
// Set your institution unique Code
destination: portal_code,
theme: {
brandColor: "#3498db", // Any CSS color
chat: true, // true, false
footer: false, // true, false
skipCompletedSteps: true // true, false
},
provider: "embed",
amount: amount * 100,
student_email: student_email,
student_id: student_id,
student_first_name: student_first_name,
student_last_name: student_last_name,
read_only: "student_id, student_first_name, student_last_name,student_email"
}, "#flywire-payex");
}
}
</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>