#Overview
KISO Stripe Payments is configured via an initializer in your
config/initializers
folder. Here are the available configuration options: Configuration Option | Description |
---|---|
layout | The layout name to use. Defaults to application |
stripe_secret_key | Your Stripe secret key, preferably referenced from an Environment variable |
stripe_publishable_key | Your Stripe publishable key, preferably referenced from an Environment variable |
stripe_charge_description | |
stripe_webhook_signing_secret | The Stripe Webhook signing secret supplied on the Stripe Dashboard |
stripe_webhook_handler | Defaults to KisoStripePayments::StripeWebhookHandler |
stripe_api_version | |
transactions_owned_by | The model which should own the Stripe transactions model |
stripe_customer_owned_by | The model which should own the Stripe customer model |
admin_authenticator | A proc which is used to evaluate if admin access should be granted. |
guid_generator | Defaults to SecureRandom.uuid |
default_currency | The default currency to use. The initial value is USD |
default_currency_symbol | The default currency symbol to use. The initial value is $ |
charge_signer_secret_key | The secret key to use when signing charges, preferably referenced from an Environment variable |
transactions_per_page | How many transactions per page displayed in the Admin sections |
event_dispatcher | |
admin_email | |
admin_email_from | |
admin_email_subject_prefix | |
site_name | |
collect_card_up_front | Defaults to false |
trial_days | Defaults to 14 |
subscription_button_text | Defaults to Get Started → |
subscription_owner_creation_path | Defaults to /sign_up |
prorate_subscription_changes | Defaults to true |
post_subscription_success_path | Defaults to /dashboard |
post_subscription_failure_path | Defaults to /sign_up |
post_subscription_deletion_path | |
post_subscription_update_path | |
logger | Allows you to replace the default logger object with one of your own |