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

#   Sagepay problem - VendorTXCode

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

12 years 5 months ago -  12 years 5 months ago [\#156604](#156604) by [mediaset](/forum/user/22485-mediaset "View mediaset's Profile")  *[Sagepay problem - VendorTXCode](/forum/29-payment-methods/868341-sagepay-problem-vendortxcode#156604 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- :   www.hunterstoves.co.uk/  -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Our sage pay plugin has been working fine until now. We now have an error message on Sagepay. Sagepay say its a transaction code issue on our site and we should speak to you.  INVALID : The VendorTxCode has been used before. All VendorTxCodes sh... Support  Every transaction registration that is sent over to the Sage Pay systems must have its own unique VendorTxCode. If the VendorTxCode matches that of a previous transaction registration for a successful transaction against your account you will receive this error message.  Solution: You must check your code to ensure that you are posting a unique VendorTxCode for each new transaction. If you are posting over a VendorTxCode that has been used for a previous transaction registration for a successful transaction against your account you will be presented with this error message.  Ok - how can this be done in Hikashop? Could anyone help?")* was created by *[mediaset](/forum/user/22485-mediaset "View mediaset's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : [ www.hunterstoves.co.uk/](http://www.hunterstoves.co.uk/)
-- Joomla version -- : 2.5.14
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Our sage pay plugin has been working fine until now. We now have an error message on Sagepay. Sagepay say its a transaction code issue on our site and we should speak to you.

INVALID : The VendorTxCode has been used before. All VendorTxCodes sh...
Support

Every transaction registration that is sent over to the Sage Pay systems must have its own unique VendorTxCode. If the VendorTxCode matches that of a previous transaction registration for a successful transaction against your account you will receive this error message.

Solution:
You must check your code to ensure that you are posting a unique VendorTxCode for each new transaction. If you are posting over a VendorTxCode that has been used for a previous transaction registration for a successful transaction against your account you will be presented with this error message.

Ok - how can this be done in Hikashop? Could anyone help?

Last edit: 12 years 5 months ago by [mediaset](/forum/user/22485-mediaset "View mediaset's Profile"). Reason: additional info

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

12 years 5 months ago [\#156610](#156610) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sagepay problem - VendorTXCode](/forum/29-payment-methods/868341-sagepay-problem-vendortxcode#156610 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- :   www.hunterstoves.co.uk/  -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Our sage pay plugin has been working fine until now. We now have an error message on Sagepay. Sagepay say its a transaction code issue on our site and we should speak to you.  INVALID : The VendorTxCode has been used before. All VendorTxCodes sh... Support  Every transaction registration that is sent over to the Sage Pay systems must have its own unique VendorTxCode. If the VendorTxCode matches that of a previous transaction registration for a successful transaction against your account you will receive this error message.  Solution: You must check your code to ensure that you are posting a unique VendorTxCode for each new transaction. If you are posting over a VendorTxCode that has been used for a previous transaction registration for a successful transaction against your account you will be presented with this error message.  Ok - how can this be done in Hikashop? Could anyone help?")*

The VendorTxCode contains the order ID.
This indicates that you're using the same order IDs as before and SagePay doesn't allow that. You probably must have done some tets with your account and then reset the order ids and thus it's colliding with the previous orders ids you had.
PayPal has actually a similar check on the order id. Here is the documentation relative to PayPal for that issue:
[ www.hikashop.com/support/documentation/i...l-error.html#already](http://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#already)
It explains how to increase the order_id to 10000 so that you don't get the problem anymore.

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

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

[](#top)
