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

Fix names of SubscriptionScheduleStatus constants #1274

Conversation

eschweinsberg
Copy link
Contributor

This PR updates the names of the SubscriptionScheduleStatusPastDue and SubscriptionScheduleStatusTrialing constants to match their underlying values. For some reason these are off, which caused some slight confusion when working with them.

@brandur-stripe
Copy link
Contributor

Doh, we just have missed this during review. Thank you @ees37, and sorry about the trouble.

@brandur-stripe brandur-stripe merged commit fc0def6 into stripe:master Apr 7, 2021
@brandur-stripe
Copy link
Contributor

I released this as a patch on v72.41.1 despite the fact that it's technically a breaking change because (1) the previous constants were totally misnamed, and (2) this feature is new enough that we probably haven't picked up a huge number of users on it yet. Made a note in the change log.

@eschweinsberg
Copy link
Contributor Author

thanks @brandur-stripe!

nadaismail-stripe added a commit that referenced this pull request Oct 18, 2024
* multi stripe account support (#1260)

* Temp commit

* Temp checkin to switch tracks

* We appear to be ready for config import but need another first-install run.

* add import modal

* Remove changes for actual config importer to limit scope to just the config manager

* Working to improve test coverage

* got test coverage up to 83 percent

* Initial commit with new API methods

* Trivial changes for delete account config

* Adding get all account configs api method

* Intermediate commit

* More changes to bring implementation closer to doc

* Update tooling to help find the issue

* bad import statements

* Init commit of using new composite key

* More refactors

* Migration to add default field to users

* Fix so that we budget for multiple returns, as sf acct id isn't a key anymore

* Just the migration script

* init commit custom field

* Rename Stripe_Account_ID__C.field-meta.xml to Stripe_Account_ID__c.field-meta.xml

* Changing label and adding to Order information

* Changing text field to more complex structure, not showing up in the UI

* Reworking a bit, testing out deploys

* Fixing feedback

* [Multi Stripe Account] Modifying order poller (#1251)

* Adding a simple statement to the soql query

* Adding constant and using prefixed stripe field

* Update stripe_callback_handler to handle adding stripe accounts, and add provisional v2 connection statuses endpoint

* additional pieces needed for other updates

* Remove magic strings

* Added livemode to response key for status endpoint

* got initial connection loop working w/ minor bug to fix later

* Adding livemode fields to permission set, modifying order poller, adding constants

* Made things work, minimally

* Completed essential work for multi-stripe account support

* Improved test coverage: Org Wide Coverage    84%

* Account poller only polls the default user

* Fix missed debug enabling

* Add description for stripe id

* Added description to stripe account field on order.

* Button up multi-stripe account support

* Couple tweaks

* Added some nice git ignores

* Added more instructions to local dev testing

* bug bash fixes (#1265)

* bug bash fixes

* Added comments and soft delete instead of hard deleting users

* More pr feedback

* UI changes from bug bash

* Fix a bug rish was encountering

* Removed refs to connection status

* Added a comment

* Nada pr feedback

* Removing bad test

---------

Co-authored-by: Keshav Chakrapani <[email protected]>
Co-authored-by: keshavc-stripe <[email protected]>
Co-authored-by: Nada Ismail <[email protected]>

* Fixing the multi stripe account bug

* Fixing rubocop error

---------

Co-authored-by: jmather-c <[email protected]>
Co-authored-by: Nada Ismail <[email protected]>
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