frontend/controllers/SiteController.php
/**
     * Processing of PayPal pays
     * Deprecated
     * @return mixed
     */
Processing of PayPal pays
Deprecated
@return mixed
Processing of PayPal pays Deprecated @return mixed
public function actionPaypal()
    {
        $model = new PaypalPaysCheck();
        $data[$model->formName()] = Yii::$app->request->get();
        if ($model->load($data)) {
            $model->checkPay();
        }
        return $this->redirect(['balance-info']);
    }
public function actionPaypal ( ) { $ model = new PaypalPaysCheck ( ) ; $ data [ $ model -> formName ( ) ] = Yii :: $ app -> request -> get ( ) ; if ( $ model -> load ( $ data ) ) { $ model -> checkPay ( ) ; } return $ this -> redirect ( [ 'balance-info' ] ) ; }
Processing of PayPal pays
 Deprecated
 @return mixed
Processing of PayPal pays Deprecated @return mixed
//http://dlink.frontend.home/site/paypal?status=success&paymentId=PAY-266001645D153860DK4RVIHY&token=EC-5XV99650DV184864S&PayerID=uniq //http://dlink.frontend.home/site/paypal?status=canceled&token=EC-5XV99650DV184864S