I'm trying the same as the user to complete the purchase redirect you to a page. I used the code @Javier
$ App = JFactory :: getApplication ();
$ App-> redirect ( 'http://test.net/test/test);
but this does not work. As is actually written?, my knowledge of php are rather scarce.
This is how it looks now
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$app = JFactory::getApplication();
$ App-> redirect ( 'http://test.net/test/fin-de-compra');
help me plis.