Subversion-Projekte lars-tiefland.ci

Revision

Revision 756 | Revision 1995 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 756 Revision 1993
Zeile 12... Zeile 12...
12
 * Prüfung der einzelnen Formularfelder
12
 * Prüfung der einzelnen Formularfelder
13
 * 
13
 * 
14
 * @package WebanOS CI
14
 * @package WebanOS CI
15
 * @author Lars Tiefland
15
 * @author Lars Tiefland
16
 * @copyright 2016
16
 * @copyright 2016
17
 * @version $Id: Order.php 746 2016-10-06 20:48:09Z lars $
17
 * @version $Id: Order.php 1993 2017-01-31 19:51:36Z lars $
18
 * @access public
18
 * @access public
19
 */
19
 */
20
class Order extends CI_Controller
20
class Order extends CI_Controller
21
{
21
{
22
	/**
22
	/**
Zeile 208... Zeile 208...
208
							$c = new paypalPlus();
208
							$c = new paypalPlus();
209
							$apporvalUrl = $c->getCreditcardStatus(null);
209
							$apporvalUrl = $c->getCreditcardStatus(null);
210
							$this->smarty->assign("paymentMethods", $payPal3rdParty);
210
							$this->smarty->assign("paymentMethods", $payPal3rdParty);
211
							$this->smarty->assign("approvalUrl", $apporvalUrl);
211
							$this->smarty->assign("approvalUrl", $apporvalUrl);
212
						}
212
						}
213
						if (strtolower($vItem["short_line_1"]) == "paypal" || strtolower($vItem["short_line_1"]) ==
-
 
214
							"ratenzahlung")
-
 
215
						{
-
 
216
							if ($GLOBALS["INI"]["paypal"]["usesApi"] == 1)
-
 
217
							{
-
 
218
								require_once "module/creditcard/paypal.php";
-
 
219
								$c = new paypal();
-
 
220
								$c->getCreditcardStatus(null);
-
 
221
								//
-
 
222
							}
-
 
223
						}
-
 
224
					}
213
					}
225
				}
214
				}
226
				break;
215
				break;
227
			case "Versand":
216
			case "Versand":
-
 
217
				if (strtolower($vItem["short_line_1"]) == "paypal" || strtolower($vItem["short_line_1"]) ==
-
 
218
					"ratenzahlung")
-
 
219
				{
-
 
220
					if ($GLOBALS["INI"]["paypal"]["usesApi"] == 1)
-
 
221
					{
-
 
222
						require_once "module/creditcard/paypal.php";
-
 
223
						$c = new paypal();
-
 
224
						$c->getCreditcardStatus(null);
-
 
225
						//
-
 
226
					}
-
 
227
				}
228
				break;
228
				break;
229
			case "execute":
229
			case "execute":
230
				if ($this->form_validation->run('execute') === false)
230
				if ($this->form_validation->run('execute') === false)
231
				{
231
				{
232
					$step = 2;
232
					$step = 2;