Merge pull request #106 from Gluejar/notice_for_wrong_number

[#41908015] 'incorrect_number' and 'processing_error' error should also ...
pull/1/head
eshellman 2013-01-03 12:35:03 -08:00
commit 79b594e6ce
1 changed files with 1 additions and 1 deletions

View File

@ -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
# 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)
# otherwise, report exception to us
else: