Add credit card expiration date to the billing info screen

This commit is contained in:
Joseph Schorr 2014-05-22 16:52:51 -04:00
parent f4c488f9b6
commit a9a8105fbc
4 changed files with 30 additions and 1 deletions

View file

@ -36,7 +36,9 @@ def get_card(user):
card_info = {
'owner': default_card.name,
'type': default_card.type,
'last4': default_card.last4
'last4': default_card.last4,
'exp_month': default_card.exp_month,
'exp_year': default_card.exp_year
}
return {'card': card_info}