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. All Rights Reserved