KISO Docs

Engine Configuration

#Overview

KISO Stripe Payments is configured via an initializer in your config/initializers folder. Here are the available configuration options:
Configuration OptionDescription
layoutThe layout name to use. Defaults to application
stripe_secret_keyYour Stripe secret key, preferably referenced from an Environment variable
stripe_publishable_keyYour Stripe publishable key, preferably referenced from an Environment variable
stripe_charge_description
stripe_webhook_signing_secretThe Stripe Webhook signing secret supplied on the Stripe Dashboard
stripe_webhook_handlerDefaults to KisoStripePayments::StripeWebhookHandler
stripe_api_version
transactions_owned_byThe model which should own the Stripe transactions model
stripe_customer_owned_byThe model which should own the Stripe customer model
admin_authenticatorA proc which is used to evaluate if admin access should be granted.
guid_generatorDefaults to SecureRandom.uuid
default_currencyThe default currency to use. The initial value is USD
default_currency_symbolThe default currency symbol to use. The initial value is $
charge_signer_secret_keyThe secret key to use when signing charges, preferably referenced from an Environment variable
transactions_per_pageHow 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_frontDefaults to false
trial_daysDefaults to 14
subscription_button_textDefaults to Get Started →
subscription_owner_creation_pathDefaults to /sign_up
prorate_subscription_changesDefaults to true
post_subscription_success_pathDefaults to /dashboard
post_subscription_failure_pathDefaults to /sign_up
post_subscription_deletion_path
post_subscription_update_path
loggerAllows you to replace the default logger object with one of your own
Contents