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

#   Approve the purchase

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 7 months ago [\#148711](#148711) by [swhps](/forum/user/31744-swhps "View swhps's Profile")  *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#148711 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")* was created by *[swhps](/forum/user/31744-swhps "View swhps's Profile")*

-- HikaShop version -- : 2.3
-- Joomla version -- : 3.2

Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NjY3MzEtYXBwcm92ZS10aGUtcHVyY2hhc2U/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 7 months ago [\#148734](#148734) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#148734 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Hi,

How about the payment ? Would the payment be made before ? After the approval ? Or maybe there is no payment ?
Who fills the manager ? The user itself during the registration ? Or do we suppose that all the users purchasing are already registered with a manager set for them ?
Based on these, that will heavily change my answer.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 7 months ago [\#148852](#148852) by [swhps](/forum/user/31744-swhps "View swhps's Profile")  Replied by *[swhps](/forum/user/31744-swhps "View swhps's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#148852 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

this will be a hardware request site. There is no payment the user has to worry about, accounting will bill departments. Anyone can order (its an internal site) but we want their manager to approve the order before it is processed.
Ideally I will pull the manager from AD and fill it in but I have not discovered how to do that yet so it would be the user putting it in.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#148953](#148953) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#148953 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Hi,

At this moment I guess that HikaMarket can help you for your task.
You can configure HikaMarket to set the managers as vendors. At this moment, each order made can be assigned to a specific manager who will be noticed by email.

In HikaMarket there is a "vendor selector" feature. It allow you to create an order custom field (HikaShop business required) and assign the entire order to a specific vendor that the customer can choose itself.

I don't know afterwards what you want the manager will be able to do but in HikaMarket, the vendors are limited for the order edition. They can change the order status but not much more.
The main vendor can access to every order elements and modify them like he wants, in the same way than in the HikaShop backend.

So, depending if you want to let more specific rights to your managers, a mix between specific vendor and main vendor can be required.
But at this moment, I will require more details about what your requirements.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 6 months ago [\#153153](#153153) by [swhps](/forum/user/31744-swhps "View swhps's Profile")  Replied by *[swhps](/forum/user/31744-swhps "View swhps's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153153 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

could a new payment plugin be made for "human" approval rather than bank? So the plugin would have an email address rather than a credit card route, the email would go out and have 2 links with in, approve or deny, then the link comes back to hikashop as a credit card transaction might with an approval or deny code. The email could be customized to include all of the details of the order being placed.
We could take the human payment template and make multiple ones for the different approving managers. Eventually picking that payment template based on a LDAP field or restrict them with joomla acl.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NjY3MzEtYXBwcm92ZS10aGUtcHVyY2hhc2U/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 6 months ago [\#153165](#153165) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153165 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Hi,

If you want to create a custom payment plugin, that's of course possible.
We have documentation for developers about our API here:
[ www.hikashop.com/support/support/documen...r-documentation.html](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html)
It also has an example payment plugin that you can look out to understand how a standard payment plugin is built and then you can also look at the existing plugins in plugins/hikashoppayment on your website.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 6 months ago [\#153287](#153287) by [swhps](/forum/user/31744-swhps "View swhps's Profile")  Replied by *[swhps](/forum/user/31744-swhps "View swhps's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153287 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Thanks. I am not much of a developer but will have a look at it. I am surprised more people don't want a feature like this as things move into the business world. I am also reviewing forms that use automated work flows as a potential fix but nothing jumps out.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 6 months ago [\#153299](#153299) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153299 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Hi,

For manual payment we also have plugins like "collect on delivery" that you can use for other cases than the "collect on delivery".
You can put something in the description and modify the email content to display a special text when this payment method is used.
After that, in the backend (or in the front-end using HikaMarket front-edition) someone can edit the order and change the order status, when the payment as been made.

If you want to send special emails when the order is made, you can use the code of the plugin "collect on delivery" to make a new one and add your code to send the emails.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 6 months ago [\#153462](#153462) by [swhps](/forum/user/31744-swhps "View swhps's Profile")  Replied by *[swhps](/forum/user/31744-swhps "View swhps's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153462 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

Thanks for the tip on COD. The process I am working towards is an email being sent to the manager once the order has been made. (manager's email address will be pulled from ldap, working with another joomla extension to get that). Then the manager clicks on **approve** or **deny** and the link goes back to Hikashop and either processes the order (approve) or follows the current process for declined payment (denied). The email will also serve as a paper trail if we need to see who approved it.

Looking at the paypal addin, I am starting to see where the link is created but not sure yet where in the flow the change will need to be made.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NjY3MzEtYXBwcm92ZS10aGUtcHVyY2hhc2U/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 6 months ago [\#153562](#153562) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Approve the purchase](/forum/33-customers/866731-approve-the-purchase#153562 "-- HikaShop version -- : 2.3 -- Joomla version -- : 3.2  Is there a way for an order to be placed and it not go thru until it is approved by a manager? Perhaps, send an email link to the approving manager (manager will be different for various people so its a filed that would need to be filled in or pulled from LDAP) and the manager then clicks thru to approve the order?")*

You probably want to plug your code in the onAfterOrderConfirm function of a payment plugin so that it is called at the end of checkout just after the order is create.

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

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

[](#top)
