diff --git a/localstripe/resources.py b/localstripe/resources.py index b979671..dc8d450 100644 --- a/localstripe/resources.py +++ b/localstripe/resources.py @@ -2278,16 +2278,19 @@ def __init__(self, id=None, customer=None, type=None, def _requires_authentication(self): if self.type == 'card': + print("##### _requires_authentication:") if self._card_number is not None: + print("##### self._card_number:", self._card_number) return self._card_number in ('4000002500003155', '4000002760003184', '4000008260003178', '4000000000003220', '4000000000003063', '4000008400001629') - if self.token is not None: - return self.token in ( - 'tok_visa_chargeDeclinedInsufficientFunds') + # if self.token is not None: + # print("##### self.token:", self.token) + # return self.token in ( + # 'tok_visa_chargeDeclinedInsufficientFunds') return False def _attaching_is_declined(self):