catalog/includes/modules/payment/sage_pay_direct.php 1 location
|
@@ 524-530 (lines=7) @@
|
521 |
|
HTTP::redirect($sage_pay_response['PayPalRedirectURL']); |
522 |
|
} |
523 |
|
|
524 |
|
if ( ($sage_pay_response['Status'] != 'OK') && ($sage_pay_response['Status'] != 'AUTHENTICATED') && ($sage_pay_response['Status'] != 'REGISTERED') ) { |
525 |
|
$this->sendDebugEmail($sage_pay_response); |
526 |
|
|
527 |
|
$error = $this->getErrorMessageNumber($sage_pay_response['StatusDetail']); |
528 |
|
|
529 |
|
OSCOM::redirect('checkout_payment.php', 'payment_error=' . $this->code . (tep_not_null($error) ? '&error=' . $error : '')); |
530 |
|
} |
531 |
|
} |
532 |
|
|
533 |
|
function after_process() { |
catalog/includes/modules/payment/sage_pay_form.php 1 location
|
@@ 232-238 (lines=7) @@
|
229 |
|
} |
230 |
|
} |
231 |
|
|
232 |
|
if ( ($sage_pay_response['Status'] != 'OK') && ($sage_pay_response['Status'] != 'AUTHENTICATED') && ($sage_pay_response['Status'] != 'REGISTERED') ) { |
233 |
|
$this->sendDebugEmail($sage_pay_response); |
234 |
|
|
235 |
|
$error = $this->getErrorMessageNumber($sage_pay_response['StatusDetail']); |
236 |
|
|
237 |
|
OSCOM::redirect('checkout_payment.php', 'payment_error=' . $this->code . (tep_not_null($error) ? '&error=' . $error : '')); |
238 |
|
} |
239 |
|
} else { |
240 |
|
OSCOM::redirect('checkout_payment.php', 'payment_error=' . $this->code); |
241 |
|
} |