예제 #1
0
 /**
  * Return additional information`s transaction_id value of parent transaction model
  *
  * @param \Magento\Sales\Model\Order\Payment $payment
  * @return string
  */
 protected function _getRealParentTransactionId($payment)
 {
     $transaction = $payment->getTransaction($payment->getParentTransactionId());
     return $transaction->getAdditionalInformation($this->_realTransactionIdKey);
 }
예제 #2
0
 /**
  * Return additional information`s transaction_id value of parent transaction model
  *
  * @param \Magento\Sales\Model\Order\Payment $payment
  * @return string
  */
 protected function getRealParentTransactionId($payment)
 {
     $transaction = $payment->getTransaction($payment->getParentTransactionId());
     return $transaction->getAdditionalInformation(self::REAL_TRANSACTION_ID_KEY);
 }