Problem with "Pay" the Vendors

  • Posts: 58
  • Thank you received: 2
6 years 4 months ago #283010

-- HikaShop version -- : 3.2.1
-- HikaMarket version -- : 2.0.0
-- Joomla version -- : 3.8.2
-- PHP version -- : 7

Hi

when I try to PAY my vendors in Hikamarket (selcting a vendor, then selecting the orders, Manual method)
I always get this error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'vendor_payment_notification' LIMIT 0, 1' at line 1

The vendor payment notofication settings are on:
MARKET_VENDOR_PAYMENT_NOTIFICATION : active
vendor_payment_notification: active in Market settings

What is causing this problem?
thanks

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 4 months ago #283012

Hello,

Please re-download HikaMarket 2.0.0 in order to get the fix.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 58
  • Thank you received: 2
6 years 4 months ago #283130

Hi,

Installation

installing 2.0.0 did not work without error - error message of Joomla:
WARNING: Duplicate entry '1-1-Vendors-*' for key 'idx_client_id_parent_id_alias_language'

Then I did it again and it worked, no error message anymore.

Did the installation a third time:
WARNING: Duplicate entry '1-1-Vendors-*' for key 'idx_client_id_parent_id_alias_language'


Using Pay function

I can do the "Pay", send an "You have been paid" Email with the correct amount to the correct vendor. So far so good.
But the email has errors, one in the head of the mail one in the content.
Please see screenshot

Warning: Creating default object from empty value in /media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 41 Warning: Invalid argument supplied for foreach() in media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 106 Warning: Invalid argument supplied for foreach() in media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 116
Warning: Creating default object from empty value in /media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 41 Warning: Invalid argument supplied for foreach() in /media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 106 Warning: Invalid argument supplied for foreach() in /media/com_hikamarket/mail/vendor_payment_notification.preload.php on line 116

thanks for help

Attachments:
Last edit: 6 years 4 months ago by Jerome. Reason: removing private stuff

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 4 months ago #283146

Hello,

The error regarding the duplicate entry is not related to HikaMarket directly (Because I do not have any mention of "idx" in HikaMarket.) but it might be related to the Joomla installation system ; and I think it's regarding the menus (which should be added via the install XML).
I'll have a look and try to reproduce it in a local website.

Regarding the vendor pay ; please re-download HikaMarket 2.0.0 in order to get a patch to improve the data in the object passed in the function which generate the email.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.048 seconds
Powered by Kunena Forum