discourse-subscriptions/config/settings.yml

62 lines
1.5 KiB
YAML

plugins:
discourse_donations_enabled:
default: false
client: true
discourse_donations_secret_key:
default: 'YOUR STRIPE API SECRET'
client: false
discourse_donations_public_key:
default: 'YOUR STRIPE API KEY'
client: true
discourse_donations_enable_create_accounts:
client: true
default: false
discourse_donations_description:
client: true
default: 'Donation'
discourse_donations_shop_name:
client: true
default: 'Your shop name'
discourse_donations_currency:
client: true
default: 'USD'
discourse_donations_zip_code:
default: false
client: true
discourse_donations_billing_address:
default: true
client: true
discourse_donations_reward_badge_name:
client: false
default: 'Donation'
discourse_donations_reward_group_name:
client: false
default: 'Donation'
discourse_donations_page_description:
client: true
default: ''
discourse_donations_enable_transaction_fee:
client: true
default: false
discourse_donations_transaction_fee_fixed:
client: true
default: 0.3
discourse_donations_transaction_fee_percent:
client: true
default: 0.029
discourse_donations_amounts:
client: true
type: list
default: '1|2|5|10|20|50'
regex: "^[0-9\\|]+$"
regex_error: "site_settings.errors.discourse_donations_amount_must_be_number"
discourse_donations_types:
client: true
type: list
default: 'month|once'
choices:
- year
- month
- week
- once