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

Project has can-activate-donations on its view #631

Merged
merged 1 commit into from
Jan 15, 2017

Conversation

joshsmith
Copy link
Contributor

What's in this PR?

Closes #630.

- `Organization` with a `StripeConnectAccount`, in production env, which
has `charges_enabled: true` and `transfers_enabled: true`
- `Organization` with a `StripeConnectAccount` and
`transfers_enabled: true`, not in production env
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure what my original reasoning was for this (I was the one originally implementing the validator), but I'm not seeing the benefits in splitting up the environments here.

I think it may have just been for easier manual testing, so I'm considering it might be a good idea to just ditch the check for the correct environment.

It should just be

  • Organization with a StripeConnectAccount, which has charges_enabled: true and transfers_enabled: true

I would remove the method on line 38 and update the documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@begedin I think it's because charges_enabled is always true in some environments? Not sure.

@joshsmith joshsmith force-pushed the project-can-activate-donations branch from 0d4b64c to 9724296 Compare January 15, 2017 02:11
@joshsmith joshsmith merged commit be9cf3d into develop Jan 15, 2017
@joshsmith joshsmith deleted the project-can-activate-donations branch January 15, 2017 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants