mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Billing (#1269)
* Change env SELF_HOSTING_ENABLED to SELF_HOSTED * Initial Stripe implementation * Fix portal link * Use webhook signatures * Migrated to new Stripe gem conventions Also updated resource routing * Added faraday-multipart gem to resolve middleware notice * Merge fix * Merge fix * Temporary upgrade prompt for early access * Lint fix * i18n fixes * Remove catch-all rescue * Update .env.example
This commit is contained in:
parent
41dff228e8
commit
31f3ff6a16
27 changed files with 225 additions and 12 deletions
2
app/helpers/settings/billing_helper.rb
Normal file
2
app/helpers/settings/billing_helper.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
module Settings::BillingHelper
|
||||
end
|
|
@ -3,6 +3,7 @@ module SettingsHelper
|
|||
{ name: I18n.t("settings.nav.profile_label"), path: :settings_profile_path },
|
||||
{ name: I18n.t("settings.nav.preferences_label"), path: :settings_preferences_path },
|
||||
{ name: I18n.t("settings.nav.self_hosting_label"), path: :settings_hosting_path, condition: :self_hosted? },
|
||||
{ name: I18n.t("settings.nav.billing_label"), path: :settings_billing_path },
|
||||
{ name: I18n.t("settings.nav.accounts_label"), path: :accounts_path },
|
||||
{ name: I18n.t("settings.nav.tags_label"), path: :tags_path },
|
||||
{ name: I18n.t("settings.nav.categories_label"), path: :categories_path },
|
||||
|
|
2
app/helpers/subscription_helper.rb
Normal file
2
app/helpers/subscription_helper.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
module SubscriptionHelper
|
||||
end
|
2
app/helpers/webhooks_helper.rb
Normal file
2
app/helpers/webhooks_helper.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
module WebhooksHelper
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue