You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

319 lines
13 KiB

10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. {% extends "base.html" %}
  2. {% load staticfiles compress %}
  3. {% block title %}Pricing - It's Free! - healthchecks.io{% endblock %}
  4. {% block content %}
  5. <!-- Plans -->
  6. <section id="plans">
  7. <div class="container">
  8. {% if messages %}
  9. <div class="alert alert-danger">
  10. <p>
  11. <strong>We're sorry!</strong> There was a problem setting
  12. up the subscription. Response from payment gateway:</p>
  13. {% for message in messages %}
  14. <p class="error-message">{{ message }}</p>
  15. {% endfor %}
  16. </div>
  17. {% endif %}
  18. {% if sub.plan_id %}
  19. <div class="row">
  20. <div class="col-md-12">
  21. <div id="subscription-status" class="jumbotron">
  22. <p>
  23. {% if first_charge %}
  24. Success! You just paid ${{ sub.price }}.
  25. {% else %}
  26. You are currently paying ${{ sub.price }}/month
  27. {% if sub.pm_is_credit_card %}
  28. using {{ sub.card_type }} card
  29. ending with {{ sub.last_4 }}.
  30. {% endif %}
  31. {% if sub.pm_is_paypal %}
  32. using PayPal account
  33. {{ sub.paypal_email }}.
  34. {% endif %}
  35. {% endif %}
  36. </p>
  37. <p>Thank you for supporting healthchecks.io!</p>
  38. <p>
  39. <a class="btn btn-default" href="{% url 'hc-billing' %}">See Billing History</a>
  40. {% if not first_charge %}
  41. <button class="btn btn-default btn-update-payment-method">
  42. Change Payment Method
  43. </button>
  44. {% endif %}
  45. </p>
  46. </div>
  47. </div>
  48. </div>
  49. {% endif %}
  50. <div class="row">
  51. <!-- Free -->
  52. <div class="col-sm-4 text-center">
  53. <div class="panel panel-default panel-pricing">
  54. <div class="panel-body text-center free">
  55. <p>free</p>
  56. </div>
  57. <ul class="list-group text-center">
  58. <li class="list-group-item"><i class="fa fa-check"></i> 20 Checks</li>
  59. <li class="list-group-item">100 log entries per check</li>
  60. <li class="list-group-item"><i class="fa fa-check"></i> Personal or Commercial use</li>
  61. <li class="list-group-item">3 Team Members</li>
  62. <li class="list-group-item">&nbsp;</li>
  63. <li class="list-group-item">&nbsp;</li>
  64. </ul>
  65. <div class="panel-footer">
  66. {% if request.user.is_authenticated %}
  67. {% if sub.subscription_id %}
  68. <form method="post" action="{% url 'hc-cancel-plan' %}">
  69. {% csrf_token %}
  70. <button type="submit" class="btn btn-lg btn-default">
  71. Switch To Free
  72. </button>
  73. </form>
  74. {% else %}
  75. <a class="btn btn-lg btn-success disabled" href="#">Selected</a>
  76. {% endif %}
  77. {% else %}
  78. <a class="btn btn-lg btn-success" href="{% url 'hc-login' %}">Get Started</a>
  79. {% endif %}
  80. </div>
  81. </div>
  82. </div>
  83. <!-- /item -->
  84. <!-- P5 -->
  85. <div class="col-sm-4 text-center">
  86. <div class="panel panel-default panel-pricing">
  87. <div class="panel-body text-center">
  88. <p>$5<span class="mo">/mo</span></p>
  89. </div>
  90. <ul class="list-group text-center">
  91. <li class="list-group-item">Unlimited Checks</li>
  92. <li class="list-group-item">1000 log entries per check</li>
  93. <li class="list-group-item">Personal or Commercial use</li>
  94. <li class="list-group-item">10 Team Members</li>
  95. <li class="list-group-item">50 SMS alerts per month</li>
  96. <li class="list-group-item">Email Support</li>
  97. </ul>
  98. <div class="panel-footer">
  99. {% if request.user.is_authenticated %}
  100. {% if sub.plan_id == "P5" %}
  101. <button class="btn btn-lg btn-success disabled">
  102. Selected
  103. </button>
  104. {% else %}
  105. <button
  106. data-plan-id="P5"
  107. class="btn btn-lg btn-default btn-create-payment-method">
  108. {% if sub.plan_id == "P50" %}
  109. Switch to $5/mo
  110. {% else %}
  111. Upgrade your Account
  112. {% endif %}
  113. </button>
  114. {% endif %}
  115. {% else %}
  116. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  117. Get Started
  118. </a>
  119. {% endif %}
  120. </div>
  121. </div>
  122. </div>
  123. <!-- /item -->
  124. <!-- P50 -->
  125. <div class="col-sm-4 text-center">
  126. <div class="panel panel-default panel-pricing">
  127. <div class="panel-body text-center">
  128. <p>$50<span class="mo">/mo</span></p>
  129. </div>
  130. <ul class="list-group text-center">
  131. <li class="list-group-item">Unlimited Checks</li>
  132. <li class="list-group-item">1000 log entries per check</li>
  133. <li class="list-group-item">Personal or Commercial use</li>
  134. <li class="list-group-item">Unlimited Team Members</li>
  135. <li class="list-group-item">500 SMS alerts per month</li>
  136. <li class="list-group-item">Priority Email Support</li>
  137. </ul>
  138. <div class="panel-footer">
  139. {% if request.user.is_authenticated %}
  140. {% if sub.plan_id == "P50" %}
  141. <button class="btn btn-lg btn-success disabled">
  142. Selected
  143. </button>
  144. {% else %}
  145. <button
  146. data-plan-id="P50"
  147. class="btn btn-lg btn-default btn-create-payment-method">
  148. Upgrade Your Account
  149. </button>
  150. {% endif %}
  151. {% else %}
  152. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  153. Get Started
  154. </a>
  155. {% endif %}
  156. </div>
  157. </div>
  158. </div>
  159. <!-- /item -->
  160. </div>
  161. </div>
  162. </section>
  163. <!-- /Plans -->
  164. <section id="faq">
  165. <div class="container">
  166. <div class="row">
  167. <div class="col-sm-6">
  168. <h1>Billing Questions</h1>
  169. <h2>What payment methods do you accept?</h2>
  170. <p>
  171. We accept Visa, Master Card and PayPal.
  172. </p>
  173. <h2>Will my credit card data be safe?</h2>
  174. <p>
  175. We process payments using
  176. <a href="https://braintreepayments.com">Braintree</a>,
  177. a division of PayPal. Your credit card or PayPal
  178. credentials are never directly handled by or
  179. stored on healthchecks.io servers.
  180. </p>
  181. <p>
  182. Braintree is a validated Level 1 PCI DSS Compliant
  183. Service Provider, it is on Visa's Global Compliant
  184. Provider List and MasterCard's SDP List.
  185. <a href="https://www.braintreepayments.com/products-and-features/data-security">Read more…</a>
  186. </p>
  187. <h2>If I cancel my paid plan, do I get a refund?</h2>
  188. <p>
  189. You can easily cancel your subscription at any time, but
  190. no refunds are provided for prorated periods.
  191. </p>
  192. </div>
  193. <div class="col-sm-6">
  194. <h1>Premium Features</h1>
  195. <h2>What's "3 / 10 / Unlimited Team Members"?</h2>
  196. <p>
  197. Invite your colleagues
  198. to your account so they can access your checks,
  199. logs, and configured integrations. Inviting team members
  200. is <strong>more convenient and more secure</strong>
  201. than sharing a single login and password.
  202. </p>
  203. <p>
  204. Each plan has a specific team size limit. When you reach
  205. the limit, you cannot invite more team members.
  206. </p>
  207. <h2>What is the "log entries per check" number?</h2>
  208. <p>
  209. For each of your checks, healthchecks.io keeps a
  210. historic log of the received pings. The log can be useful
  211. for auditing past activity of your cron jobs.
  212. </p>
  213. <p>
  214. There is a per-check limit of how many log entries are
  215. kept. When this limit is reached, the oldest log entries
  216. are culled. You can increase the limit by upgrading to
  217. paid plans.
  218. </p>
  219. <h2>When is 100 log entries per check sufficient?</h2>
  220. <p>
  221. It depends on how frequently your cron job runs and
  222. for what time period you want to keep a log of received
  223. pings. For example, if your cron job runs once a week,
  224. then the 100 log entries will cover 2 years. On the other
  225. hand, if the cron job runs every 5 minutes, then the 100
  226. log entries will only cover 8 hours.
  227. </p>
  228. </div>
  229. </div>
  230. </div>
  231. </section>
  232. <div id="payment-method-modal" class="modal pm-modal">
  233. <div class="modal-dialog">
  234. <form method="post" action="{% url 'hc-create-plan' %}">
  235. {% csrf_token %}
  236. <input id="plan_id" type="hidden" name="plan_id" value="" />
  237. <div class="modal-content">
  238. <div class="modal-header">
  239. <button type="button" class="close" data-dismiss="modal">&times;</button>
  240. <h4>Set Up Subscription</h4>
  241. </div>
  242. <div class="modal-body">
  243. <div id="payment-form"></div>
  244. </div>
  245. <div class="modal-footer">
  246. <button type="button" class="btn btn-default" data-dismiss="modal">
  247. Cancel
  248. </button>
  249. <button type="submit" class="btn btn-primary">
  250. Set Up Subscription
  251. </button>
  252. </div>
  253. </div>
  254. </form>
  255. </div>
  256. </div>
  257. <div id="update-payment-method-modal" class="modal pm-modal">
  258. <div class="modal-dialog">
  259. <form method="post" action="{% url 'hc-update-payment-method' %}">
  260. {% csrf_token %}
  261. <div class="modal-content">
  262. <div class="modal-header">
  263. <button type="button" class="close" data-dismiss="modal">&times;</button>
  264. <h4>Your Payment Method</h4>
  265. </div>
  266. <div class="modal-body">
  267. <div id="update-payment-form"></div>
  268. </div>
  269. <div class="modal-footer">
  270. <button type="button" class="btn btn-default" data-dismiss="modal">
  271. Cancel
  272. </button>
  273. <button type="submit" class="btn btn-primary">
  274. Confirm Payment Method
  275. </button>
  276. </div>
  277. </div>
  278. </form>
  279. </div>
  280. </div>
  281. {% endblock %}
  282. {% block scripts %}
  283. <script src="https://js.braintreegateway.com/v2/braintree.js"></script>
  284. {% compress js %}
  285. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  286. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  287. <script src="{% static 'js/pricing.js' %}"></script>
  288. {% endcompress %}
  289. {% endblock %}