#12363 - save atos orders with error payment codes 12 and 17
This commit is contained in:
parent
7999a69a65
commit
6407dc5158
@ -103,25 +103,33 @@ else
|
||||
$message .= '<span style="color: red;">'.$atos->l('Merchand ID is not valid').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 5:
|
||||
$message .= '<span style="color: red;">'.$atos->l('Bank has rejected payment').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 12:
|
||||
case 17:
|
||||
die;
|
||||
$message .= '<span style="color: red;">'.$atos->l('Bank has rejected payment (error code 12/17)').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 30:
|
||||
$message .= '<span style="color: red;">'.$atos->l('Format error').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 34:
|
||||
$message .= '<span style="color: red;">'.$atos->l('Bank said that transaction might be fraudulous').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 75:
|
||||
$message .= '<span style="color: red;">'.$atos->l('Customer has exceeded max tries for its card number').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
break;
|
||||
|
||||
case 90:
|
||||
$message .= '<span style="color: red;">'.$atos->l('Bank server was unavailable').'</span>'."\n";
|
||||
$order_state = _PS_OS_ERROR_;
|
||||
|
Loading…
Reference in New Issue
Block a user