diff --git a/README.md b/README.md
index 714e846..cc31d9a 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,10 @@ Visit `/patrons`
## Testing
+Test with these credit card numbers:
+
+* 4111 1111 1111 1111
+
## Warranty
This software comes without warranties or conditions of any kind.
diff --git a/assets/javascripts/discourse/templates/patrons/index.hbs b/assets/javascripts/discourse/templates/patrons/index.hbs
index 2c7eff0..d3796d7 100644
--- a/assets/javascripts/discourse/templates/patrons/index.hbs
+++ b/assets/javascripts/discourse/templates/patrons/index.hbs
@@ -2,7 +2,7 @@
- {{cook-text siteSettings.discourse_patrons_page_description}}
+ {{cook-text siteSettings.discourse_patrons_payment_page}}
diff --git a/assets/javascripts/discourse/templates/patrons/show.hbs b/assets/javascripts/discourse/templates/patrons/show.hbs
index a133b77..b2192df 100644
--- a/assets/javascripts/discourse/templates/patrons/show.hbs
+++ b/assets/javascripts/discourse/templates/patrons/show.hbs
@@ -1,3 +1,7 @@
-show
+
{{i18n 'discourse_patrons.title' site_name=siteSettings.title}}
+
+
+ {{cook-text siteSettings.discourse_patrons_success_page}}
+
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index dd952fe..6ee4830 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3,26 +3,24 @@ en:
discourse_patrons_enabled: "Enable the Discourse Patrons plugin."
discourse_patrons_secret_key: "Stripe Secret Key"
discourse_patrons_public_key: "Stripe Public Key"
- discourse_patrons_description: "Description shown in Stripe Checkout form"
discourse_patrons_currency: "Currency Code"
discourse_patrons_zip_code: "Show Zip Code"
discourse_patrons_billing_address: "Collect billing address"
+ discourse_patrons_payment_page: "Text to be added to enter payments page. Markdown is supported."
+ discourse_patrons_success_page: "Text to be added to success page. Markdown is supported."
discourse_patrons_reward_badge_name: "Grant this badge to user when a payment is successful"
- discourse_patrons_reward_group_name: "Add the user to this group when a payment is successful"
- discourse_patrons_page_description: "Text to be added to /patrons page. Markdown is supported."
errors:
discourse_patrons_amount_must_be_currency: "Currency amounts must be currencies (eg 1.50)"
-
js:
discourse_patrons:
nav_item: Payment
title: "Make a Payment"
- amount: Amount
+ amount: Amount $
card: Card
your_information: Your information
payment_information: Credit card information
- submit: Make payment
- confirm: Confirm payment
+ submit: Make payment $
+ confirm: Confirm payment $
invoice: "invoice"
invoice_prefix: "You gave"
receipt: "Receipt sent to {{email}}."
diff --git a/config/settings.yml b/config/settings.yml
index c917ca5..7ed54bd 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -7,7 +7,10 @@ plugins:
discourse_patrons_secret_key:
default: ''
client: false
- discourse_patrons_description:
+ discourse_patrons_payment_page:
+ client: true
+ default: ''
+ discourse_patrons_success_page:
client: true
default: ''
discourse_patrons_amounts: