-- url of the page with the problem -- :
offeringsjewelry.com/
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.8
-- PHP version -- : 5.4
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : n/a
Hello,
I have read and followed the instructions for customizing the view to achieve a personalized Thank You page after checkout is completed. This is working on all of the payment methods (check / Authorize credit card) with the exception of Paypal. The Paypal page never loads - instead the Thank You page loads. If I delete my custom changes to the End Checkout View, then the Paypal payment page loads.
For this site, it is critical that the custom Thank You page loads because we have placed a module at the top of the Checkout page to encourage the sale of a product during that phase. If we use the default Thank You, the module populates those final Thank You pages and doesn't make sense to the user since they've already paid and passed that phase. So, we need the custom Thank You page so we can control the display of that product module.
Here is the code I used for the After End and End Checkout Views:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.3
* @author hikashop.com
* @copyright (C) 2010-2016 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('https://www.offeringsjewelry.com/thank-you');
Please note that if I only update either the End or the After End views with this code, the custom Thank You page doesn't load. I had to update both views for it to work. I used the same code on both. I'm sure I just need to add one line to make this work, but not being a PHP coder, I'm not sure what it is.
Thank you so much for your assistance.
Best,
Dawn