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

#   Normal operation of invoices

##

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

Less More

- Posts: 78
- Thank you received: 5
-
-

5 years 5 months ago [\#333003](#333003) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  *[Normal operation of invoices](/forum/35-orders-management/902668-normal-operation-of-invoices#333003 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  I'm confused as to the normal invoicing process for Hikashop. It seems that according to , an invoice is only created after the order is &quot;confirmed&quot;, but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, &quot;Invoice&quot; would need to be a payment option type.  Is there a way to set up Hikashop to work like this?")* was created by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")*

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.3.28

I'm confused as to the normal invoicing process for Hikashop. It seems that according to [ this post](https://www.hikashop.com/forum/orders-management/895029-invoice-in-hikashop-starter.html#294255), an invoice is only created after the order is "confirmed", but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, "Invoice" would need to be a payment option type.

Is there a way to set up Hikashop to work like this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMjY2OC1ub3JtYWwtb3BlcmF0aW9uLW9mLWludm9pY2VzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

5 years 5 months ago [\#333023](#333023) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Normal operation of invoices](/forum/35-orders-management/902668-normal-operation-of-invoices#333023 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  I'm confused as to the normal invoicing process for Hikashop. It seems that according to , an invoice is only created after the order is &quot;confirmed&quot;, but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, &quot;Invoice&quot; would need to be a payment option type.  Is there a way to set up Hikashop to work like this?")*

Hi,

That's not a problem. If you create a payment method with the HikaShop check payment plugin, via the "new" button of the System&gt;Payment methods menu, you'll find an "order status" setting there which allows you to have the orders' status be "confirmed" at the order creation, when that payment method is chosen, and thus the invoice will be available directly after the checkout, before any payment is made, while it will still work normally for your credit card payment method.

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

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

Less More

- Posts: 78
- Thank you received: 5
-
-

5 years 5 months ago [\#333050](#333050) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  Replied by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")* on topic *[Normal operation of invoices](/forum/35-orders-management/902668-normal-operation-of-invoices#333050 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  I'm confused as to the normal invoicing process for Hikashop. It seems that according to , an invoice is only created after the order is &quot;confirmed&quot;, but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, &quot;Invoice&quot; would need to be a payment option type.  Is there a way to set up Hikashop to work like this?")*

Thanks! That worked! Can you tell me how I can then put a link to download the invoice on that confirmation page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMjY2OC1ub3JtYWwtb3BlcmF0aW9uLW9mLWludm9pY2VzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

5 years 5 months ago [\#333057](#333057) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Normal operation of invoices](/forum/35-orders-management/902668-normal-operation-of-invoices#333057 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  I'm confused as to the normal invoicing process for Hikashop. It seems that according to , an invoice is only created after the order is &quot;confirmed&quot;, but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, &quot;Invoice&quot; would need to be a payment option type.  Is there a way to set up Hikashop to work like this?")*

Hi,

You can copy the file plugins/hikashoppayment/check/check_end.php to templates/YOUR_TEMPLATE/hikashoppayment/check_end.php via FTP to create an override of that page.
Then, you can directly edit the content of that file to add your custom code to generate the link that you can get when you edit the order via the orders listing of the frontend.
So something like that: Code:

&lt;?php global $Itemid; $url_itemid = (!empty($Itemid) ? '&amp;Itemid=' . $Itemid : ''); ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('order&amp;task=invoice&amp;order_token='.$this-&gt;order-&gt;order_token.'&amp;order_id='. $this-&gt;order-&gt;order_id.$url_itemid); ?&gt;"&gt;Invoice is here&lt;/a&gt;

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

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

Less More

- Posts: 78
- Thank you received: 5
-
-

5 years 5 months ago [\#333099](#333099) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  Replied by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")* on topic *[Normal operation of invoices](/forum/35-orders-management/902668-normal-operation-of-invoices#333099 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.28  I'm confused as to the normal invoicing process for Hikashop. It seems that according to , an invoice is only created after the order is &quot;confirmed&quot;, but for my instance, the order is only confirmed after payment has been made. In my business, a client either pays by credit card OR requests an invoice so they can pay by check. So with this type of situation, &quot;Invoice&quot; would need to be a payment option type.  Is there a way to set up Hikashop to work like this?")*

Thank you!

And a note to anyone else who is doing something similar: Once you set up the Check payment option, you can set the "Order status" field to "invoiced". Now, when a user uses the code above, they can download their invoice, and on the back-end, it will show up as "invoiced".

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

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

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