mirror of
https://github.com/neocities/neocities.git
synced 2025-07-26 04:18:22 +02:00
an unfinished start on proper paypal recurring integration
This commit is contained in:
parent
5346b7345e
commit
c4376bc580
15 changed files with 175 additions and 53 deletions
|
@ -1,7 +1,3 @@
|
|||
<%
|
||||
|
||||
%>
|
||||
|
||||
<section class="section plans">
|
||||
<% if request.path.match /\/welcome/ %>
|
||||
<div class="txt-Center"><img src="/img/heartcat.png"></div>
|
||||
|
@ -83,7 +79,7 @@
|
|||
<%== plan_pricing_button :supporter %>
|
||||
<% end %>
|
||||
<ul>
|
||||
<li><strong><%= Site::PLAN_FEATURES[:supporter][:space].to_space_pretty %></strong> storage</li>
|
||||
<li><strong><%= (Site::PLAN_FEATURES[:supporter][:space] / (10**6)).to_comma_separated %> MB</strong> storage</li>
|
||||
<li><strong><%= Site::PLAN_FEATURES[:supporter][:bandwidth].to_space_pretty %></strong> bandwidth</li>
|
||||
</ul>
|
||||
<ul>
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
<style>
|
||||
h3 { margin-top: 20px; }
|
||||
</style>
|
||||
|
||||
<div class="header-Outro">
|
||||
<div class="row content single-Col">
|
||||
<h1>Alternate Payment Options</h1>
|
||||
<h3 class="subtitle">Not everyone has a credit card, so we support many different types of payment.</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content single-Col misc-page txt-Center">
|
||||
<article>
|
||||
<section>
|
||||
<h2>PayPal</h2>
|
||||
<p>For people that can't use a Credit Card, we support PayPal for supporter upgrades.</p>
|
||||
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
||||
<input type="hidden" name="cmd" value="_s-xclick">
|
||||
<input type="hidden" name="hosted_button_id" value="DFQBR5LNS3NW8">
|
||||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
||||
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
||||
</form>
|
||||
|
||||
<h2>The Bitcoin Lifer Plan</h2>
|
||||
<p>
|
||||
We don't have a good way to charge recurring with Bitcoin. So instead, we've put together the <strong>lifer plan</strong>. Basically, if you send us three years worth of supporter ($180USD), we'll never charge you again for the supporter upgrade, and you'll basically get it forever!
|
||||
</p>
|
||||
<p>Be sure to <a href="/contact">contact us</a> after sending with the transaction ID so we can confirm and upgrade your account.</p>
|
||||
|
||||
<p><img src="/img/bitcoin.png"></p>
|
||||
<p><b>1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T</b></p>
|
||||
|
||||
<h2>Gratipay:</h2>
|
||||
<script data-gratipay-username="neocities" src="//gttp.co/v1.js"></script>
|
||||
</section>
|
||||
</article>
|
||||
</div> <!-- end .content -->
|
30
views/plan/bitcoin.erb
Normal file
30
views/plan/bitcoin.erb
Normal file
|
@ -0,0 +1,30 @@
|
|||
<style>
|
||||
h3 { margin-top: 20px; }
|
||||
</style>
|
||||
|
||||
<div class="header-Outro">
|
||||
<div class="row content single-Col">
|
||||
<h1>Bitcoin</h1>
|
||||
<h3 class="subtitle">Yes, Neocities accepts Bitcoin!</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content single-Col misc-page txt-Center">
|
||||
<article>
|
||||
<section>
|
||||
<h2>The Bitcoin Homesteader Plan</h2>
|
||||
|
||||
<p>
|
||||
We don't have a good way to charge recurring with Bitcoin (that adheres to Bitcoin's decentralized principles). So instead, we've put together a <strong>lifer plan</strong>. Basically, if you send us <strong>$50</strong> worth of BTC, we'll never charge you again for the supporter upgrade, and you'll basically get it forever!
|
||||
</p>
|
||||
<p>Be sure to <a href="/contact">contact us</a> after sending with the transaction ID so we can confirm and upgrade your account.</p>
|
||||
|
||||
<p>
|
||||
We don't cash out the Bitcoin. Many of our providers accept Bitcoin, and we use it to pay them.
|
||||
</p>
|
||||
|
||||
<p><img src="/img/bitcoin.png"></p>
|
||||
<p><b>1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T</b></p>
|
||||
</section>
|
||||
</article>
|
||||
</div> <!-- end .content -->
|
|
@ -96,7 +96,7 @@
|
|||
<a href="/" class="btn-Action" onclick="$('#upgradeForm').submit(); return false">
|
||||
Upgrade for $<%= Site::PLAN_FEATURES[:supporter][:price] %>/mo
|
||||
</a>
|
||||
or pay with <a href="/plan/alternate/">PayPal</a> or <a href="/plan/alternate/">Bitcoin</a>
|
||||
or pay with <strong><a href="/plan/paypal">PayPal</a></strong> or <strong><a href="/plan/bitcoin">Bitcoin</a></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue