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

#   How do I make WorldPay show up before login

##

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#66901](#66901) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  *[How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66901 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")* was created by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")*

I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.

Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.

At present, until you sign in, WorldPay doesn't show up as a payment method.

Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.

Is it possible to change this?

Thanks in advance if anyone can help.

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

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

Less More

- Posts: 83
- Thank you received: 10
-
-

14 years 1 month ago [\#66912](#66912) by [jrod](/forum/user/8164-jrod "View jrod's Profile")  Replied by *[jrod](/forum/user/8164-jrod "View jrod's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66912 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

in Configuration/Checkout there's the area of the workflow. can you do a screen shot of your checkout workflow?

to see if you have one step or multi step checkout setup

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 1 month ago [\#66915](#66915) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66915 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Hi,

I think that you should :
- Go to "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout"
- Edit your "checkout workflow"
- Set your **login** option after or in the same step as your **payment** option

Hope this will help you.

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#66921](#66921) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66921 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Thanks,

Here is the screen grab. Maybe I am not understanding how the checkout workflow works, but I believe i have login after the payment option. My other payment option (pay by cheque) appears before the user is logged in.

Steve

- [ ![screengrab-01.png](/forum/attachment/5926) ](/forum/attachment/5926 "screengrab-01.png") [ ](/forum/attachment/5926?download=1 "screengrab-01.png")

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

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

Less More

- Posts: 83
- Thank you received: 10
-
-

14 years 1 month ago [\#66933](#66933) by [jrod](/forum/user/8164-jrod "View jrod's Profile")  Replied by *[jrod](/forum/user/8164-jrod "View jrod's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66933 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

it seems you understand how the checkout workflow works ![;)](/media/kunena/emoticons/11.png ";)")

you do have payment in a step before login.

since your other payment methods show up before the user logs in then either

a) the WorldPay payment plugin is assigned to zones. Delete those associated zones, or
b) WorldPay does not show until it knows which country the user is in, which can not happen until the user logs in.

I suspect it is b......

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#66934](#66934) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66934 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Hi jrod,

Thanks - and yes WorldPay is not assigned to any zones, so I think it is b. / something in the WorldPay plugin.

Strangely, pay by cheque is assigned to a zone (UK only) and yet this does appear before the system knows the zone (ie before login).

Maybe Nicolas can shed some light on this?

Steve

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 1 month ago -  14 years 1 month ago [\#66943](#66943) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66943 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

I checked the Worldpay code, and your worldpay payment methode won't show up before you logged in if you have set a payment zone, AND you should edit your worldpay payment method and change the line : Code:

function onPaymentDisplay(&amp;$order,&amp;$methods,&amp;$usable_methods){ if (!$this-&gt;isShippingValid(@$order-&gt;shipping)) return false; if (empty($order-&gt;total)) return false; if (empty($methods)) return false; $user = hikashop::loadUser(true); if (!$user) return false;

by this line Code:

function onPaymentDisplay(&amp;$order,&amp;$methods,&amp;$usable_methods){ if (!$this-&gt;isShippingValid(@$order-&gt;shipping)) return false; if (empty($order-&gt;total)) return false; if (empty($methods)) return false; $user = hikashop::loadUser(true); //if (!$user) return false;

Last edit: 14 years 1 month ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#66946](#66946) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66946 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Thank you Mohamed,

No payment zone is set for WorldPay, so I need to edit the code

Where do I find this code?

Thank you,

Steve

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 1 month ago [\#66948](#66948) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#66948 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

You'll find this code through the file "*'Your hikashop'\\plugins\\hikashoppayment\\bf\_rbsglobalgateway\\bf\_rbsglobalgateway.php*"

The following user(s) said Thank You: [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#67067](#67067) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#67067 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Sorry Mohamed but this doesn't solve the problem.

Just to confirm, the WorldPay payment method has no zone assigned.

Steve

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 1 month ago [\#67124](#67124) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#67124 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

OK - just to be clear, editing the code like Mohamed suggests does not allow WorldPay to show up as a payment option before the user has registered / logged in.
![:(](/media/kunena/emoticons/5.png ":(")
Steve

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY2OTAxLWhvdy1kby1pLW1ha2Utd29ybGRwYXktc2hvdy11cC1iZWZvcmUtbG9naW4/dG1wbD1tYXJrZG93bg==) 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: 86316
- Thank you received: 14276
-
-

14 years 1 month ago -  14 years 4 weeks ago [\#67216](#67216) 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 do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#67216 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Hi,

The modification that Mohamed proposed is fine. However, he told you to modify it in plugins\hikashoppayment\bf_rbsglobalgateway\bf_rbsglobalgateway.php
That file is for the WorldPay Global Gateway.
Are you sure that you're using the Global Gateway and not the Business Gateway ? If not, then you should edit that file and do the same modification:
plugins\hikashoppayment\bf_rbsbusinessgateway\bf_rbsbusinessgateway.php

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

The following user(s) said Thank You: [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

14 years 4 weeks ago [\#68236](#68236) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#68236 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Thank you Nicolas,

Yes I can confirm that this works although for anyone else trying to do this the path that Nicolas gives is still wrong.

It is in plugins/hikashoppayment/bf\_rbsbusinessgateway/bf_rbsbusinessgateway.php

Thanks again.

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

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

13 years 8 months ago [\#89969](#89969) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#89969 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

I've recently upgraded Hikashop to the latest version (com_hikashop_business_2.1.0_2013-02-12.tar.gz) and once again this problem has re-occured.

Fine - I figure the code has been over-written. I just need to change it again...

But when I look at /home/mywebsite/public_html/plugins/hikashoppayment/bf_rbsbusinessgateway/bf_rbsbusinessgateway.php the code for the function onPaymentDisplay has changed from the fix given by Mohamed.

I now have: Code:

function onPaymentDisplay(&amp;$order,&amp;$methods,&amp;$usable_methods){ if (!$this-&gt;isShippingValid(@$order-&gt;shipping)) return false; if (empty($order-&gt;total)) return false; if (empty($methods)) return false; $user = hikashop::loadUser(true); $found = false; foreach($methods as $method){ if($method-&gt;payment_type!='bf_rbsbusinessgateway') continue; if ($method-&gt;payment_params-&gt;testMode) { if (isset($user-&gt;user_tester)) { if (@$user-&gt;user_tester != 'Y') continue; } } else if (@$user-&gt;user_tester == 'Y') continue; if(!@$method-&gt;payment_params-&gt;displayForGuests){ if (!$user) continue; } if (!$method-&gt;enabled) continue; if(!empty($method-&gt;payment_zone_namekey)){ $zoneClass=hikashop::get('class.zone'); $zones = $zoneClass-&gt;getOrderZones($order); if(!in_array($method-&gt;payment_zone_namekey,$zones)) continue; } $currencyClass = hikashop::get('class.currency'); $null=null; $currency_id = intval(@$order-&gt;total-&gt;prices[0]-&gt;price_currency_id); $currency = $currencyClass-&gt;getCurrencies($currency_id,$null); if(!empty($currency) &amp;&amp; !in_array(@$currency[$currency_id]-&gt;currency_code,$this-&gt;accepted_currencies)){ continue; } $usable_methods[$method-&gt;ordering]=$method; $found = true; } return $found; }

What do I need to change to get WorldPay to show up as an option before someone logs on like before?

Thanks,
Steve

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#90046](#90046) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#90046 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Hi,

You should have an option for the guest users, see in the plugin options if you can enable something which look like "display for guests"

The following user(s) said Thank You: [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 3
-
-

13 years 8 months ago [\#90083](#90083) by [SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")  Replied by *[SteveEvans](/forum/user/9481-steveevans "View SteveEvans's Profile")* on topic *[Re: How do I make WorldPay show up before login](/forum/4-how-to/66901-how-do-i-make-worldpay-show-up-before-login#90083 "I have Hikashop working and correctly configured with WorldPay, tested etc... Everything fine.  Apart from my client wants the payment option 'WorldPay' to show up on the list of payment methods before the user has registered or signed in.  At present, until you sign in, WorldPay doesn't show up as a payment method.  Don't get me wrong, they will still have to register/sign in to complete their order. It would just be nice to see it listed before they sign in.  Is it possible to change this?  Thanks in advance if anyone can help.")*

Yes - I can confirm that works.

Many thanks
Steve

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

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

[](#top)
