Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

added support for promotion codes #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

gannonh
Copy link

@gannonh gannonh commented Mar 15, 2023

In order to support promotion codes, Stripe requires that you set allow_promotion_codes: true when instantiating a checkout session. I made that change and nothing else. Confirmed that the Stripe portal now includes a promotion codes box when checking out.

@RyanTippsTX
Copy link

Much needed! i hope this gets merged

@mtliendo
Copy link

mtliendo commented Jul 25, 2023

Instead of this being hardcoded to true, it should be based on a user prop. It looks like it can be added as a prop as a featureArg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants