mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 01:01:30 +02:00
Code to display tips submitted on news feed
This commit is contained in:
parent
621e45b6a2
commit
cc07e90b44
11 changed files with 131 additions and 12 deletions
|
@ -7,6 +7,10 @@
|
|||
<input type="hidden" name="no_note" value="0">
|
||||
<input type="hidden" name="currency_code" value="USD">
|
||||
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
|
||||
<input type="hidden" name="notify_url" value="https://neocities.org/webhooks/paypal/tipping_notify">
|
||||
<input type="hidden" name="cancel_return" value="<%= request.url %>">
|
||||
<input type="hidden" name="return" value="<%= request.url %>">
|
||||
<input type="hidden" name="custom" value="<%= Base64.strict_encode64({site_id: site.id, actioning_site_id: (current_site ? current_site.id : nil)}.to_json) %>">
|
||||
<a href="#" onclick="parentNode.submit()">Credit Card</a>
|
||||
<br>
|
||||
<a href="#" onclick="parentNode.submit()">PayPal</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue