Commits

Christopher Young  committed 5ece010

Moving purchase form to account page and changing link on detail page to reflect that.

  • Participants
  • Parent commits 3e2087d

Comments (0)

Files changed (2)

File renters/templates/renters/renter_account.html

 </div><!--status -->
 {% endblock status %}
 
+<h2>Purchase</h2>
+
+<p>After we have processed your payment, we will extend your membership. Please note that there may be a delay of a few days between payment and account renewal.</p>
+
+<p>
+<br />
+<br />
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+<input type="hidden" name="cmd" value="_s-xclick">
+<input type="hidden" name="hosted_button_id" value="77CQEXHYDBJ8W">
+<table>
+<tr><td><input type="hidden" name="on0" value=""></td></tr><tr><td><select name="os0">
+	<option value="4 Flex Slots per month">4 Flex Slots per month : $80.00USD - monthly</option>
+	<option value="8 Flex Slots per month">8 Flex Slots per month : $160.00USD - monthly</option>
+	<option value="12 Flex Slots per month">12 Flex Slots per month : $240.00USD - monthly</option>
+</select> </td></tr>
+</table>
+<input type="hidden" name="currency_code" value="USD">
+<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>
+
+</p>
+
+
 
 <h2>Account Settings and Information</h2>
 

File renters/templates/renters/renter_detail.html

 
 <p>You have {{ available_credits }} rental{{ available_credits|pluralize }} left in the month of {{ the_date|date:"F" }} ({{ the_date|date:"Y" }}).</p>
 
-<p>You can purchase more time slots <a href="/renter/purchase/">here</a>.</p>
+<p>You can purchase more time slots <a href="{% url renter_account user.username %}">here</a>.</p>
 
 <div id="day-view-time-slots">