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

ENH: add support for discounts #321

Open
wants to merge 2 commits into
base: original
Choose a base branch
from
Open

ENH: add support for discounts #321

wants to merge 2 commits into from

Commits on Jun 6, 2017

  1. ENH: add support for discounts

    ENH: add apply discount to discount model
    
    ENH: add discount migration
    
    BUG: fix discount key error when no discount exists
    
    BUG: convert start and end of discount to tstamps
    
    BUG: fix coupon fetch for discount creation
    
    BUG: remove stripe_id and created_at from Discount
    
    BUG: make discount relationships one to one
    
    BUG: migration reflection of discount one to one fields
    
    BUG: do not apply discount if end is in the past
    
    BUG: change coupon to foreign key on discount
    
    BUG: pass customer obj to discount creation instead of stripe customer
    
    BUG: update the same discount on sync since there can be only one per customer and sub
    
    CLN: bump discount migration up one since 7 is taken in upstream
    
    CLN: delete older discount migration
    
    BUG: discount migration dependent on coupon migration
    
    BUG: discount migration dependent on new 7th migration
    
    BUG: fix get or create logic for discount syncing
    
    ENH: add quantity to create customer
    otistamp committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    21da1b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5214117 View commit details
    Browse the repository at this point in the history