order number to display on status page

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48512

is it possible to have the order number to display on status page
IF so how and if not

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48559

What is the status page for you ? Could you do a screenshot maybe ?

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48596

would love too but the page does not say up long enough for a screen shot or to play with firebug

here is the work flow for it, check out with authorize.net plug... order accepted... on the page that loads after the payment saying it has been accepted I need the order number on that page,

this is a great product by the way, keep it up!!!!!!!!!

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48597

and if we could keep it up a few minutes longer that would be great

here is a the test site for the real site that is live

rmgsilver.partswench.com
goo ahead and register and then you will see a silver American eagle link on the top menu bar after registering and the gateway is in test mode so I hope that helps

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48663

To do that, you will have to modify the code of the file plugins/hikashoppayment/authorize_thankyou.php
You will find there the code displaying the message as well as the JS code for the redirection.

The order id will be in the variable: $vars

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48701

thanks so much for the help but where so I drop it in??





<?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');
?>
<div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou">
<span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message">
<?php echo JText::_('THANK_YOU_FOR_PURCHASE');
if(!empty($return_url)){
echo '<br/><a href="'.$return_url.'">'.JText::_('GO_BACK_TO_SHOP').'</a>';
}?>
</span>
</div>
<?php
if(!empty($return_url)){
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration("do_nothing( function() {window.location='".$return_url."'});");
}

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48739

you can add:
echo ' Order number: '.$vars;

after :
echo JText::_('THANK_YOU_FOR_PURCHASE');

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48760

got the code in and it works kind of but i think I made a mistake

it says order number but does not insert the order #

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');
?>
<div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou">
<span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message">
<?php echo JText::_('THANK_YOU_FOR_PURCHASE'); echo ' Order number: '.$vars;

if(!empty($return_url)){
echo '<br/><a href="'.$return_url.'">'.JText::_('GO_BACK_TO_SHOP').'</a>';
}?>
</span>
</div>
<?php
if(!empty($return_url)){
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration("do_nothing( function() {window.location='".$return_url."'});");
}

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48796

That sounds good. Maybe something else would be needed then. Are you using SIM or AIM ?

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48806

Using AIM

could it being in test mode have anything to do with it

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48809

With AIM, you'll have to do like that:
echo ' Order number: '.$order->order_number;

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

  • Posts: 19
  • Thank you received: 0
12 years 3 weeks ago #48814

that was it

thanks so much,

I have to say that I really appreciate you guys and your quick response and help

In the last month I have paid for way too many extensions, redshop being one of them and gotten no support or such a long time to get a question answered it was virtually no support.. this seem to be happening more and more in the J community


When you have a client breathing down your neck it does not help to wait for a week or two for an answer to a question like where is the language string file. I actually had this cost me a good client when it happened,

I will be back with more clients

thanks again and do you care if I suggest to joomlabamboo that they use you in one of their templates for development.. they are also wonderful

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

  • Posts: 81702
  • Thank you received: 13103
  • MODERATOR
12 years 3 weeks ago #48837

Help yourself. HikaShop works with any joomla template, but if some templates can have optimized CSS specifically for HikaShop, it will be even better !

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

Time to create page: 0.079 seconds
Powered by Kunena Forum