Skip to content

Bug invoice generation #392 #240

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

Merged
merged 3 commits into from
Nov 3, 2014
Merged

Bug invoice generation #392 #240

merged 3 commits into from
Nov 3, 2014

Conversation

YaroSpace
Copy link
Contributor

Bounty: (BUG: Invoice generation fails for paid teams) [https://assembly.com/coderwall/bounties/392]

Problem: mail template rendering was failing due to undefined method for Nil.... This was happening because of trying to access fields in Stripe response which were not available (due to API change?)

Changes:

  • dev env: added turnip and selenium driver.
  • added flash error if invoice generation is unsuccessful
  • extracted some code from mail template into AccountsHelper
  • removed redundant subscription_mailer/team_upgrade.text.erb template
  • added Fabricators for :plan, :account, :team
  • covered with specs and features

just3ws added a commit that referenced this pull request Nov 3, 2014
@just3ws just3ws merged commit 8f45d3a into coderwall:master Nov 3, 2014
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