@@ 429-433 (lines=5) @@ | ||
426 | $errorCode = $e->getCode(); |
|
427 | $orderStatus = $errorMessage = $e->getMessage(); |
|
428 | } |
|
429 | } else { |
|
430 | $errorType = PaymentAbstract::CONFIRM_ERROR_TYPE_PERMANENT; |
|
431 | $errorCode = PaymentAbstract::ERROR_CONFIRM_INVALID_POST_PARAMETERS; |
|
432 | $orderStatus = $errorMessage = __('mobilpay.ro posted invalid parameters'); |
|
433 | } |
|
434 | } else { |
|
435 | $errorType = PaymentAbstract::CONFIRM_ERROR_TYPE_PERMANENT; |
|
436 | $errorCode = PaymentAbstract::ERROR_CONFIRM_INVALID_POST_METHOD; |
|
@@ 434-438 (lines=5) @@ | ||
431 | $errorCode = PaymentAbstract::ERROR_CONFIRM_INVALID_POST_PARAMETERS; |
|
432 | $orderStatus = $errorMessage = __('mobilpay.ro posted invalid parameters'); |
|
433 | } |
|
434 | } else { |
|
435 | $errorType = PaymentAbstract::CONFIRM_ERROR_TYPE_PERMANENT; |
|
436 | $errorCode = PaymentAbstract::ERROR_CONFIRM_INVALID_POST_METHOD; |
|
437 | $orderStatus = $errorMessage = __('invalid request method for payment confirmation'); |
|
438 | } |
|
439 | ||
440 | header('Content-type: application/xml'); |
|
441 | echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; |