[SOLVED] Duplicate Order Numbers: PayPal Payment

  • Posts: 284
  • Thank you received: 6
10 years 9 months ago #145602

-- url of the page with the problem -- : www.resumesthatwork.com.au/
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

I recently updated my client's website to Joomla 3.2.2 from Joomla 2.5.
Thus this was a new HikaShop install again since it was a different platform.
Paypal is now stopping payment on all of the orders because the invoice numbers are the same as the old system. So it appears that the invoice was already paid.

I did change the Order and Invoice number format to: 2014-{automatic_code}
The order numbers now appear as: Order number : 2014-Q14
(The last order number in the J2.5 site was: F1W34)

But this DOES NOT seem to fix the problem.
Same error with PayPal:

This invoice has already been paid. For more information, please contact the merchant.

Your purchase couldn't be completed
There's a problem with the merchant's PayPal account. Please try again later.

Last edit: 10 years 9 months ago by MSTACE.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #145644

Hi,
A solution will probably be :
- To clear your order listing history through your PayPal account
- or to increase your order number by using this SQL request through your phpmyadmin for example :
ALTER TABLE #_hikashop_order AUTO_INCREMENT=10000;

Please Log in or Create an account to join the conversation.

  • Posts: 284
  • Thank you received: 6
10 years 9 months ago #145793

Th Alter Table worked.
Thank you very much.

Orders going trough to PayPal now.

Please Log in or Create an account to join the conversation.

  • Posts: 284
  • Thank you received: 6
10 years 9 months ago #145809

UPDATE:

The first order after the Alter Tables worked fine.
The rest of the orders since then are being rejected by PayPal as duplicates again.

Re-did the SQL command. NOW the order numbers look totally different.
Working now.

Last edit: 10 years 9 months ago by MSTACE.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #145831

Ok, thanks for your feedback :).

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1
10 years 7 months ago #151398

Hello,
Is there a work-around for this solution? I have no idea how to use PHP , although I do have FTP access to all files on my website server. And paypal does not allow for deleting order history.

Thank You,

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1
10 years 7 months ago #151443

I solved the issue via FTP by going to the following file path:

/httpdocs/administrator/components/com_hikashop

Access the SQL file tables.sql

Scroll down to #_hikashop_tables

change the "int(10) value to a different increment value

save the file and re-upload to the server.

The following user(s) said Thank You: Xavier

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #151469

Hi,

Thanks for having shared your solution.

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum