Skip to content

Allow promotion_code in promotion_code when creating a checkout session.#49

Merged
confact merged 1 commit intoconfact:masterfrom
gdotdesign:master
Apr 26, 2022
Merged

Allow promotion_code in promotion_code when creating a checkout session.#49
confact merged 1 commit intoconfact:masterfrom
gdotdesign:master

Conversation

@gdotdesign
Copy link
Contributor

The checkout session supports promotion_code for the discount https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts this PR adds it to the create method.

I'll be working with promotion codes, so there might be more PRs coming.

@confact
Copy link
Owner

confact commented Apr 26, 2022

@gdotdesign looks good to me. thanks!

@confact confact merged commit 6cde51e into confact:master Apr 26, 2022
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.

2 participants