Skip to content

Commit c9b6b75

Browse files
authored
Merge pull request #716 from gruntwork-io/apt-1754-stripe-checkout
Switch to Stripe checkout
2 parents 20fe6a8 + 27d3184 commit c9b6b75

File tree

6 files changed

+212
-166
lines changed

6 files changed

+212
-166
lines changed

_data/pricing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ subscriptions:
66
standard:
77
name: Standard
88
users: 20
9-
checkout_url: /checkout/?subscription-type=standard
9+
checkout_url: /checkout
1010
price:
1111
label: "795"
1212
value: 795

_data/products.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
AWS:
2+
key: standard_subscription
3+
stripeProductId: prod_KoYQEu6on7Pmwi
4+
ProSupport:
5+
key: pro_support
6+
stripeProductId: prod_FpWhWaePaAvZ4q
7+
RefArch:
8+
key: setup_deployment
9+
stripeProductId: prod_KoYHGWV1pdG2Bv
10+
CIS:
11+
key: setup_compliance
12+
stripeProductId: prod_KoYXgbgz6RIfvN
13+
Users:
14+
key: standard_users
15+
stripeProductId: prod_KoYJ9bAynPjS3I

_includes/scripts.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script>
22
window.pricing = {{ site.data.pricing | jsonify }}
3+
window.products = {{ site.data.products | jsonify }}
34
</script>
45
<script src="{{ site.assets_base_url }}js/main.js"></script>
56
{% if page.custom_js %} {% for js_file in page.custom_js %}

0 commit comments

Comments
 (0)