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.

316 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
8 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
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
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> Personal or Commercial use</li>
  59. <li class="list-group-item"><i class="fa fa-check"></i> Unlimited Checks</li>
  60. <li class="list-group-item"><i class="fa fa-check"></i> Unlimited Alerts</li>
  61. <li class="list-group-item">100 log entries per check</li>
  62. <li class="list-group-item">One User</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">Personal or Commercial use</li>
  92. <li class="list-group-item">Unlimited Checks</li>
  93. <li class="list-group-item">Unlimited Alerts</li>
  94. <li class="list-group-item">1000 log entries per check</li>
  95. <li class="list-group-item">Team Access</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 == "P75" %}
  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. <!-- P75 -->
  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>$75<span class="mo">/mo</span></p>
  129. </div>
  130. <ul class="list-group text-center">
  131. <li class="list-group-item">Personal or Commercial use</li>
  132. <li class="list-group-item">Unlimited Checks</li>
  133. <li class="list-group-item">Unlimited Alerts</li>
  134. <li class="list-group-item">1000 log entries per check</li>
  135. <li class="list-group-item">Team Access</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 == "P75" %}
  141. <button class="btn btn-lg btn-success disabled">
  142. Selected
  143. </button>
  144. {% else %}
  145. <button
  146. data-plan-id="P75"
  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 is the "log entries / check" number?</h2>
  196. <p>
  197. For each of your checks, healthchecks.io keeps a
  198. historic log of the received pings. The log can be useful
  199. for auditing past activity of your cron jobs.
  200. </p>
  201. <p>
  202. There is a per-check limit of how many log entries are
  203. kept. When this limit is reached, the oldest log entries
  204. are culled. You can increase the limit by upgrading to
  205. paid plans.
  206. </p>
  207. <h2>When is 100 log entries per check sufficient?</h2>
  208. <p>
  209. It depends on how frequently your cron job runs and
  210. for what time period you want to keep a log of received
  211. pings. For example, if your cron job runs once a week,
  212. then the 100 log entries will cover 2 years. On the other
  213. hand, if the cron job runs every 5 minutes, then the 100
  214. log entries will only cover 8 hours.
  215. </p>
  216. <h2>What's Team Access?</h2>
  217. <p>
  218. With Team Access enabled, you can "invite" your colleagues
  219. to your account. They will be able to access your checks,
  220. logs, and configured integrations.
  221. </p>
  222. <p>
  223. Team Access is more convenient and more secure than
  224. sharing a single login and password.
  225. </p>
  226. </div>
  227. </div>
  228. </div>
  229. </section>
  230. <div id="payment-method-modal" class="modal pm-modal">
  231. <div class="modal-dialog">
  232. <form method="post" action="{% url 'hc-create-plan' %}">
  233. {% csrf_token %}
  234. <input id="plan_id" type="hidden" name="plan_id" value="" />
  235. <div class="modal-content">
  236. <div class="modal-header">
  237. <button type="button" class="close" data-dismiss="modal">&times;</button>
  238. <h4>Set Up Subscription</h4>
  239. </div>
  240. <div class="modal-body">
  241. <div id="payment-form"></div>
  242. </div>
  243. <div class="modal-footer">
  244. <button type="button" class="btn btn-default" data-dismiss="modal">
  245. Cancel
  246. </button>
  247. <button type="submit" class="btn btn-primary">
  248. Set Up Subscription
  249. </button>
  250. </div>
  251. </div>
  252. </form>
  253. </div>
  254. </div>
  255. <div id="update-payment-method-modal" class="modal pm-modal">
  256. <div class="modal-dialog">
  257. <form method="post" action="{% url 'hc-update-payment-method' %}">
  258. {% csrf_token %}
  259. <div class="modal-content">
  260. <div class="modal-header">
  261. <button type="button" class="close" data-dismiss="modal">&times;</button>
  262. <h4>Your Payment Method</h4>
  263. </div>
  264. <div class="modal-body">
  265. <div id="update-payment-form"></div>
  266. </div>
  267. <div class="modal-footer">
  268. <button type="button" class="btn btn-default" data-dismiss="modal">
  269. Cancel
  270. </button>
  271. <button type="submit" class="btn btn-primary">
  272. Confirm Payment Method
  273. </button>
  274. </div>
  275. </div>
  276. </form>
  277. </div>
  278. </div>
  279. {% endblock %}
  280. {% block scripts %}
  281. <script src="https://js.braintreegateway.com/v2/braintree.js"></script>
  282. {% compress js %}
  283. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  284. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  285. <script src="{% static 'js/pricing.js' %}"></script>
  286. {% endcompress %}
  287. {% endblock %}