1
0
Fork 0
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:
Josh Pigford 2024-10-08 15:19:23 -05:00
parent 31f3ff6a16
commit 9263dd3bbe

View file

@ -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
}) })