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

#   MIGS Thank You page doesn't show order details

##

- **[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")**
- [![magicwords's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/33185-magicwords "View magicwords's Profile") Topic Author
- [ Offline](/forum/user/33185-magicwords)

Less More

- Posts: 66
- Thank you received: 0
-
-
-
- [](http://www.magicwebconsultants.com)
-

11 years 11 months ago [\#182476](#182476) by [magicwords](/forum/user/33185-magicwords "View magicwords's Profile")  *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182476 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")* was created by *[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6

Hello,

I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.

Please guide ASAP.

Thanks

Gaurav

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzM0OTgtbWlncy10aGFuay15b3UtcGFnZS1kb2VzbnQtc2hvdy1vcmRlci1kZXRhaWxzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

11 years 11 months ago [\#182526](#182526) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182526 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

Hi,

The cash on delivery option doesn't show the order details upon completion. It should a thank you message with the instructions that you entered in the payment method option. So I'm not sure what you're talking about.
Normally, in both cases, you would have to edit the file "end" of the view "checkout" via the menu Display&gt;Views in order to add a redirect to the orders listing page of HikaShop for the customer to see his order.

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

- **[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")**
- [![magicwords's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/33185-magicwords "View magicwords's Profile") Topic Author
- [ Offline](/forum/user/33185-magicwords)

Less More

- Posts: 66
- Thank you received: 0
-
-
-
- [](http://www.magicwebconsultants.com)
-

11 years 11 months ago [\#182532](#182532) by [magicwords](/forum/user/33185-magicwords "View magicwords's Profile")  Replied by *[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182532 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

Hi Nicolas,

Thank you for your reply. By order details I meant the thank you message with the Order Number etc. which comes with Cash On Delivery. This is the kind of details I was expecting with MIGS (please refer the screenshot)

[ ![order.png](/forum/attachment/21121) ](/forum/attachment/21121 "order.png")

This message doesn't appear if I choose MIGS. Its urgent. Please help

Thanks in Advance

Gaurav

- [ ![order.png](/forum/attachment/21121) ](/forum/attachment/21121 "order.png") [ ](/forum/attachment/21121?download=1 "order.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzM0OTgtbWlncy10aGFuay15b3UtcGFnZS1kb2VzbnQtc2hvdy1vcmRlci1kZXRhaWxzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

11 years 11 months ago [\#182565](#182565) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182565 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

Hi,

That message doesn't display with MIGS since the payment has already been done on that page.
You would have to customize the file plugins/hikashoppayment/migsvpc/migsvpc_thankyou.php with custom code to add such display.
I would recommend to hire a developer to help you with that if you're not one yourself.

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

- **[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")**
- [![magicwords's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/33185-magicwords "View magicwords's Profile") Topic Author
- [ Offline](/forum/user/33185-magicwords)

Less More

- Posts: 66
- Thank you received: 0
-
-
-
- [](http://www.magicwebconsultants.com)
-

11 years 11 months ago [\#182593](#182593) by [magicwords](/forum/user/33185-magicwords "View magicwords's Profile")  Replied by *[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182593 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

can I just copy the thank you code from COD or Bank Transfer php files?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzM0OTgtbWlncy10aGFuay15b3UtcGFnZS1kb2VzbnQtc2hvdy1vcmRlci1kZXRhaWxzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

11 years 11 months ago [\#182596](#182596) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182596 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

No. It's more complex than that.
You also need to add some code in the onAfterOrderConfirm function of the migsvpc.php file: Code:

$currencyClass = hikashop_get('class.currency'); $this-&gt;amount = $currencyClass-&gt;format($order-&gt;order_full_price, $order-&gt;order_currency_id); $this-&gt;order_number = $order-&gt;order_number;

and then you can copy the code Code:

&lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('AMOUNT_COLLECTED_ON_DELIVERY',$this-&gt;amount,$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt;

from the collectondelivery_end.php file to the thankyou file of the migsvpc plugin and you'll get the same message displayed for it.

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

- **[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")**
- [![magicwords's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/33185-magicwords "View magicwords's Profile") Topic Author
- [ Offline](/forum/user/33185-magicwords)

Less More

- Posts: 66
- Thank you received: 0
-
-
-
- [](http://www.magicwebconsultants.com)
-

11 years 11 months ago [\#182622](#182622) by [magicwords](/forum/user/33185-magicwords "View magicwords's Profile")  Replied by *[magicwords](/forum/user/33185-magicwords "View magicwords's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182622 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

Thank you Nicolas,

However, I am little bit confused. So do you want me to copy the code below in the onAfterOrderConfirm function of the migsvpc.php file:

> Code:
>
> $currencyClass = hikashop_get('class.currency'); $this-&gt;amount = $currencyClass-&gt;format($order-&gt;order_full_price, $order-&gt;order_currency_id); $this-&gt;order_number = $order-&gt;order_number;

And after that add the code below from collectondelivery_end.php to migsvpc.php?

> Code:
>
> &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('AMOUNT_COLLECTED_ON_DELIVERY',$this-&gt;amount,$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzM0OTgtbWlncy10aGFuay15b3UtcGFnZS1kb2VzbnQtc2hvdy1vcmRlci1kZXRhaWxzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

11 years 11 months ago [\#182632](#182632) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[MIGS Thank You page doesn't show order details](/forum/29-payment-methods/873498-migs-thank-you-page-doesnt-show-order-details#182632 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hello,  I have used the MIGS as the payment method for bank in India. The gateway integrated successfully. But upon completion of the payment, it doesn't show the order details as it was showing in the 'Cash on delivery' optoin. This is not expected. The thank you page must show the Order Details for MIGS too.  Please guide ASAP.  Thanks  Gaurav")*

Yes for the first part, no for the second part. The second code should be added in migsvpc_thankyou.php

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

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