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.

313 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. </ul>
  64. <div class="panel-footer">
  65. {% if request.user.is_authenticated %}
  66. {% if sub.subscription_id %}
  67. <form method="post" action="{% url 'hc-cancel-plan' %}">
  68. {% csrf_token %}
  69. <button type="submit" class="btn btn-lg btn-default">
  70. Switch To Free
  71. </button>
  72. </form>
  73. {% else %}
  74. <a class="btn btn-lg btn-success disabled" href="#">Selected</a>
  75. {% endif %}
  76. {% else %}
  77. <a class="btn btn-lg btn-success" href="{% url 'hc-login' %}">Get Started</a>
  78. {% endif %}
  79. </div>
  80. </div>
  81. </div>
  82. <!-- /item -->
  83. <!-- P5 -->
  84. <div class="col-sm-4 text-center">
  85. <div class="panel panel-default panel-pricing">
  86. <div class="panel-body text-center">
  87. <p>$5<span class="mo">/mo</span></p>
  88. </div>
  89. <ul class="list-group text-center">
  90. <li class="list-group-item">Personal or Commercial use</li>
  91. <li class="list-group-item">Unlimited Checks</li>
  92. <li class="list-group-item">Unlimited Alerts</li>
  93. <li class="list-group-item">1000 log entries per check</li>
  94. <li class="list-group-item">Team Access</li>
  95. </ul>
  96. <div class="panel-footer">
  97. {% if request.user.is_authenticated %}
  98. {% if sub.plan_id == "P5" %}
  99. <button class="btn btn-lg btn-success disabled">
  100. Selected
  101. </button>
  102. {% else %}
  103. <button
  104. data-plan-id="P5"
  105. class="btn btn-lg btn-default btn-create-payment-method">
  106. {% if sub.plan_id == "P20" %}
  107. Switch to $5/mo
  108. {% else %}
  109. Upgrade your Account
  110. {% endif %}
  111. </button>
  112. {% endif %}
  113. {% else %}
  114. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  115. Get Started
  116. </a>
  117. {% endif %}
  118. </div>
  119. </div>
  120. </div>
  121. <!-- /item -->
  122. <!-- P20 -->
  123. <div class="col-sm-4 text-center">
  124. <div class="panel panel-default panel-pricing">
  125. <div class="panel-body text-center">
  126. <p>$20<span class="mo">/mo</span></p>
  127. </div>
  128. <ul class="list-group text-center">
  129. <li class="list-group-item">Personal or Commercial use</li>
  130. <li class="list-group-item">Unlimited Checks</li>
  131. <li class="list-group-item">Unlimited Alerts</li>
  132. <li class="list-group-item">10'000 log entries per check</li>
  133. <li class="list-group-item">Team Access</li>
  134. </ul>
  135. <div class="panel-footer">
  136. {% if request.user.is_authenticated %}
  137. {% if sub.plan_id == "P20" %}
  138. <button class="btn btn-lg btn-success disabled">
  139. Selected
  140. </button>
  141. {% else %}
  142. <button
  143. data-plan-id="P20"
  144. class="btn btn-lg btn-default btn-create-payment-method">
  145. Upgrade Your Account
  146. </button>
  147. {% endif %}
  148. {% else %}
  149. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  150. Get Started
  151. </a>
  152. {% endif %}
  153. </div>
  154. </div>
  155. </div>
  156. <!-- /item -->
  157. </div>
  158. </div>
  159. </section>
  160. <!-- /Plans -->
  161. <section id="faq">
  162. <div class="container">
  163. <div class="row">
  164. <div class="col-sm-6">
  165. <h1>Billing Questions</h1>
  166. <h2>What payment methods do you accept?</h2>
  167. <p>
  168. We accept Visa, Master Card and PayPal.
  169. </p>
  170. <h2>Will my credit card data be safe?</h2>
  171. <p>
  172. We process payments using
  173. <a href="https://braintreepayments.com">Braintree</a>,
  174. a division of PayPal. Your credit card or PayPal
  175. credentials are never directly handled by or
  176. stored on healthchecks.io servers.
  177. </p>
  178. <p>
  179. Braintree is a validated Level 1 PCI DSS Compliant
  180. Service Provider, it is on Visa's Global Compliant
  181. Provider List and MasterCard's SDP List.
  182. <a href="https://www.braintreepayments.com/products-and-features/data-security">Read more…</a>
  183. </p>
  184. <h2>If I cancel my paid plan, do I get a refund?</h2>
  185. <p>
  186. You can easily cancel your subscription at any time, but
  187. no refunds are provided for prorated periods.
  188. </p>
  189. </div>
  190. <div class="col-sm-6">
  191. <h1>Premium Features</h1>
  192. <h2>What is the "log entries / check" number?</h2>
  193. <p>
  194. For each of your checks, healthchecks.io keeps a
  195. historic log of the received pings. The log can be useful
  196. for auditing past activity of your cron jobs.
  197. </p>
  198. <p>
  199. There is a per-check limit of how many log entries are
  200. kept. When this limit is reached, the oldest log entries
  201. are culled. You can increase the limit by upgrading to
  202. paid plans.
  203. </p>
  204. <h2>When is 100 log entries per check sufficient?</h2>
  205. <p>
  206. It depends on how frequently your cron job runs and
  207. for what time period you want to keep a log of received
  208. pings. For example, if your cron job runs once a week,
  209. then the 100 log entries will cover 2 years. On the other
  210. hand, if the cron job runs every 5 minutes, then the 100
  211. log entries will only cover 8 hours.
  212. </p>
  213. <h2>What's Team Access?</h2>
  214. <p>
  215. With Team Access enabled, you can "invite" your colleagues
  216. to your account. They will be able to access your checks,
  217. logs, and configured integrations.
  218. </p>
  219. <p>
  220. Team Access is more convenient and more secure than
  221. sharing a single login and password.
  222. </p>
  223. </div>
  224. </div>
  225. </div>
  226. </section>
  227. <div id="payment-method-modal" class="modal pm-modal">
  228. <div class="modal-dialog">
  229. <form method="post" action="{% url 'hc-create-plan' %}">
  230. {% csrf_token %}
  231. <input id="plan_id" type="hidden" name="plan_id" value="" />
  232. <div class="modal-content">
  233. <div class="modal-header">
  234. <button type="button" class="close" data-dismiss="modal">&times;</button>
  235. <h4>Set Up Subscription</h4>
  236. </div>
  237. <div class="modal-body">
  238. <div id="payment-form"></div>
  239. </div>
  240. <div class="modal-footer">
  241. <button type="button" class="btn btn-default" data-dismiss="modal">
  242. Cancel
  243. </button>
  244. <button type="submit" class="btn btn-primary">
  245. Set Up Subscription
  246. </button>
  247. </div>
  248. </div>
  249. </form>
  250. </div>
  251. </div>
  252. <div id="update-payment-method-modal" class="modal pm-modal">
  253. <div class="modal-dialog">
  254. <form method="post" action="{% url 'hc-update-payment-method' %}">
  255. {% csrf_token %}
  256. <div class="modal-content">
  257. <div class="modal-header">
  258. <button type="button" class="close" data-dismiss="modal">&times;</button>
  259. <h4>Your Payment Method</h4>
  260. </div>
  261. <div class="modal-body">
  262. <div id="update-payment-form"></div>
  263. </div>
  264. <div class="modal-footer">
  265. <button type="button" class="btn btn-default" data-dismiss="modal">
  266. Cancel
  267. </button>
  268. <button type="submit" class="btn btn-primary">
  269. Confirm Payment Method
  270. </button>
  271. </div>
  272. </div>
  273. </form>
  274. </div>
  275. </div>
  276. {% endblock %}
  277. {% block scripts %}
  278. <script src="https://js.braintreegateway.com/v2/braintree.js"></script>
  279. {% compress js %}
  280. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  281. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  282. <script src="{% static 'js/pricing.js' %}"></script>
  283. {% endcompress %}
  284. {% endblock %}