donation description

This commit is contained in:
Rimian Perkins 2017-03-14 13:31:20 +11:00
parent 954674dc37
commit 261c0dfbcc
3 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ module DiscourseDonations
charge = Stripe::Charge.create(
:customer => customer.id,
:amount => params[:amount],
:description => 'Consumer Defender',
:description => SiteSetting.discourse_donations_description,
:currency => currency
)

View File

@ -6,6 +6,9 @@ plugins:
client: false
discourse_donations_public_key:
client: true
discourse_donations_description:
client: true
default: 'Donation'
discourse_donations_currency:
client: true
default: 'USD'

View File

@ -1,6 +1,6 @@
# name: discourse-donations
# about: Integrating Discourse with Stripe for donations
# version: 1.9.2
# version: 1.9.3
# url: https://github.com/choiceaustralia/discourse-donations
# authors: Rimian Perkins