thank you page needs to stay up longer

  • Posts: 19
  • Thank you received: 0
12 years 6 months ago #49279

Is there any way to make the thank you page stay available for viewing longer ? the client needs to get the order number off of this page since a call center is using the cart not the customer

using authorize.net AIM

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
12 years 6 months ago #49336

posted in wrong section, moved to the HOW to section

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 6 months ago #49355

Why not just remove the URL in the "return URL" option of the authorize.net plugin's options screen ? That will remove the redirection and the user will have all the time he wants to get the order number of that page.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
12 years 6 months ago #49364

removed the re-direct to the page but still stays up for just a second but the cool thing is that it does go to the thank you page now

I tried slipping the order number in that code but get this error message on the page

Notice: Undefined variable: vars in /home/parts/public_html/rmgsilver/templates/gk_twn2/html/com_hikashop/checkout/after_end.php on line 13
Order number:

here is what i did

<?php
/**
* @package HikaShop for Joomla!
* @version 1.5.7
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<?php
$app =& JFactory::getApplication();
$app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );echo ' Order number: '.$vars;

as usual you guys rock

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 6 months ago #49365

There, you should use $this->order->order_number instead of $vars

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
12 years 6 months ago #49383

got it Nickolas thanks again

Please Log in or Create an account to join the conversation.

Time to create page: 0.038 seconds
Powered by Kunena Forum