Add credit card expiration date to the billing info screen
This commit is contained in:
parent
f4c488f9b6
commit
a9a8105fbc
4 changed files with 30 additions and 1 deletions
|
@ -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}
|
||||
|
|
Reference in a new issue