Skip to content

Add checkout promotion code and UI params#16

Open
mbokinala wants to merge 1 commit intoget-convex:masterfrom
mbokinala:add-checkout-params
Open

Add checkout promotion code and UI params#16
mbokinala wants to merge 1 commit intoget-convex:masterfrom
mbokinala:add-checkout-params

Conversation

@mbokinala
Copy link

This PR adds the allow_promotion_codes and ui_mode params to StripeSubscriptions.createCheckoutSession().

This PR resolves #15.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@someguy9
Copy link

Hoping this gets added

@d-stoll
Copy link

d-stoll commented Jan 19, 2026

Wouldnt it make sense to support the full stripe API for creating checkout sessions?

@josefmay
Copy link

josefmay commented Feb 7, 2026

When can this get added?

Comment on lines +163 to +164
allow_promotion_codes?: boolean
ui_mode?: "custom" | "embedded" | "hosted"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should format the parameters name to match the others

@changsongtai
Copy link

Would really appreciate the promotion code option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow ui_mode for createCheckoutSession

5 participants