protected function prepareOrderPayment($requestOrderPayment)
    {
        $request = $this->getRequest();

        $requestOrderPayment->setStatus($request->getRequestParameter(self::PAYPAL_PAYMENT_STATUS));
        $requestOrderPayment->setTransactionId($request->getRequestParameter(self::PAYPAL_TRANSACTION_ID));
        $requestOrderPayment->setCurrency($request->getRequestParameter(self::MC_CURRENCY));
        $requestOrderPayment->setAmount($this->getAmount());
        $requestOrderPayment->setAction($this->getAction());

        $correlationId = $request->getRequestParameter(self::CORRELATION_ID);
        if (!$correlationId) {
            $correlationId = $request->getRequestParameter(self::IPN_TRACK_ID);
        }
        $requestOrderPayment->setCorrelationId($correlationId);

        $date = 0 < strlen($request->getRequestParameter(self::PAYMENT_DATE)) ?
                date('Y-m-d H:i:s', strtotime($request->getRequestParameter(self::PAYMENT_DATE))) : null;
        $requestOrderPayment->setDate($date);
    }