initial stripe checkout button that posts to staging

This commit is contained in:
Rimian Perkins 2017-01-30 12:35:04 +11:00
parent 2f37f25136
commit f6c9977c7a
4 changed files with 24 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -1 +1 @@
# choice-discourse
# CHOICE Discourse

View File

@ -0,0 +1,18 @@
<form action="https://staging.join.choice.community/consumer-defender">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_b8RmhzlL8QPizJRqOrKF3JEV"
data-name="CHOICE"
data-description="Consumer Defender"
data-image="https://cloud.githubusercontent.com/assets/64749/18696451/99eeb440-7ffc-11e6-8cab-905a8ea27fb6.png"
data-locale="auto"
data-zip-code="false"
data-currency="aud"
data-label="Become a Consumer Defender"
data-email="{{model.email}}"
data-amount="1000"
>
</script>
</form>

4
plugin.rb Normal file
View File

@ -0,0 +1,4 @@
# name: choice-plugin
# about: Integrating CHOICE with Discourse
# version: 0.0.1
# authors: Rimian Perkins