-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapiCallExample.html
54 lines (52 loc) · 2.29 KB
/
apiCallExample.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
<html>
<head>
<script id="adyen-web-script" src="https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.12.0/adyen.js"
crossorigin="anonymous"></script>
<link id="adyen-web-stylesheet" rel="stylesheet"
href="https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.12.0/adyen.css"
crossorigin="anonymous">
<script src="frontend/utils.js"></script>
<script src="frontend/paymentMethods.js"></script>
<script src="frontend/legalEntity.js"></script>
<script src="frontend/createAccountHolder.js"></script>
<script src="frontend/createBalanceAccounts.js"></script>
<script src="frontend/getBalance.js"></script>
<script src="frontend/payments.js"></script>
<script src="frontend/handleServerResponse.js"></script>
<script src="frontend/handleShopperRedirect.js"></script>
<script src="frontend/handleSubmission.js"></script>
<script src="frontend/paymentsDetails.js"></script>
<script src="frontend/dropin.js"></script>
<script src="frontend/template.js"></script>
<script src="frontend/transferBalance.js"></script>
</head>
<body onload="handleShopperRedirect()">
<header class="main-header">
<nav class="nav main-nav">
<ul>
<li><a href="shoppingCart.html">Shopping Cart Sample</a></li>
</ul>
</nav>
<h1 class="main-title">API Call Example Function Page</h1>
</header>
<button style="width:300px;height:100px;font-size:32;" onclick="callPaymentMethodsTEST()">/paymentMethods</button>
<br>
<br>
<button style="width:300px;height:100px;font-size:32;" onclick="callPaymentsTEST()">/payments</button>
<br>
<br>
<button style="width:300px;height:100px;font-size:32;" onclick="callLegalEntity()">Individual Legal Entity</button>
<br>
<br>
<button style="width:300px;height:100px;font-size:32;" onclick="callGetBalance()">getBalance</button>
<br>
<br>
<button style="width:300px;height:100px;font-size:32;" onclick="doDatabaseCall()">Do Database Call</button>
<br>
<br>
<button style="width:300px;height:100px;font-size:32;" onclick="callTransferBalance()">TransferBalance</button>
<br>
<br>
<label for="amountInput">Amount:</label>
<input type="number" min="0" id="amountInput" name="amountInput" value="10.00" style="width: 6em">
</html>