Skip to content

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

Merged
joshsmith merged 1 commit intodevelopfrom
project-can-activate-donations
Jan 15, 2017
Merged

Project has can-activate-donations on its view#631
joshsmith merged 1 commit intodevelopfrom
project-can-activate-donations

Conversation

@joshsmith
Copy link
Contributor

What's in this PR?

Closes #630.

@joshsmith joshsmith added this to the Launch Donations milestone Jan 15, 2017
@joshsmith joshsmith force-pushed the project-can-activate-donations branch from eb8a619 to 0d4b64c Compare January 15, 2017 02:00
- `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.

2 participants