-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpaypage.html
37 lines (34 loc) · 980 Bytes
/
paypage.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
<!DOCTYPE html>
<html>
<head>
<script src="https://checkout.stripe.com/checkout.js"></script>
<script>
var ontoken, onopen, onclose;
function setup (token, open, close){
ontoken = token;
onopen = open;
onclose = close;
}
var handler = StripeCheckout.configure ({
key: 'pk_test_wT1YzvaWlKbsWx8PD5Ur9Zgw',
// key: 'pk_live_5yDs3SPmOeNmQCYisV3D4zIJ',
locale: 'auto',
allowRememberMe: false,
bitcoin: true,
alipay: true,
token: function(){ ontoken.apply (this, arguments); },
opened: function(){ onopen.apply (this, arguments); },
closed: function(){ onclose.apply (this, arguments); }
});
function handle (price) {
handler.open({
name: 'PornViewer',
description: 'Thanks for your generosity!',
amount: price || 500
});
}
</script>
</head>
<body>
</body>
</html>