-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[UBP ] Allow users to apply promotion codes for coupons in the UBP payment form #12341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm -- according to the Stripe docs, it seems that promotion codes can only be added in a "checkout" flow, which we don't use (we only use a "setup" flow, where you add your credit card details, and your subscription is then created automatically by Gitpod behind the scenes). I think that's why, even though we do allow Stripe users to use promotion codes: there doesn't seem to be any way in the Stripe customer portal to add a promotion code to your existing subscription: I think we may need to have some custom UI to apply coupon codes, maybe. 🤔 |
According to https://stripe.com/docs/billing/subscriptions/coupons#promotion-codes
|
More research reveals that promotion codes cannot be used in the Stripe Portal in our case customers can only cancel their subscriptions. See https://stripe.com/docs/customer-management/get-started#limitations This means that the promo code would have to be entered earlier, when first setting up the subscription. |
@jldec Could it help if we added a functionality to Add funds (balance) to the billing and use a promo code there? To clarify, the initial idea of the proposal of this issue was to allow users to add funds (balance) but with a discounted price or no price at all, not apply a discounted rate or something. |
Thanks for the suggestion @gtsiolis This issue is specifically to enable self-service use of Stripe promo codes by extending our payment form. We need all the nice coupon features built into Stripe e.g. expirations, and single-use There's a separate issue to extend our credits model with our own coupon-like behavior, which would allow Gitpod or 3rd parties to grant credits, and maybe your suggested approach would make sense for that. |
@gtsiolis I updated the issue title and description to reflect this new information. |
Thanks, @jldec ! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Uh oh!
There was an error while loading. Please reload this page.
Problem to solve
Some Gitpod programs will use Stripe coupons with predefined discounts and expirations.
Entering these coupons manually (by Gitpod admins) is doable through the Stripe dashboard, but it would be better if this were self-serve, and users could perform this actions on their own while setting up their billing account in Gitpod.
Unfortunately, Stripe promotion codes cannot be used in the Stripe self-service Portal in our case. Customers can only use the portal to cancel (not modify) their subscriptions. See https://stripe.com/docs/customer-management/get-started#limitations
This suggests that we need to extend our payment configuration form to accept promo codes on initial configuration.
See investigation in comments below, and discussion (internal).
An ideal solution would be one where a promo-code could be applied not just during the initial signup, but also later once the subscription is active.
The text was updated successfully, but these errors were encountered: