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

#   custom order number not on payment gateway

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

10 years 10 months ago [\#225959](#225959) by [jpeters](/forum/user/40270-jpeters "View jpeters's Profile")  *[custom order number not on payment gateway](/forum/27-checkout/881450-custom-order-number-not-on-payment-gateway#225959 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : no error.. just a issue  i am using a custom order and invoice number format. Order number format: ord-{id size=&quot;5&quot;}/{date format=&quot;m/Y&quot;} Invoice number format: inv-{id size=&quot;5&quot;}/{date format=&quot;m/Y&quot;} this is working everywhere, but when a customer checks out the wrong format order number is given to the payment gateway.. It's still the basis order number .. #17 and not ord-00017/01/2016  how to fix this.. otherwise its misleading for the customer and matching orders, payments, etc.. in the hikashop order overview the custom order and invoice number are correct. on the invoice also..")* was created by *[jpeters](/forum/user/40270-jpeters "View jpeters's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : no error.. just a issue

i am using a custom order and invoice number format.
Order number format: ord-{id size="5"}/{date format="m/Y"}
Invoice number format: inv-{id size="5"}/{date format="m/Y"}
this is working everywhere, but when a customer checks out the wrong format order number is given to the payment gateway.. It's still the basis order number .. #17 and not
ord-00017/01/2016

how to fix this.. otherwise its misleading for the customer and matching orders, payments, etc..
in the hikashop order overview the custom order and invoice number are correct.
on the invoice also..

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

10 years 10 months ago [\#226017](#226017) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[custom order number not on payment gateway](/forum/27-checkout/881450-custom-order-number-not-on-payment-gateway#226017 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : no error.. just a issue  i am using a custom order and invoice number format. Order number format: ord-{id size=&quot;5&quot;}/{date format=&quot;m/Y&quot;} Invoice number format: inv-{id size=&quot;5&quot;}/{date format=&quot;m/Y&quot;} this is working everywhere, but when a customer checks out the wrong format order number is given to the payment gateway.. It's still the basis order number .. #17 and not ord-00017/01/2016  how to fix this.. otherwise its misleading for the customer and matching orders, payments, etc.. in the hikashop order overview the custom order and invoice number are correct. on the invoice also..")*

Hi,

Depending the payment method, the order number is not yet available when the payment is made.
And for almost every payment methods, except rare configuration cases, the "invoice number" is not available because you need to confirm the order to get it.

And when a payment method use the Order ID ; it will use the order ID and not the order number.

Your issue is not related to HikaShop or his features ; it is more related to the payment plugin you're using.

Regards,

---

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

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

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