News:

Support the VirtueMart project and become a member

Main Menu

Thank you page not showing

Started by hupple, December 12, 2012, 16:29:39 PM

Previous topic - Next topic

hupple

Hello,

My Thank You page is not showing after payment. (virtuemart 2.0 - joomla1.5) Everything works fine until I get redirected by Multisafepay to a blank page.
I only see our template logo but no text. I do get a invoice etc...
At first I thought it had something to do with the SSL certificate. But after purchase and correct install. It still doesn't work.
I just use the basic layout of virtuemart. I don't seem to find a file called checkout.thankyou.tpl.php .
I wonder if this is a virtuemart issue or a issue caused by multisafepay.
Can anyone help me out.


[attachment cleanup by admin]

alatak

Hello

It is probably a multisafepay issue. You should contact the developer.

hupple

This is the page source:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl-be" lang="nl-be" >
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <base href="https://hupple.com/index.php" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="hupple, dierenvoeding, hondensnacks, Manuel Goossens, Wat een hondenleven, hondeneten, hondenkoekjes, hondenkoeken, cream biscuits, Petit trainer, crock trainer, biscuit boxen, puppy mix, marrow mix, English mix, Lamb &amp; Rice, Softy Mix, hot dog, dog bag, Good Idea, hondenvoeding, hondenlekkernij, kookboek, hondenleven, dogwash, giftbox, Belgisch merk, huppel, display, care producten hond, tanddoekje hond, tanddoek hond, hond, honden, partnershop, hond hilton, tussendoortje, hupple catamaran, hondenaccessoires, horecabox, hondenwashandje, washandje, hondenverzorgingsproducten, hondenoogdoekje, hondenoogdoek, honden dental care, honden tandenverzorging, ondernemer, jong ondernemer," />
  <meta name="description" content="hupple | Belgisch topmerk dat dag na dag zorgt voor een fantastisch hondenleven.  Heerlijke &amp; gezonde hondenkoekjes, verzorgingsproducten en accessoires voor je lieve viervoeter!" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>hupple</title>
  <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <link rel="stylesheet" href="/components/com_virtuemart/assets/css/facebox.css" type="text/css" />
  <link rel="stylesheet" href="/components/com_virtuemart/assets/css/vmsite-ltr.css" type="text/css" />
  <link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/jquery.noConflict.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/facebox.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/vmprices.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/modal.js"></script>
  <script type="text/javascript">
vmSiteurl = 'https://hupple.com/'; ;
vmLang = '&amp;lang=en' ;
vmCartText = ' was added to your cart.' ;
vmCartError = 'There was an error while updating your cart.' ;
loadingImage = '/components/com_virtuemart/assets/images/facebox/loading.gif' ;
closeImage = '/components/com_virtuemart/assets/images/facebox/closelabel.png' ;
Virtuemart.addtocart_popup = '1' ;
faceboxHtml = '<div id="facebox" style="display:none;"><div class="popup"><div class="content"></div> <a href="#" class="close"></a></div></div>'  ;

      window.addEvent('domready', function() {

         SqueezeBox.initialize({});

         $$('a.modal').each(function(el) {
            el.addEvent('click', function(e) {
               new Event(e).stop();
               SqueezeBox.fromElement(el);
            });
         });
      });
  </script>

<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="/templates/hupple0410/css/template.css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="/templates/hupple0410/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="/templates/hupple0410/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
<script type="text/javascript" src="/templates/hupple0410/script.js"></script>


</script>
</head>
<body>
<div id="art-main">
<div class="art-sheet">
    <div class="art-sheet-body">
<div class="art-header">
    <div class="art-header-jpeg"></div>

</div>


<div class="art-content-layout">
    <div class="art-content-layout-row">


<div class="art-layout-cell art-content-wide">

<div class="art-post">
          <div class="art-post-body">
      <div class="art-post-inner">
      
            <div class="art-postcontent">
          <!-- article-content -->
      
      <h3></h3>
          <!-- /article-content -->
      </div>
      <div class="cleared"></div>
      
      
      </div>
      
            <div class="cleared"></div>
          </div>
      </div>
      

</div>

    </div>
</div>
<div class="cleared"></div>


<div class="art-footer">
<div class="art-footer-inner">
  <div class="art-footer-text">
      </div>
</div>
<div class="art-footer-background"></div>
</div>

      <div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"></p>

</div>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32480003-1']);
  _gaq.push(['_setDomainName', 'hupple.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

<div style="position:fixed;right:0;bottom:220px;width:37px;z-index:1000;" id="tabone">
<a target="_blank" href="http://www.facebook.com/huppleworld">
      <img border="0" src="https://hupple.com/plugins/system/anything_tabs/tabs/blue/facebook.png" width="37" height="37" title="Follow us on Facebook" alt="Follow us on Facebook" />
   </a>
</div>
<div style="position:fixed;right:0;bottom:180px;width:37px;z-index:1000;" id="tabtwo">
   <a target="_blank" href="http://www.twitter.com/huppleworld">
      <img border="0" src="https://hupple.com/plugins/system/anything_tabs/tabs/green/twitter.png" width="37" height="37" title="Follow us on Twitter" alt="Follow us on Twitter" />
   </a>
</div>
</body>
</html>

I am not too good of a joomla developer but if anyone can see where it goes wrong. please reply to me.

alatak

Hello

It is the payment plugin that should set the code to display on that page. Did u contact the payment plugin developer to ask him why nothing is displayed?

hupple

Hello Alatak,

I fixed it by an easy solution.
I edited multipaysafe.php:

BEFORE:    $returnURL     = JROUTE::_(JURI::root() . 'index.php?option=com_virtuemart&view=multisafepayresponse&task=result&pm=' . $order['details']['BT']->virtuemart_paymentmethod_id);

Now: $returnURL            =  $returnURL   = JROUTE::_(JURI::root() . 'index.php?option=com_content&view=article&id=670&Itemid=154' . $order['details']['BT']->virtuemart_paymentmethod_id);

I linked the returnurl just to an article. I can write thank you for your purchase myself.
It might not be the best solution but it does work!

Alatak, thank you for you support