Пример #1
0
 /**
  * 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()]));
 }
Пример #2
0
 /**
  * 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']]));
 }
Пример #3
0
 /**
  * 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()]));
 }