forked from PayButton/paybutton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
165 lines (147 loc) · 3.78 KB
/
test.html
File metadata and controls
165 lines (147 loc) · 3.78 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PayButton - Coming Soon to BCH</title>
<script src="https://alt-win.github.io/paybutton.github.io/pre-release/v0.1/js/paybutton.js"></script>
<!-- icons -->
<link rel="apple-touch-icon" sizes="180x180" href="./images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/icons/favicon-16x16.png">
<link rel="manifest" href="./images/icons/site.webmanifest">
<link rel="mask-icon" href="./images/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="./images/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="./images/icons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div class="c_container">
<div id="elem1"></div>
</div>
<script>
var config = {
style: 'pay-button',
button_text: 'Send 15 BCH',
button_text_2: 'Click to Send BCH',
amount: 15.000,
amount_type: 'BCH',
address: 'bitcoincash:qp24zfhleckncxq8snvtccxtsa05erxvsc0cjy542k',
success_msg: 'Thanks!'
}
Paybutton.render("elem1", config);
</script>
<script>
var config = {
style: 'pay-button rev',
button_text: 'Send 17 BCH',
button_text_2: 'Click to Send BCH',
amount: 17.000,
amount_type: 'BCH',
address: 'bitcoincash:qp24zfhleckncxq8snvtccxtsa05erxvsc0cjy542k',
success_msg: 'Thanks!'
}
Paybutton.render("elem1", config);
</script>
<br /><br />
<button
class="pay-button spice"
button-text="Support The Spice"
button-text-2="Donate $1"
amount="0.01"
amount-type="usd"
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-msg="Thanks for supporting Spice!"
paywall-field="paywall"
success-callback=""
>
</button>
<br />
<button
class="pay-button spicerev"
button-text="Support The Spice"
button-text-2="Donate $1"
amount="0.01"
amount-type="usd"
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-msg="Thanks for supporting Spice!"
paywall-field="paywall"
success-callback=""
>
</button>
<br /> <br />
<button
class="pay-button"
button-text="Donate $1"
button-text-2="Click to send BCH"
amount="1"
amount-type="usd"
address="bitcoincash:qz7uphl05rk2g2wf0k6g59l0gffpf2gzf53m3tzjlu"
success-msg="Thanks for supporting PayButton!"
paywall-field=""
success-callback=""
>
</button>
<br />
<button
class="pay-button rev"
button-text="Donate $5"
button-text-2=""
amount="5"
amount-type="usd"
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-field=""
success-msg="Thanks for supporting PayButton!"
>
</button>
<br />
<button
class="pay-button bare"
button-text="Any Amount"
button-text-2=""
amount=""
amount-type=""
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-field=""
success-msg="Thanks for supporting PayButton!"
>
</button>
<br /><br />
<button
class="pay-button wa"
button-text="Donate $1"
button-text-2=""
amount="1"
amount-type="AUD"
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-field=""
success-msg="Thanks for supporting PayButton!"
>
</button>
<br />
<button
class="pay-button warev"
button-text=""
button-text-2=""
amount=""
amount-type=""
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-field=""
success-msg="Thanks for supporting PayButton!"
>
</button>
<br />
<button
class="pay-button wabare"
button-text="error test"
button-text-2="1 attribute"
amount=""
amount-type="bch"
address="bitcoincash:qpajl5cvn0fjsqs30xppuxs3uuhzfdj4ncrcfdukt3"
success-field=""
success-msg="Thanks for supporting PayButton!"
>
</button>
</body>
</html>