[Skip to main content](#vessel-content)

#   How to skip default "thank you" message (page)?

##

- **[montemedia](/forum/user/4914-montemedia "View montemedia's Profile")**
- [![montemedia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4914-montemedia "View montemedia's Profile") Topic Author
- [ Offline](/forum/user/4914-montemedia)

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#38264](#38264) by [montemedia](/forum/user/4914-montemedia "View montemedia's Profile")  *[How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#38264 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")* was created by *[montemedia](/forum/user/4914-montemedia "View montemedia's Profile")*

Hi,

I would like to completely skip default "Thank you" message after purchase processing.
I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.

But, once payment is accepted, page shows default "thank you" message for a couple of seconds, and then it redirects to my custom "thankyou" page. Problem is that this default message and progress bar appear completely out of web site "borders" at the top of browser page. CSS styling didn't help me to place it within web page.

Is it possible to skip it completely, and show just custom "thank you" page?
I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.

Regards,
MM

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 9 months ago [\#38343](#38343) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#38343 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Yes,

You would have to edit the file plugins/hikashoppayment/paypalpro_thanks.php remove the code to have:
&lt;?php
$app=&amp;JFactory::getApplication();
$app-&gt;redirect($return_url);

The following user(s) said Thank You: [montemedia](/forum/user/4914-montemedia "View montemedia's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[montemedia](/forum/user/4914-montemedia "View montemedia's Profile")**
- [![montemedia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4914-montemedia "View montemedia's Profile") Topic Author
- [ Offline](/forum/user/4914-montemedia)

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#38427](#38427) by [montemedia](/forum/user/4914-montemedia "View montemedia's Profile")  Replied by *[montemedia](/forum/user/4914-montemedia "View montemedia's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#38427 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Thanks Nicolas,

I removed codes in both "end" and "after_end" templates in preview.

Regards,
MM

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")**
- [![jessicapschultz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")
- [ Offline](/forum/user/6163-jessicapschultz)

Less More

- Posts: 29
- Thank you received: 0
-
-

14 years 8 months ago [\#43055](#43055) by [jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")  Replied by *[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#43055 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Hello, I too want to skit the default thank you message and re-direct to my thank you page which has too much text in it to just edit the language file. Could you specifically tell me how to edit this code to just go to my thank you page?

&lt;div class="hikashop_creditcard_end" id="hikashop_creditcard_end"&gt;
&lt;span class="hikashop_creditcard_end_message" id="hikashop_creditcard_end_message"&gt;
&lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'.
$information.'&lt;br/&gt;'.
JText::_('THANK_YOU_FOR_PURCHASE');?&gt;
&lt;/span&gt;
&lt;/div&gt;

to go to this page? [ www.theuncommonlife.com/store/thank-you](http://www.theuncommonlife.com/store/thank-you)

I also use the standard paypal as an option. not sure how they get to the thank you page after they have paid on paypal site either?????

&lt;div class="hikashop_paypal_end" id="hikashop_paypal_end"&gt;
&lt;span id="hikashop_paypal_end_message" class="hikashop_paypal_end_message"&gt;
&lt;?php echo JText::sprintf('PLEASE_WAIT_BEFORE_REDIRECTION_TO_X',$method-&gt;payment_name).'&lt;br/&gt;'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED');?&gt;
&lt;/span&gt;
&lt;span id="hikashop_paypal_end_spinner" class="hikashop_paypal_end_spinner"&gt;
&lt;img src="&lt;?php echo HIKASHOP_IMAGES.'spinner.gif';?&gt;" /&gt;
&lt;/span&gt;
&lt;br/&gt;
&lt;form id="hikashop_paypal_form" name="hikashop_paypal_form" action="&lt;?php echo $method-&gt;payment_params-&gt;url;?&gt;" method="post"&gt;
&lt;div id="hikashop_paypal_end_image" class="hikashop_paypal_end_image"&gt;
&lt;input id="hikashop_paypal_button" type="submit" value="" name="" alt="&lt;?php echo JText::_('PAY_NOW');?&gt;" /&gt;
&lt;/div&gt;
&lt;?php
foreach( $vars as $name =&gt; $value ) {
echo '&lt;input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" /&gt;';
}
JRequest::setVar('noform',1); ?&gt;
&lt;/form&gt;
&lt;script type="text/javascript"&gt;
&lt;!--
document.getElementById('hikashop_paypal_form').submit();
//--&gt;
&lt;/script&gt;
&lt;/div&gt;

I use hikashop business

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 8 months ago -  14 years 8 months ago [\#43198](#43198) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#43198 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

You can add the code: Code:

&lt;?php $doc =&amp; JFactory::getDocument(); $doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='http://www.theuncommonlife.com/store/thank-you'});"); ?&gt;

in the file "after_end" via the menu Display-&gt;Views for PayPal.

For the credit card plugin, it's in the file plugins/hikashoppayment/creditcard_end.php that you need to add that code.

Last edit: 14 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")**
- [![jessicapschultz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")
- [ Offline](/forum/user/6163-jessicapschultz)

Less More

- Posts: 29
- Thank you received: 0
-
-

14 years 8 months ago [\#43205](#43205) by [jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")  Replied by *[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#43205 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

so far I only tested what you said to add in the credit card_end.php file. I figured out I had to remove Code:

&lt;div class="hikashop_creditcard_end" id="hikashop_creditcard_end"&gt; &lt;span class="hikashop_creditcard_end_message" id="hikashop_creditcard_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. $information.'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt;

and then added your code but I still get directed to the generic thank you message and not my page. The only difference was the 2 top lines where removed but the thank you sentence still remained. Could you be more specific, I am not a programmer. Thank you for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")**
- [![jessicapschultz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")
- [ Offline](/forum/user/6163-jessicapschultz)

Less More

- Posts: 29
- Thank you received: 0
-
-

14 years 8 months ago [\#43206](#43206) by [jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")  Replied by *[jessicapschultz](/forum/user/6163-jessicapschultz "View jessicapschultz's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#43206 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

I have not tested this yet, but could you tell me if this code for the paypal page is correct? or do I need to remove anything? Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.6 * @author hikashop.com * @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php $app =&amp; JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); &lt;?php if(!empty($return_url)){ $doc =&amp; JFactory::getDocument(); $doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='http://www.theuncommonlife.com/store/thank-you'});"); } ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 8 months ago [\#43324](#43324) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#43324 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Hi,

My bad, the code I gave you for the credit card end file was not correct. I fixed it in my previous message. You're doing the modification correctly.

Also, in your paypal file the code is not correct.
When you have a &lt;?php tag, you need a corresponding ?&gt; after in the code.

so in your file, the code: Code:

&lt;?php $app =&amp; JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); &lt;?php

should actually be: Code:

&lt;?php $app =&amp; JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); ?&gt; &lt;?php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jeremynsl](/forum/user/489-jeremynsl "View jeremynsl's Profile")**
- [![jeremynsl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/489-jeremynsl "View jeremynsl's Profile")
- [ Offline](/forum/user/489-jeremynsl)

Less More

- Posts: 121
- Thank you received: 7
-
-

12 years 2 months ago [\#173208](#173208) by [jeremynsl](/forum/user/489-jeremynsl "View jeremynsl's Profile")  Replied by *[jeremynsl](/forum/user/489-jeremynsl "View jeremynsl's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#173208 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

I'm trying to do the same thing - remove the default 'thank you' message and forward to a custom web address. I want to do this for all my payment options - Stripe, Paypal, Bitcoin and Alphauserpoints. Does this mean I need to edit a php file for each payment method? Can I do this from the front-end or I need to do it from FTP? And what code do I need to paste exactly and where? The stuff above is really confusing...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 2 months ago [\#173224](#173224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#173224 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Hi,

In most payment methods of HikaShop, you'll find a "return URL" parameter where you can enter the URL where you want the user to be redirected after the payment. So no code required. That's the case for PayPal, Bitcoin and Stripe.
For the user points plugin, there is no such option as it's a bit special. It depends on how you configure your user points plugin.
If you only allow partial payments with coupons of points, there it no need to do anything. If you allow for the full payment of the orders with points, you would have to modify the file "end" of the view "checkout" via the menu Display&gt;Views with such code: Code:

&lt;?php $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;get($order_id); if($order-&gt;order_payment_method=='userpoints') $app-&gt;redirect('URL'); ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[firestax](/forum/user/31584-firestax "View firestax's Profile")**
- [![firestax's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31584.gif)](/forum/user/31584-firestax "View firestax's Profile")
- [ Offline](/forum/user/31584-firestax)

Less More

- Posts: 57
- Thank you received: 0
-
-

10 years 2 months ago [\#248628](#248628) by [firestax](/forum/user/31584-firestax "View firestax's Profile")  Replied by *[firestax](/forum/user/31584-firestax "View firestax's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#248628 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

> nicolas wrote: Hi,
>
> In most payment methods of HikaShop, you'll find a "return URL" parameter where you can enter the URL where you want the user to be redirected after the payment. So no code required. That's the case for PayPal, Bitcoin and Stripe.
> For the user points plugin, there is no such option as it's a bit special. It depends on how you configure your user points plugin.
> If you only allow partial payments with coupons of points, there it no need to do anything. If you allow for the full payment of the orders with points, you would have to modify the file "end" of the view "checkout" via the menu Display&gt;Views with such code:
>
> Code:
>
> &lt;?php $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;get($order_id); if($order-&gt;order_payment_method=='userpoints') $app-&gt;redirect('URL'); ?&gt;

If we use bank transfer and userpoints will this code work. I want to show order details for every checkout method we have.

So for I have adjusted the after_end view like this for our credit card method: Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.2 * @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'); ?&gt;&lt;?php $app =&amp; JFactory::getApplication(); $app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') ); $order_id=$app-&gt;getUserState( HIKASHOP_COMPONENT.'.order_id' ); $class = hikashop_get('class.order'); $order= $class-&gt;get($order_id); if($order-&gt;order_payment_method!='paypal'){ $app-&gt;redirect(hikashop::completeLink('order&amp;task=show&amp;order_id='.$order_id,false,true)); } ?&gt;

What do I need to do to my end view in order to do as I want?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 2 months ago [\#248667](#248667) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#248667 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Hi,

Well, you can use the same code in the "end" view file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[firestax](/forum/user/31584-firestax "View firestax's Profile")**
- [![firestax's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31584.gif)](/forum/user/31584-firestax "View firestax's Profile")
- [ Offline](/forum/user/31584-firestax)

Less More

- Posts: 57
- Thank you received: 0
-
-

10 years 2 months ago [\#248952](#248952) by [firestax](/forum/user/31584-firestax "View firestax's Profile")  Replied by *[firestax](/forum/user/31584-firestax "View firestax's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#248952 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

I tried that and it showed the invoice but not the bank transfer information.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 2 months ago [\#248970](#248970) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to skip default "thank you" message (page)?](/forum/4-how-to/38264-how-to-skip-default-thank-you-message-page#248970 "Hi,  I would like to completely skip default &quot;Thank you&quot; message after purchase processing. I am using PayPal Pro plugin, and I set it up to redirect to custom page after purchase.  But, once payment is accepted, page shows default &quot;thank you&quot; message for a couple of seconds, and then it redirects to my custom &quot;thankyou&quot; page. Problem is that this default message and progress bar appear completely out of web site &quot;borders&quot; at the top of browser page. CSS styling didn't help me to place it within web page.  Is it possible to skip it completely, and show just custom &quot;thank you&quot; page? I'm using Joomla 1.7.5 and HikaShop 1.5.5 Business Edition.  Regards, MM")*

Hi,

Well yes. That code redirects the thank you page to where you want. So if you use the bank transfer payment method, it won't display the thank you page of the bank transfer payment method where the bank transfer information is and will instead display the page of the URL that you put in your code.
That's what you ask us: " I want to show order details for every checkout method we have."
If you want something else, then please explain precisely what you want because we still don't know.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4MjY0LWhvdy10by1za2lwLWRlZmF1bHQtdGhhbmsteW91LW1lc3NhZ2UtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.093 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
