PATH:
home
/
letacommog
/
letaweb
/
protected
/
controllers
<?php // Controller for Paypal IPN Listener class IpnController extends PController { public $layout = 'column_checkout'; public function actionTest() { echo 'IPN listener testing'; } public function actionIndex() { $type = 'paypal'; if(isset($_GET['payment_type'])) $type = trim($_GET['payment_type']); //$type = trim($_GET['payment_type']); $payment = Yii::app()->payment->getModule($type); $payment->handleIPN(); } }
[+]
..
[-] PageController.php
[edit]
[-] IpnController.php
[edit]
[-] SiteController.php
[edit]