-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (94 loc) · 3.46 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
</head>
<body>
<div class="card-linkage">
<form action="" class="card-linkage-form" id="paymentFormSample" autocomplete="off">
<div class="field">
<label for="userId">Payer user ID</label>
<input type="text" name="userId" id="userId">
</div>
<div class="field">
<label for="cardNumber">Card number</label>
<input type="text" id="cardNumber" data-cp="cardNumber">
</div>
<div class="field">
<label for="expDateMonth">Card expiration MONTH</label>
<input type="text" id="expDateMonth" data-cp="expDateMonth">
</div>
<div class="field">
<label for="expDateYear">Card expiration YEAR</label>
<input type="text" id="expDateYear" data-cp="expDateYear">
</div>
<div class="field">
<label for="cvv">CVV</label>
<input type="text" id="cvv" data-cp="cvv">
</div>
<div class="field">
<label for="name">Cardholder</label>
<input type="text" id="name" data-cp="name">
</div>
<button type="submit">Привязать карту</button>
</form>
</div>
<div class="info">
</div>
<div class="pay">
<form action="" class="payment-form">
<div class="field">
<label for="againUserId">Payer user ID</label>
<input type="number" name="againUserId" id="againUserId">
</div>
<div class="field">
<label for="token">Token</label>
<input type="text" name="token" id="token">
</div>
<div class="field">
<label for="amount">Amount</label>
<input type="number" name="amount" id="amount">
</div>
<div class="field">
<label for="accumulationId">AccumulationId</label>
<input type="text" name="accumulationId" id="accumulationId">
</div>
<button type="submit">Оплатить</button>
</form>
</div>
<div class="payout">
<form action="" class="payout-form">
<div class="field">
<label for="moreUserId">Receiver user ID</label>
<input type="number" name="moreUserId" id="moreUserId">
</div>
<div class="field">
<label for="moreToken">Token</label>
<input type="text" name="moreToken" id="moreToken">
</div>
<div class="field">
<label for="moreAmount">Amount</label>
<input type="number" name="moreAmount" id="moreAmount">
</div>
<div class="field">
<label for="moreAccumulationId">AccumulationId</label>
<input type="text" name="moreAccumulationId" id="moreAccumulationId">
</div>
<div class="field">
<label for="transactions">Transactions (JSON)</label>
<input type="text" name="transactions" id="transactions">
</div>
<button type="submit">Выплатить</button>
</form>
</div>
<form id="secureForm" name="secureForm" action="" method="POST">
<input type="hidden" name="PaReq" id="PaReq" value="">
<input type="hidden" name="MD" id="MD" value="">
<input type="hidden" name="TermUrl" value="">
</form>
</body>
<script src="https://checkout.cloudpayments.ru/checkout.js"></script>
<script src="client.js"></script>
</html>