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

#   The transaction was refused as a result of a dupli

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

10 years 7 months ago [\#235555](#235555) by [aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")  *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#235555 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")* was created by *[aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.0
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Firefox 39.0.3
-- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID

When I try to make a purchase I get this message.
Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
Using PaypalPro Sandbox with a fake credit card.
I tried as a guest and as a registered user.
This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:

Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public_html/administrator/components/com_hikashop/helpers/helper.php on line 2578

Is there a relationship here? What is the problem?Solution??

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

10 years 7 months ago [\#235567](#235567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#235567 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

Hi,

Regarding the duplicate error please follow this:
[ www.hikashop.com/support/documentation/i...l-error.html#already](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#already)

Regarding the fatal error, download again the install package on our website and install it on yours and that will add the patch for the problem.

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

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

Less More

- Posts: 279
- Thank you received: 1
-
-

9 years 2 months ago [\#277898](#277898) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  Replied by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#277898 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

I followed the link but the information seems to be outdated - for one it still refers to tables starting jos_. Anyway, I ran that query in SQL (first replacing the table prefix of course). I got "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0035 seconds.)" which I kind of expected as there's nowhere in that table which refers to auto_increment.

Can you confirm the PHPMyAdmin fix for this, please? I have had the client apply the PayPal fix temporarily, but that's not satisfactory long term to allow duplicates.

Cheers

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

9 years 2 months ago [\#277900](#277900) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#277900 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

Hello,

What are you talking about ?
Please read the documentation carefully and if you do not understand some of technical points regarding MySQL ; say it or try to find some documentation to help you.
But I'm sorry to say that your current message is not understandable at all.

Regards,

---

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

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

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

Less More

- Posts: 279
- Thank you received: 1
-
-

9 years 2 months ago [\#277961](#277961) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  Replied by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#277961 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

I'm sorry you didn't follow my post. Let me try to be clearer for you.

In a post above, there was a link given to some HS documentation - [ www.hikashop.com/support/documentation/i...l-error.html#already](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#already) - I followed this link.

That page had this following help:

*"On the HikaShop side:

Open your phpmyadmin (a tool provided by your hosting company in order to administer your database) and select your database. There, increase the auto\_increment value of the hikashop\_order table by running a query like this:

ALTER TABLE jos\_hikashop\_order auto\_increment = 100000;

That query will result in the order id of your orders to start at 100000. That way, it won't conflict with other e-commerce application using your paypal account with order ids starting at 0 like HikaShop does by default. Note that if you use another table prefix than jos\_ you need to change it to your table prefix in the query. "*

I did actually read this carefully and understand completely what it's saying to do. I know enough about PHPMyAdmin to enter SQL queries, and this was very easy as the query was already in the help. I copied this query, replacing jos_ with my database prefix name (as mentioned in my previous post). The query executed correctly, without errors, but, as previously mentioned, the query made no changes (SQL returned an empty set), and the problem remains.

Given that the documentation refers to tables starting with jos_ (from Joomla 1.5) I asked if the documentation was up to date and if the SQL query was still correct.

Sorry, I can't make it any clearer than that.

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

9 years 2 months ago [\#277962](#277962) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#277962 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

Hello,

CF : [ dev.mysql.com/doc/refman/5.7/en/example-auto-increment.html](https://dev.mysql.com/doc/refman/5.7/en/example-auto-increment.html)

The auto increment is a counter which allow to generate dynamically the table key, for the HikaShop order table, it's the order_id value.
And changing the auto_increment counter won't change anything at the current content since it's just changing the counter for the future inserted elements.
So yeah, performing an ALTER on a table to change the auto_increment do not affect any single row in the table since it's not a row in the table you're modifying but the auto_increment counter value which is a part of the MYSQL internal data for the tables.

So please check the increment value once you have perform the query and see that your new orders right have a bigger value for the "order_id". And you can note that the modification of the database is just one of the two proposed solution for that issue.

Regards,

---

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

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

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

Less More

- Posts: 279
- Thank you received: 1
-
-

9 years 2 months ago [\#278033](#278033) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  Replied by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")* on topic *[The transaction was refused as a result of a dupli](/forum/27-checkout/883640-the-transaction-was-refused-as-a-result-of-a-dupli#278033 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.0 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Firefox 39.0.3 -- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID  When I try to make a purchase I get this message. Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID Using PaypalPro Sandbox with a fake credit card. I tried as a guest and as a registered user. This is on a test site. On the live site, (out of the sandbox)when I get to this point, I get this message:  Catchable fatal error: Object of class stdClass could not be converted to string in /home/tiffinta/public&#95;html/administrator/components/com&#95;hikashop/helpers/helper.php on line 2578  Is there a relationship here? What is the problem?Solution??")*

Ahh thank you Jerome. I was looking for a row. Yep I see the order numbers now start at 100000.

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