Error at PayPal checkout

  • Posts: 26
  • Thank you received: 0
  • Hikashop Essential
7 months 6 days ago #361108

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.1
-- Browser(s) name and version -- : Firefox

Hi, I am getting the following error when using the Paypal checkout.
"The payment request was refused by PayPal. Please click here to return to the checkout.
[DUPLICATE_INVOICE_ID] Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction."

This error is occurring despite unique invoice numbers being generated for orders. See attached screenshot.
Have you any idea how to solve this issue?
Cheers,
Jonathan

Attachments:

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
7 months 6 days ago #361110

Hi,

This is usually because you were already using your PayPal account with another ecommerce solution on your website, or another website, which used or uses the same order ids.

You have two solutions:
- The complex one is to modify the auto_increment of the order_id column in the hikashop_order table of HikaShop via your PHPMyAdmin in order to start with a big number, in order to not conflict with the order ids already used.
- The simple solution is for you to navigate to www.paypal.com/businessmanage/preferences/payments of your PayPal account and under "Block accidental payments" select "No, allow multiple payments per invoice ID".

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

Time to create page: 0.046 seconds
Powered by Kunena Forum