mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 06:09:38 +02:00
Allow promo codes in checkout
This commit is contained in:
parent
31f3ff6a16
commit
9263dd3bbe
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ class SubscriptionsController < ApplicationController
|
||||||
quantity: 1
|
quantity: 1
|
||||||
} ],
|
} ],
|
||||||
mode: "subscription",
|
mode: "subscription",
|
||||||
|
allow_promotion_codes: true,
|
||||||
success_url: settings_billing_url,
|
success_url: settings_billing_url,
|
||||||
cancel_url: settings_billing_url
|
cancel_url: settings_billing_url
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue