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

#   checkout/end.php

##

- **[virusys](/forum/user/51944-virusys "View virusys's Profile")**
- [![virusys's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar51944.jpg)](/forum/user/51944-virusys "View virusys's Profile") Topic Author
- [ Offline](/forum/user/51944-virusys)

Less More

- Posts: 70
- Thank you received: 3
-
-

7 years 11 months ago -  7 years 11 months ago [\#302040](#302040) by [virusys](/forum/user/51944-virusys "View virusys's Profile")  *[checkout/end.php](/forum/27-checkout/896554-checkout-end-php#302040 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  I'm trying to understand how to modify checkout/end.php.  The THANK&#95;YOU&#95;FOR&#95;PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.  Where is the rest of it coming from??")* was created by *[virusys](/forum/user/51944-virusys "View virusys's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1

I'm trying to understand how to modify checkout/end.php.

[ ![2018-12-30&#95;2102.png](/forum/attachment/45691) ](/forum/attachment/45691 "...12-30&#95;2102.png")

The THANK_YOU_FOR_PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.

[ ![2018-12-30&#95;2135.png](/forum/attachment/45692) ](/forum/attachment/45692 "...12-30&#95;2135.png")

Where is the rest of it coming from??

- [ ![2018-12-30&#95;2102.png](/forum/attachment/45691) ](/forum/attachment/45691 "...12-30&#95;2102.png") [ ](/forum/attachment/45691?download=1 "...12-30&#95;2102.png")
- [ ![2018-12-30&#95;2135.png](/forum/attachment/45692) ](/forum/attachment/45692 "...12-30&#95;2135.png") [ ](/forum/attachment/45692?download=1 "...12-30&#95;2135.png")

Last edit: 7 years 11 months ago by [virusys](/forum/user/51944-virusys "View virusys's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjU1NC1jaGVja291dC1lbmQtcGhwP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

7 years 10 months ago [\#302052](#302052) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[checkout/end.php](/forum/27-checkout/896554-checkout-end-php#302052 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  I'm trying to understand how to modify checkout/end.php.  The THANK&#95;YOU&#95;FOR&#95;PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.  Where is the rest of it coming from??")*

Hi,

Since $this-&gt;html is not empty, it's not that THANK_YOU_FOR_PURCHASE which you see there.
The THANK_YOU_FOR_PURCHASE you see comes from the plugins/hikashoppayment/XXX/XXX_end.php file of your payment plugin where XXX is the folder name of your payment plugin.

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

- **[virusys](/forum/user/51944-virusys "View virusys's Profile")**
- [![virusys's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar51944.jpg)](/forum/user/51944-virusys "View virusys's Profile") Topic Author
- [ Offline](/forum/user/51944-virusys)

Less More

- Posts: 70
- Thank you received: 3
-
-

7 years 10 months ago [\#302059](#302059) by [virusys](/forum/user/51944-virusys "View virusys's Profile")  Replied by *[virusys](/forum/user/51944-virusys "View virusys's Profile")* on topic *[checkout/end.php](/forum/27-checkout/896554-checkout-end-php#302059 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  I'm trying to understand how to modify checkout/end.php.  The THANK&#95;YOU&#95;FOR&#95;PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.  Where is the rest of it coming from??")*

Thanks Nicolas - now I think I get it.

RE: the "Return url" parameter of the specific configuration section of the payment plugins - is this url intended to be a branch point where end.php never executes and you see the "Return url" instead at the end of the process? Like a custom Thank You page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjU1NC1jaGVja291dC1lbmQtcGhwP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

7 years 11 months ago [\#302060](#302060) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[checkout/end.php](/forum/27-checkout/896554-checkout-end-php#302060 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  I'm trying to understand how to modify checkout/end.php.  The THANK&#95;YOU&#95;FOR&#95;PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.  Where is the rest of it coming from??")*

Hi,

It's something like that.
It's a bit more complex.

First, you have the end.php
It can either display a generic thank you message or some HTML coming from the payment plugin.
In most cases, payment plugins will use that to give the HTML of a form or a URL which will redirect to the payment gateway. But if the payment plugin is offline ( like check, banktransfer, etc) it will display its HTML from its end.php file (if any), and if a "return URL" is set in that offline payment plugin, then it will direct there instead of displaying its HTML.

Second, you have the after_end.php
This one is used after a customer returns from a payment gateway (after the payment).
It can either display a generic thank you message. And if the "return URL" parameter of the payment method is set, then it will redirect to it instead of displaying after_end.

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

- **[virusys](/forum/user/51944-virusys "View virusys's Profile")**
- [![virusys's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar51944.jpg)](/forum/user/51944-virusys "View virusys's Profile") Topic Author
- [ Offline](/forum/user/51944-virusys)

Less More

- Posts: 70
- Thank you received: 3
-
-

7 years 10 months ago [\#302091](#302091) by [virusys](/forum/user/51944-virusys "View virusys's Profile")  Replied by *[virusys](/forum/user/51944-virusys "View virusys's Profile")* on topic *[checkout/end.php](/forum/27-checkout/896554-checkout-end-php#302091 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  I'm trying to understand how to modify checkout/end.php.  The THANK&#95;YOU&#95;FOR&#95;PURCHASE can be found in the language hikashop.ini and can be seen below on the last of three lines.  Where is the rest of it coming from??")*

OK - perfect.

Thanks very much for the explanation! It helps to understand how things work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjU1NC1jaGVja291dC1lbmQtcGhwP3RtcGw9bWFya2Rvd24=) 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.068 seconds

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