-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
63 lines (61 loc) · 1.99 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Example pae only</title>
<meta charset="utf-8" />
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"
></script>
<script>
window.jQuery ||
document.write('<script src="./static/jquery-3.5.1.min.js"><\/script>');
</script>
<script
type="text/javascript"
src="https://resources.fe-int.integration.oscato.com/paymentpage/v3/op-payment-widget-v3-3.31.0-beta.min.js"
></script>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<link
rel="stylesheet"
type="text/css"
href="https://resources.fe-int.integration.oscato.com/paymentpage/v3/op-payment-widget-v3-3.31.0-beta.min.css"
/>
<style>
@media only screen and (max-device-width: 736px) {
body {
background-color: #f2f2f2;
}
}
</style>
<script type="text/javascript">
function initPaymentPage() {
var dict = {};
checkoutList("paymentNetworks", {
payButton: "submitBtn",
payButtonContainer: "submitBtnContainer",
widgetCssUrl:
"https://resources.fe-int.integration.oscato.com/paymentpage/v3/widget-card-view-3.31.0-beta.min.css",
cssUrl: "./custom.css", //custom css - should be full link
});
}
document.addEventListener("DOMContentLoaded", function (event) {
initPaymentPage();
});
</script>
</head>
<body>
<div style="border: 1px solid #000">
<h1>another form in the page outside of payment widget container</h1>
<input type="text" />
</div>
<div id="paymentNetworks" class="payment-networks-container"></div>
<div id="submitBtnContainer" class="submit-buttons-container">
<button id="submitBtn" type="button" class="submit-button"></button>
</div>
</body>
</html>