Subversion-Projekte lars-tiefland.ci

Revision

Revision 699 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
697 lars 1
<?php
2
 
3
/**
4
 *
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com>
7
 * @copyright 2016
8
 * @version $Rev: 699 $
9
 */
10
 
698 lars 11
require_once "module/creditcard/paypal_express.php";
699 lars 12
//require_once "module/creditcard/paypal.php";
698 lars 13
require_once "module/creditcard/paypalPlus.php";
14
 
697 lars 15
class Paypal extends CI_Controller
16
{
17
	public function GetExpressCheckoutDetails()
18
	{
698 lars 19
		if ($_GET["mode"])
20
		{
21
			if ($_GET["mode"] == "paypal")
22
			{
699 lars 23
				//$cc = new paypal();
698 lars 24
			}
25
			elseif ($_GET["mode"] == "paypalplus")
26
			{
27
				$cc = new paypalplus();
28
			}
29
		}
30
		else
31
		{
32
			$cc = new paypal_express();
33
		}
34
 
35
		$cc->getCustomerData();
697 lars 36
	}
37
}
38
 
39
?>