Skip to content

Commit

Permalink
add payment variant to set_card_token
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jun 8, 2020
1 parent 4d3a848 commit a0f5639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payments/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def get_renew_token(self):
"""
raise NotImplementedError()

def set_renew_token(self, token, card_expire_year=None, card_expire_month=None):
def set_renew_token(self, token, variant, card_expire_year=None, card_expire_month=None):
"""
Store the recurring payments renew token for user of this payment
The renew token is string defined by the provider
Expand Down

0 comments on commit a0f5639

Please sign in to comment.