How to Hikamarket commission model help.

  • Posts: 23
  • Thank you received: 0
8 years 4 months ago #245282

Hi, been playing the hikamarket for 2 weeks still can't figure out how to setup this model:

  • 10% commision model for total order amount (product with tax + shipping with tax)
  • Vendor direct receive payment and handle product+shipping (vendor own payment & shipping methods).

Example:
item1 x 1 $100
shipping $10
Tax@5%=$5.5
Total=$115.5
We bill vendor 10% of $115.5 = $11.55

Thank you.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245292

Hi,

Can you please provide a screenshot of your HikaMarket global "Taxes and fees options" configuration ?

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: 23
  • Thank you received: 0
8 years 4 months ago #245320

Hi, Thanks for reply, here you are attached screenshot.
Actually been tried almost all combination, store paid direct, vendor paid directly, vendor price w tax, apply fees on shipping..
Can't get the correct calculation for commission.
Update if you need access the test site.
Thank you.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245327

Hi,

I would check the "Global fee" setting ; otherwise your configuration looks good for that part.
What is the issue with the result ?

If you want to provide us access to your test site, please use the "contact us" form with a link to that forum thread.
www.hikashop.com/contact-us-credentials.html

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: 23
  • Thank you received: 0
8 years 4 months ago #245355

Hi, site access info send via contact form, pls check.

Cannot get the correct 10% commision amount from total order.

Example order detail:
Subtotal10.60 MYR
Shipping 5.30 MYR 0.02-1kg
Payment fee 0.00 MYR Bank transfer
GST 6% 0.90 MYR
Customer total 15.90 MYR
Shipping fees 4.77 MYR
Vendor total -11.13 MYR

The 10% commission should be 15.90*0.1=1.59

Thank you.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245391

Hi,

While I understand the result of the order "00027", I cannot see how you got such result for the order "00031" because it is the order total (with taxes) minus the shipping price.
Thanks to your accesses I will duplicate your configuration in a local website and process some internal tests with a lot of debug trace.

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: 23
  • Thank you received: 0
8 years 4 months ago #245397

Hi,

Order 00027 is not correct, the setting for this order is vendor paid directly, 10% commission for product only.
Subtotal 20.00
Shipping 8.00
Payment fee 0.00
Customer total 28.00
Vendor total -10.00 <-- 2(10% of 20)+8.00 this is not correct

10% commission of product should = 2.00 or (-2.00 negative mean vendor should pay me back the commission), the system calculate vendor total 2.00+8.00(shipping) while the shipping fee should belong to vendor.
______________________________________________________________

Order: 00031, I set the commission 10% for total order.

Subtotal 10.60 <--10 x 1.06 correct
Shipping 5.30 <-- 5 x 1.06 correct
Payment fee 0.00 Bank transfer <- correct
GST 6% 0.90 <-- 10+5 x 1.06 correct
Customer total 15.90 <-- correct
Shipping fees 4.77 <-- what is this, I never set any shipping price
Vendor total -11.13 MYR <-- 10% of total order should be 1.59 or -1.59

Thank you.

Attachments:
Last edit: 8 years 4 months ago by caseyy.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245400

Hi,

I didn't wrote that the result is correct ; I wrote that I understand the process..
That's a total different thing !


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: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245559

Hi,

The issue was related to the shipping processing. The value stored in the vendor params is the shipping cost minus the store fees and not just the store fees.
I have create a patch which modify several lines (in different parts) in the HikaMarket order class.

In order to apply the patch in your website, it will be easier for us to use an FTP access.
Would it be possible to have such access in order to apply the patch and verify that it is working fine ?

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: 23
  • Thank you received: 0
8 years 4 months ago #245570

HI,
Thanks for the support, ssh/sftp user created and sent via support form, please check.
Can you create a update package after verify so that I can install it on live site.
Thank you very much!

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245576

Hi,

Thanks for the access but we are not able to modify the files with the current credentials :

administrator/components/com_hikamarket/classes/order.php: open for write: permission denied

So we will send you by email a ZIP with the patched order.php file.

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: 23
  • Thank you received: 0
8 years 4 months ago #245579

Hi, Yes, it seems permission issue with sftp, have to use ssh and sftp together. sftp put the file to user /home then use ssh copy/move the file, your user with sudo privilege.
__________

Result for order status "created" look good, however result for order status "confirmed" will add the shipping with store fees.
Order:00035
Subtotal 10.60 MYR
Shipping 5.30 MYR 0.02-1kg
Payment fee 0.00 MYR Bank transfer
GST 6% 0.90 MYR
Customer total 15.90 MYR
Shipping fees 4.77 MYR
Vendor total -6.89 MYR

Thank you.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245580

Hi,

What did you do to reprocess the vendor total ?
I performed some tests to call the function "recalculateVendorPrice" but it returns me the same result.
So I have to understand where the function is called to see how the shipping could be added.

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: 23
  • Thank you received: 0
8 years 4 months ago #245584

Hi.
I manually update the order status on front end vendor control panel, after update the order status to "confirmed" then back to order list and select/view the order again the vendor total will add up store fee and shipping fee.
Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245632

Hi,

I installed a new package in your website ; the reprocessing of the order total is now better.
I saw a potential problem with the adjustments (because your vendors are paid directly, if the total changed there is a fund adjustment). but you had the issue mostly because the first total was not correct. So I'll continue to investigate on that but the latest version should be already better.

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: 23
  • Thank you received: 0
8 years 4 months ago #245653

Hi,
Thank you for the help. yes is show the correct figure now.
can you email me the package ? or only replace the order.php ?

Since you found the potential problem with the adjustments and hope you can improve it in next update, I too found a minor issue related to the fund adjustment,
-adjustment for order cancelled/refund after main store issue/generated invoice is not reverse.

Thanks.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245657

Hi,

-adjustment for order cancelled/refund after main store issue/generated invoice is not reverse.

I am sorry but I don't understand that sentence.
Can you please reformulate it or provide details ?

Thanks,


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: 23
  • Thank you received: 0
8 years 4 months ago #245667

Hi, what i mean is for the store fees or commission.

Example:
-order xxx - vendor total= -10.00(negative mean vendor owe main store).
-main store generate invoice for this 10.00, then vendor's store fees balance =0.00, this is correct.
-when store admin change the order xxx to cancelled/refund at backend (dispute/chargeback/return or whatever reason), the store fees 10.00 not reimburse to vendor.

Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245715

Hi,

Thanks for the details ; I'm working on some patches.

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.
The following user(s) said Thank You: caseyy

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

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