| 1 | <% @header [("title", ["Confirm application"])]; |
| 2 | |
| 3 | val id = Web.stoi ($"id"); |
| 4 | val passwd = $"p"; |
| 5 | |
| 6 | if App.confirm (id, passwd) then |
| 7 | %><h3><strong>Confirmation successful</strong></h3> |
| 8 | <p>You should hear from us within a few days (usually at most 48 hours).</p> |
| 9 | |
| 10 | <h3>Authorize Us To Charge You With PayPal</h3> |
| 11 | |
| 12 | <p>If you'd like, you can authorize us to charge your initial dues |
| 13 | using Paypal now. This will place a hold on your Paypal account which |
| 14 | is automatically released after 30 days, and will be released |
| 15 | immediately if we reject your application for some reason. You can |
| 16 | also pay your initial dues after we have approved your application. </p> |
| 17 | |
| 18 | <p>You are only required to send $10 for your initial balance, but you |
| 19 | may send as much as you'd like. You must either use a verified |
| 20 | Paypal account, or use a credit card with a confirmed address.</p> |
| 21 | |
| 22 | <form method="GET" action="https://www.paypal.com/cgi-bin/webscr"> |
| 23 | <input type="hidden" name="cmd" value="_xclick" /> |
| 24 | <input type="hidden" name="business" value="payment@hcoop.net" /> |
| 25 | <input type="hidden" name="paymentaction" value="authorization" /> |
| 26 | <input type="hidden" name="item_name" value="New Member payment authorization for <% App.appUserName id %>" /></label> |
| 27 | <label>Amount $<input id="paypalDues" type="text" name="amount" pattern="^\\d+\\.\\d\\d$" required="required" size="7" value="10.00" /></label> |
| 28 | <input type="image" src="https://www.paypalobjects.com/webstatic/en_US/btn/btn_buynow_pp_142x27.png" style="vertical-align: middle" /> |
| 29 | </form> |
| 30 | |
| 31 | <% |
| 32 | else |
| 33 | %><h3><b>Error confirming</b></h3> |
| 34 | Did you already follow this confirmation link?<% |
| 35 | end; |
| 36 | |
| 37 | @footer[] %> |