Subversion-Projekte lars-tiefland.ci

Revision

Revision 698 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

/**
 *
 * @package WebanOS CI
 * @author Lars Tiefland <ltiefland@gmail.com> 
 * @copyright 2016
 * @version $Rev: 699 $
 */

require_once "module/creditcard/paypal_express.php";
//require_once "module/creditcard/paypal.php";
require_once "module/creditcard/paypalPlus.php";

class Paypal extends CI_Controller
{
        public function GetExpressCheckoutDetails()
        {
                if ($_GET["mode"])
                {
                        if ($_GET["mode"] == "paypal")
                        {
                                //$cc = new paypal();
                        }
                        elseif ($_GET["mode"] == "paypalplus")
                        {
                                $cc = new paypalplus();
                        }
                }
                else
                {
                        $cc = new paypal_express();
                }

                $cc->getCustomerData();
        }
}

?>