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

#   payment after order is created with Guest mode

##

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 2 months ago [\#343975](#343975) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#343975 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")* was created by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4

Hi,

Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?

Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

4 years 2 months ago [\#343976](#343976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#343976 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

The payment link included in the "order creation notification" email allows the user to pay for his order even if the order was placed as a guest.
Similarly, the link to the order is also provided in that email and on the thank you page and both work even for guests. And on that page, the '"pay now" button will be displayed too, even for guests.

So I'm surprised you're asking this because it should already be the case without doing anything as long as you properly activated the "Payment of orders not paid immediately" setting of the HikaShop configuration and enabled the statuses for which you want to allow the payment under the "unpaid" column of the System&gt;Order statuses menu.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 2 months ago [\#343992](#343992) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#343992 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi Nicolas,

We didn't use the guestmode at all untill some weeks ago, but get complaints about this.

I think I didn't explain right, sorry about that. The customers want's to pay in allmost every case at least 1 day (or sometime a week or two weeks) later. They can't know they have to search for the email with the order creation notification. The thank you page is in this case off course no option.

Maybe it is possible to add the pay now button in other statuses f.i. confirmed? Or can I put the pay now code to my own email?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

4 years 2 months ago [\#343993](#343993) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#343993 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

If you click on the "email" button when editing an order, you'll see the payment link at the bottom of the email preview in the popup (and same in the preview of the popup when you change the status of an order from the orders listing), provided the status of the order is enabled as an unpaid status in System&gt;Order statuses.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 2 months ago [\#344020](#344020) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#344020 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

I see the pay now button when clicking on the email button, but when I look into the email history of the system, the auto sended email doen't show the pay now button, see screenshot. Many statuses have the unpaid status enabled, but it seems the sended email doesn't contain the pay now button when using the "notify customer" checkbox.

- [ ![email-after-order-edit.jpg](/forum/attachment/55395) ](/forum/attachment/55395 "...order-edit.jpg") [ ](/forum/attachment/55395?download=1 "...order-edit.jpg")
- [ ![statuses&#95;2022-08-18.jpg](/forum/attachment/55396) ](/forum/attachment/55396 "...2022-08-18.jpg") [ ](/forum/attachment/55396?download=1 "...2022-08-18.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

4 years 2 months ago [\#344030](#344030) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#344030 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

I'm sorry but I don't read Dutch. So I don't know which email is in your screenshot, which statuses are what and which column is what.

So I can't conclude on whether it's normal or not based on the situation as I can't assess it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 2 months ago [\#344067](#344067) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#344067 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi, I understand. Here are the translations:

De bestelling met Nr. 111404 is nu Aangemaakt op [ jouwnaambord.nl/](https://jouwnaambord.nl/) &#124; The ordernumber 111404 was created at [ jouwnaambord.nl](https://jouwnaambord.nl)

Klik hier om snel een account aan te maken op onze website. Hiermee hoef je bij de volgende aankoop onze website de adres gegevens niet opnieuw in te voeren. &#124; Click here to easily create your user account on our website. That way, next time you purchase on our online shop, you won't have to reenter your address.

Statuses:

aangemaakt = created
bevestigd = confirmed
betaald = paid
gewijzigd = changed

The email in the screenshot is the email sended from the system after checking the "Notify customer" checkbox in the order edit page. See the screenshot from the email history.

- [ ![email-history&#95;2022-08-19.jpg](/forum/attachment/55404) ](/forum/attachment/55404 "...2022-08-19.jpg") [ ](/forum/attachment/55404?download=1 "...2022-08-19.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

4 years 2 months ago [\#344072](#344072) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#344072 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

The "order creation notification" email is the one sent to the user when the order is created, not when the "notify customer" checkbox is checked while changing the order status on the order edit page. The email sent at that time is the "order status notification".

So I think you're just not looking at the correct email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 2 months ago [\#344083](#344083) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#344083 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

Ok, I see what you mean, I will check again. Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

2 years 11 months ago [\#357104](#357104) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357104 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

I use the paymentcode from the "order creation notification" email in emails for guest customers to pay.

F.e.:"index.php?option=com_hikashop&amp;amp;ctrl=order&amp;amp;task=pay&amp;amp;order_id=112449&amp;amp;order_token=qgmeVriE&amp;amp;Itemid=544"

In the code there's a menu_id used (544) from a random menu (as it seems). Is there a way to use a specific menu (f.e. a custom paymentpage)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 11 months ago [\#357107](#357107) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357107 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

It's not a random menu item. It's the current page menu item. It's only random if the place where the email is generated doesn't have a menu item or the menu item is not HikaShop. Normally, when the order is created on the frontend, you're already on the HikaShop checkout, and thus it will use the menu item id used on the checkout.
You can see the code which generates the URL in the preload of the order creation notification email : Code:

global $Itemid; $url_itemid = ''; if(!empty($Itemid)) { $url_itemid = '&amp;Itemid=' . $Itemid; } .... $pay_url = 'index.php?option=com_hikashop&amp;ctrl=order&amp;task=pay&amp;order_id='.$data-&gt;order_id.$url_itemid; if(empty($customer-&gt;user_cms_id) &amp;&amp; !empty($data-&gt;order_token)) { $pay_url .= '&amp;order_token='.urlencode($data-&gt;order_token); } $pay_url = hikashop_frontendLink($pay_url);

In $Itemid, you have the id of the current menu item, if any.
If you want to force it to something else, you could change the first part of the code to: Code:

$url_itemid = '&amp;Itemid=XX';

where XX would be the id of the menu item you want to be used.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

2 years 10 months ago [\#357248](#357248) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357248 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Thanks, I changed the first part of the code to $url_itemid = '&amp;Itemid=101'; but it still adds the 544 menu item to the paymentcode?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 10 months ago [\#357252](#357252) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357252 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

How is the menu item with the id 101 configured ? Could you do some screenshots ?
And are you using a SEF extension like 4SEF ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

2 years 10 months ago [\#357268](#357268) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357268 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

I altered the first part as you mentioned, I do use the EFSEO plugin.

- [ ![preload-email-adjustment.jpg](/forum/attachment/58343) ](/forum/attachment/58343 "...adjustment.jpg") [ ](/forum/attachment/58343?download=1 "...adjustment.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 10 months ago [\#357270](#357270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357270 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

I think I wasn't clear enough. My bad.
I wanted to say that you should change the whole code: Code:

global $Itemid; $url_itemid = ''; if(!empty($Itemid)) { $url_itemid = '&amp;Itemid=' . $Itemid; }

to just: Code:

$url_itemid = '&amp;Itemid=XX';

That's what I meant by "the first part of the code".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 10 months ago [\#357462](#357462) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357462 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

I think your issue has several layers to it:
- First, when I checked your customization of the email I saw you used the Itemid 1 and not 101. 1 is the root menu item and should never be used.
- Second, even the 101 menu item is not correct. You need to use a menu item of HikaShop because Joomla's routing system only allows menu items of an extension to display its pages. If you try to use an invalid Itemid like 101 (which is a gantry menu item), HikaShop will auto correct to a random HikaShop menu item (the 544). I've changed it to the 137 menu item but you can choose a better suited menu item.
- It seems that you're doing your tests on the backend and not a real test from the frontend. In order to check which menu items are valid, the system checks that the "access level" of the menu item matches with the user groups assigned to the current user. So if you test the order creation email from the backend, you're logged in as an admin and thus it might not accept the public menu items. Make sure you're testing this change from the frontend by creating an order from the frontend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 515
- Thank you received: 22
-
-

2 years 10 months ago [\#357491](#357491) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357491 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

Thanks for your detailed explanation.

Indeed I do take the code from the backend because this code s what I use in an email send from outlook instead of the backendsystem. This is what you suggested earlier on my question if I could use the paymentcode in my own email (#343993). So yes, I allways copy the code from an existing order with a changed status (payable) as an adimistrator and never from the frontend. But if I understand you right, the access level check prevents the menu-id override?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 10 months ago [\#357499](#357499) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[payment after order is created with Guest mode](/forum/29-payment-methods/904864-payment-after-order-is-created-with-guest-mode#357499 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi,  Is there a way to offer a guest client an option to pay after the order is created, without forcing the client to make an account afterwards?  Most of our clients get a personal design per email first after placing his/her order. When the client is ok with the design they want to pay, but when they have chosen to order as Guest, they can't because they have to login.")*

Hi,

That's indeed the case.
What you can try is to change the code: Code:

$user = JFactory::getUser(); $accesses = JAccess::getAuthorisedViewLevels(@$user-&gt;id); if(!empty($accesses)){ $filters[]='a.access IN ('.implode(',',$accesses).')'; }

to: Code:

if(hikashop_isClient('site')) { $user = JFactory::getUser(); $accesses = JAccess::getAuthorisedViewLevels(@$user-&gt;id); if(!empty($accesses)){ $filters[]='a.access IN ('.implode(',',$accesses).')'; } }

in the file administrator/components/com_hikashop/classes/menus.php
That will skip the access check for links generated from the backend and it should hopefully allow for this override.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjQtcGF5bWVudC1hZnRlci1vcmRlci1pcy1jcmVhdGVkLXdpdGgtZ3Vlc3QtbW9kZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.147 seconds

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