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

#   Can we control eWay invoice numbers?

##

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 3 months ago [\#210078](#210078) by [austega](/forum/user/37734-austega "View austega's Profile")  *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210078 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")* was created by *[austega](/forum/user/37734-austega "View austega's Profile")*

-- url of the page with the problem -- : [ j3.sag.org.au](http://j3.sag.org.au)
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.43

My client uses the Hikashop eWay Australia payment plugin and it is working effectively.

However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.

Are we able to pass through the Hikashop order/invoice number and have this used by eWay?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84Nzg0NzUtY2FuLXdlLWNvbnRyb2wtZXdheS1pbnZvaWNlLW51bWJlcnM/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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210124](#210124) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210124 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")*

Hi,

Unfortunately it's not possible.
The eWay gateway ask for an invoice number before the payment, so before the creation of the order ; so the plugin generate a unique code for the platform.
If we change the plugin to call the eWay gateway after the order creation in HikaShop ; if the user enter a wrong card number, he couldn't be redirect to the checkout workflow, he will have to create a new order or to go in his order listing and finish an unfinished order (if that option is activated in your website).

And because that is not very friendly for the customer ; we prefer to stay this way.

Regards,

---

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

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 3 months ago [\#210143](#210143) by [austega](/forum/user/37734-austega "View austega's Profile")  Replied by *[austega](/forum/user/37734-austega "View austega's Profile")* on topic *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210143 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")*

Thanks for the explanation.

I don't suppose we can reverse it then and use part or all of the eWay ref in the Hikashop invoice/order number?

David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84Nzg0NzUtY2FuLXdlLWNvbnRyb2wtZXdheS1pbnZvaWNlLW51bWJlcnM/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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210151](#210151) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210151 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")*

Hi,

That's right, the reverse is not recommended in order to not break the invoice numeration.
The only thing I can see is to create an order custom field, only visible in the backend (and backend listing) and to modify the eWay plugin in order to store the sent invoice ID into that custom field just before the order is created in the database.

Regards,

---

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

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 3 months ago [\#210350](#210350) by [austega](/forum/user/37734-austega "View austega's Profile")  Replied by *[austega](/forum/user/37734-austega "View austega's Profile")* on topic *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210350 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")*

You should probably not assume I understand all the restrictions you are referring to...

But do I take it that it would be possible to set up a custom field that displays only in the backend that could capture the eWay reference number or some part thereof to faciliate reconciliation between eWay and Hikashop?

David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84Nzg0NzUtY2FuLXdlLWNvbnRyb2wtZXdheS1pbnZvaWNlLW51bWJlcnM/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

11 years 3 months ago [\#210352](#210352) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can we control eWay invoice numbers?](/forum/29-payment-methods/878475-can-we-control-eway-invoice-numbers#210352 "-- url of the page with the problem -- :   j3.sag.org.au  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.43  My client uses the Hikashop eWay Australia payment plugin and it is working effectively.  However the invoice reference number that appears on the eWay communications and statements is completely different to the order/invoice numbers set in Hikashop, making it difficult to reconcile.  Are we able to pass through the Hikashop order/invoice number and have this used by eWay?")*

Hi,

Yes, it would be possible with some modifications of the code of the eWay payment plugin.

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

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