/** * Get data for details * * @param $order * @param $payment * @param $options * @return string */ protected function details($order, $payment, $options) { unset($options); return $this->_crypt->encrypt('!QAWRRR$HU%W34tyh59yh544%', json_encode(['order_id' => $order->getId(), 'recovery_code' => $payment->getRecoveryCode()])); }
/** * Get data for details * * @param $order * @param $payment * @param $options * @return string */ protected function details($order, $payment, $options) { return $this->_crypt->encrypt('!QAWRRR$HU%W34tyh59yh544%', json_encode(['order_id' => $order->getId(), 'pagseguro_status' => $payment->getStatus(), 'pagseguro_id' => $payment->getCode(), 'needConciliate' => $options['conciliate']])); }
/** * Get data for details * * @param $order * @param $payment * @return string */ protected function details($order, $payment, $options = null) { unset($options); return $this->_crypt->encrypt('!QAWRRR$HU%W34tyh59yh544%', json_encode(['order_id' => $order->getId(), 'pagseguro_status' => $payment->getStatus(), 'pagseguro_id' => $payment->getCode()])); }