mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-08 07:12:46 +00:00
donation description
This commit is contained in:
parent
954674dc37
commit
261c0dfbcc
@ -18,7 +18,7 @@ module DiscourseDonations
|
|||||||
charge = Stripe::Charge.create(
|
charge = Stripe::Charge.create(
|
||||||
:customer => customer.id,
|
:customer => customer.id,
|
||||||
:amount => params[:amount],
|
:amount => params[:amount],
|
||||||
:description => 'Consumer Defender',
|
:description => SiteSetting.discourse_donations_description,
|
||||||
:currency => currency
|
:currency => currency
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,6 +6,9 @@ plugins:
|
|||||||
client: false
|
client: false
|
||||||
discourse_donations_public_key:
|
discourse_donations_public_key:
|
||||||
client: true
|
client: true
|
||||||
|
discourse_donations_description:
|
||||||
|
client: true
|
||||||
|
default: 'Donation'
|
||||||
discourse_donations_currency:
|
discourse_donations_currency:
|
||||||
client: true
|
client: true
|
||||||
default: 'USD'
|
default: 'USD'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# name: discourse-donations
|
# name: discourse-donations
|
||||||
# about: Integrating Discourse with Stripe for donations
|
# about: Integrating Discourse with Stripe for donations
|
||||||
# version: 1.9.2
|
# version: 1.9.3
|
||||||
# url: https://github.com/choiceaustralia/discourse-donations
|
# url: https://github.com/choiceaustralia/discourse-donations
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user