Пример #1
0
 public function paypalipnAction()
 {
     if (isset($_POST)) {
         $this->setSmartyOutput(false);
         require_once FE_DIR . '/lib/payment/paypal.php';
         $objPayPal = new PAYPAL();
         $objPayment == $objPayPal->checkAndvalidateIPN();
         if (false == $objPayment) {
             return false;
         }
     } else {
         $this->redirectTo('index', 'index');
     }
 }