Merge pull request #106 from Gluejar/notice_for_wrong_number
[#41908015] 'incorrect_number' and 'processing_error' error should also ...pull/1/head
commit
79b594e6ce
|
@ -659,7 +659,7 @@ class Processor(baseprocessor.Processor):
|
||||||
|
|
||||||
# fire off the fact that transaction failed -- should actually do so only if not a transient error
|
# fire off the fact that transaction failed -- should actually do so only if not a transient error
|
||||||
# if card_declined or expired card, ask user to update account
|
# if card_declined or expired card, ask user to update account
|
||||||
if e.code in ('card_declined', 'expired_card'):
|
if e.code in ('card_declined', 'expired_card', 'incorrect_number', 'processing_error'):
|
||||||
transaction_failed.send(sender=self, transaction=transaction)
|
transaction_failed.send(sender=self, transaction=transaction)
|
||||||
# otherwise, report exception to us
|
# otherwise, report exception to us
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue