示例#1
0
 /**
  * Execute the Api Callback operation.
  *
  * @return  mixed  RApi object with information on success, boolean false on failure.
  */
 public function apiCallback()
 {
     $app = JFactory::getApplication();
     $this->getPayment();
     $logData = array();
     $logData['status'] = RApiPaymentStatus::getStatusUndefined();
     // This method can process data from payment request more if needed
     $app->triggerEvent('onRedpaymentRequestCallback', array($this->paymentName, $this->extensionName, $this->ownerName, $this->requestData, &$logData));
     $this->outputData = $logData;
     return $this;
 }