Error Message on Checking out

06.11.2011 11:53
#1
GaryWilliams2011
Joomshopping forum user no avatar
Name: Gary Williams
31.07.2011
Posts: 4
Quote
Error Message on Checking out

Hi All,

When clicking on the link to go from the cart to checkout, I get this error message:

PHP Parse error: syntax error, unexpected '?' in D:\websites\angie\components\com_jshopping\controllers\checkout.php on line 368

Line 368 is this line "$cart->setPayment<?php"

$paym_method->setCart($cart);
$cart->setPaymentId($payment_method_id);
$cart->setPaymentPrice($paym_method->getPrice());
$cart->setPaymentTax($paym_method->calculateTax());
$cart->setPaymentTaxPercent($paym_method->getTax());

if (isset($params[$payment_method])) {
$cart->setPayment<?php
/**
* @version 2.9.2 19.07.2011
* @author MAXXmarketing GmbH
* @package Jshopping
* @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved.
* @license GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.controller');
include_once(JPATH_COMPONENT_SITE."/payments/payment.php");

Any idea how to fix this?

Regards

Gary

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.