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
} ],
mode: "subscription",
allow_promotion_codes: true,
success_url: settings_billing_url,
cancel_url: settings_billing_url
})