-
Notifications
You must be signed in to change notification settings - Fork 1
/
pay.html
76 lines (70 loc) · 2.03 KB
/
pay.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
---
title: Pay Anthony Ciccarello
layout: page
excludeFromSitemap: true
---
<style type="text/css">
article {
text-align: center;
}
.providers-list {
padding: 0;
}
.providers-list li {
list-style: none;
margin: 2.5rem 0;
}
img.provider-icon {
display: block;
height: 200px;
width: 200px;
margin: 0.5rem auto;
}
</style>
<p>Accepted services ordered by preference. See <a href="/referrals">referrals page</a> for sign up deals.</p>
<ol class="providers-list">
<li>
<img src="/assets/img/icon-zele.png" alt="" class="provider-icon"/>
Zelle (anthony@ciccarello.me)
<p>
Bank-to-bank.
<a href="https://www.zellepay.com/get-started">Learn More</a>
</p>
</li>
<li>
<a href="https://venmo.com/u/ajciccarello" tabindex="-1" aria-hidden="true">
<img src="/assets/img/icon-venmo.svg" alt="" class="provider-icon"/>
</a>
Venmo (<a href="https://venmo.com/u/ajciccarello">@ajciccarello</a>)
</li>
<li>
<a href="https://paypal.me/ajciccarello" tabindex="-1" aria-hidden="true">
<img src="/assets/img/icon-paypal.png" alt="" class="provider-icon"/>
</a>
Paypal (<a href="https://paypal.me/ajciccarello">@ajciccarello</a>)
</li>
<li>
<a href="https://wise.com/invite/spu/anthonyjosephc6" tabindex="-1" aria-hidden="true">
<img src="/assets/img/icon-wise.png" alt="" class="provider-icon"/>
</a>
Wise (<a href="https://wise.com/invite/spu/anthonyjosephc6">anthony@ciccarello.me</a>)
<p>
International payments
<a href="https://wise.com/invite/dic/anthonyjosephc6">Referral code</a>
</p>
</li>
</ol>
<script defer>
const params = new URLSearchParams(window.location.search);
const amount = params.get("amount");
if (amount) {
// https://venmo.com/u/ajciccarello?amount=5
document
.querySelectorAll('a[href*="venmo.com"]')
.forEach((venmoLink) => venmoLink.href = venmoLink.href + `?txn=pay&amount=${amount}`);
// https://paypal.me/ajciccarello/5
document
.querySelectorAll('a[href*="paypal.me"]')
.forEach((paypalLink) => paypalLink.href = paypalLink.href + `/${amount}`);
}
</script>