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

#   Blank page after returning from payment processor

##

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

Less More

- Posts: 79
- Thank you received: 2
-
-

8 years 1 month ago [\#299032](#299032) by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")  *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#299032 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")* was created by *[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.2

Hello,

I have a problem with a blank page after returning from mollie (iDeal).
When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly.
When returning with the status "Canceled" or "Failed" we end up being redirected to the right article page. But when we return with a status "Confirmed" (paid), we end up on a blank page.
I have talked to the developer and we came up with the following.
This happens with the guest checkout. Where we think it goes wrong is here: Code:

if(empty($order) &#124;&#124; hikashop_loadUser(false) != $order-&gt;order_user_id) return false;

Since the guest user doesnt have an an account, it also doesnt have a user_id.
This happens when hikashop is set to "legacy checkout = yes". When we have "legacy checkout = no" we have the following problem. The text from the "after end" will show (see attachment). But will not redirect.
[ ![Hikashop&#95;check&#95;no&#95;legacy&#95;001.jpg](/forum/attachment/45069) ](/forum/attachment/45069 "...legacy&#95;001.jpg")

Also the after_end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after_end view to not show that link. So could solve that problem.
Is there a way to make the redirect work?

- [ ![Hikashop&#95;check&#95;no&#95;legacy&#95;001.jpg](/forum/attachment/45069) ](/forum/attachment/45069 "...legacy&#95;001.jpg") [ ](/forum/attachment/45069?download=1 "...legacy&#95;001.jpg")

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

8 years 1 month ago [\#299039](#299039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#299039 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

Hi,

1. There is indeed a glitch with the after_end and the old chekcout for guest users.
You can add the code: Code:

if($this-&gt;config-&gt;get('checkout_legacy', 0)) { return parent::after_end(); }

after the line: Code:

public function after_end() {

in the file components/com_hikashop/controllers/checkout.php in order to fix the issue with the line of code you're talking about.
We'll add that patch on our end.

2. The link there is working in such case for us. If the link is not working in your case and goes to a login page, this indicates that the URL there is missing the parameter order_token which allows the guest user to access his order page thanks to a secret token.
I suppose that this comes from a view override of the after_end view file in your template or if it's not a view override, you have an old version of HikaShop which doesn't have the patch with the order_token. In that case, updating would fix the problem.

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

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

Less More

- Posts: 79
- Thank you received: 2
-
-

8 years 1 month ago [\#299154](#299154) by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")  Replied by *[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#299154 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

That code worked perfect to get to the after_end file.
The redirect from the plugin however does not work yet.

I talked again to the developer of JD iDeal and he told me in order for the redirect to work he kooks in to the "onHikashopAfterDisplayView" which apparently is not used with guest checkout.

- [ ![Hikashop&#95;check&#95;no&#95;legacy&#95;001&#95;2018-10-16.jpg](/forum/attachment/45099) ](/forum/attachment/45099 "...2018-10-16.jpg") [ ](/forum/attachment/45099?download=1 "...2018-10-16.jpg")

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

8 years 1 month ago [\#299156](#299156) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#299156 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

Hi,

Well, I would need more details than just

> kooks in to the "onHikashopAfterDisplayView"

because onHikashopAfterDisplayView is called before every view being displayed by HikaShop and the "hook" could be done in many ways.
Could you see with the developer if he could provide more details on the issue ?
And you confirm that we're still talking about the legacy mode ?

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

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

Less More

- Posts: 79
- Thank you received: 2
-
-

8 years 1 month ago [\#299223](#299223) by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")  Replied by *[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#299223 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

Nicolas,

The developer of JD iDeal is going to contact you.

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

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

Less More

- Posts: 285
- Thank you received: 42
-
-

4 years 11 months ago [\#338234](#338234) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#338234 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

Hi,
I have this problem with hs 4.4.4, I've made the update to 4.4.5 same problem (php 7.4) .
I use a plugin made by euplatesc.ro, to process the payment.
This is the url that I get redirected after I make the payment
/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=246&amp;Itemid=275
And this is what I see, a blank page:
[ ![after&#95;payment.jpg](/forum/attachment/54096) ](/forum/attachment/54096 "after&#95;payment.jpg")

This can be a problem from the payment plugin?

- [ ![after&#95;payment.jpg](/forum/attachment/54096) ](/forum/attachment/54096 "after&#95;payment.jpg") [ ](/forum/attachment/54096?download=1 "after&#95;payment.jpg")

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

4 years 11 months ago [\#338237](#338237) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Blank page after returning from payment processor](/forum/27-checkout/895947-blank-page-after-returning-from-payment-processor#338237 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  Hello,  I have a problem with a blank page after returning from mollie (iDeal). When returning to hikashop we end up with a blank page. JD iDeal has redirects to articles in a menu. Which are setup correctly. When returning with the status &quot;Canceled&quot; or &quot;Failed&quot; we end up being redirected to the right article page. But when we return with a status &quot;Confirmed&quot; (paid), we end up on a blank page. I have talked to the developer and we came up with the following. This happens with the guest checkout. Where we think it goes wrong is here:  Since the guest user doesnt have an an account, it also doesnt have a user&#95;id. This happens when hikashop is set to &quot;legacy checkout = yes&quot;. When we have &quot;legacy checkout = no&quot; we have the following problem. The text from the &quot;after end&quot; will show (see attachment). But will not redirect.  Also the after&#95;end will have the option to see the order, which once you click that will goto login page. The guest user has no account, so thats a problem too. I know how to change the after&#95;end view to not show that link. So could solve that problem. Is there a way to make the redirect work?")*

Hi,

It's probably coming from the template not displaying the system messages:
[ www.hikashop.com/support/documentation/6...issues.html#messages](https://www.hikashop.com/support/documentation/61-hikashop-compatibility-issues.html#messages)
If you can, try to test with the default template of Joomla, and you should see the messages on that same page, confirming that it comes from the template.

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

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