Skip to content
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

Add missing constant for payment_behavior #1249

Merged
merged 2 commits into from
Mar 10, 2022

Conversation

LeonMelis
Copy link
Contributor

For subscriptions, there is also payment_behavior=default_incomplete, of which the constant was missing.

See: https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_behavior
And: https://stripe.com/docs/api/subscriptions/update#update_subscription-payment_behavior

Also note that the API documentation could really use some improving here. The difference between 'default_incomplete' and 'allow_incomplete' in the scope of updating subscriptions is unclear to me.

@CLAassistant
Copy link

CLAassistant commented Mar 8, 2022

CLA assistant check
All committers have signed the CLA.

@remi-stripe remi-stripe self-assigned this Mar 9, 2022
@remi-stripe
Copy link
Contributor

@LeonMelis Thanks a lot for catching and submitting a PR. Can I ask you to order the constant alphabetically with the other 3? It should go after PAYMENT_BEHAVIOR_ALLOW_INCOMPLETE instead

Place constants in alphabetical order
@LeonMelis
Copy link
Contributor Author

Sure. It should now be in alphabetical order

@richardm-stripe richardm-stripe merged commit 2a5f3ec into stripe:master Mar 10, 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.

None yet

4 participants