HikaShop Business & Joomla's ACL system -> Payment

  • Posts: 461
  • Thank you received: 36
11 years 5 months ago #105447

HI,
I have a portal with joomla 3.x + Seblod 3.x + HikaShop Business
On the portal I manage differents "Category"/"Sections" for differents User Levels / UserGroups.

There are some HikaShop products that are available for the entire portal users, some products are reserved for special "Category"/"Sections" = User Levels / UserGroups.

I assigned each special "Category"/"Sections" management to a specific responsible (one user with some "admin" special rights) that have to receive the payments of the specific products of that "Category"/"Sections" = User Levels / UserGroups.

Is there a way to set for that products their own PayPal account as payment method ?!?
How ?

Many Thanks

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #105468

Hi,

So, you want to have two (or more) paypal configurations with different restrictions (User Levels / UserGroups), right ?

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: 461
  • Thank you received: 36
11 years 5 months ago #105476

Hi Jerome,

Well, I can restrict product access, and then that product will be paid on a specified PayPal account (account of the section/group manager).
So, I think the restriction is on product, while I have to assign different PayPal account for each product.

So, on the portal payments will be chrged on differents PayPal accounts...

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #105540

Hi,

We are working on a new payment/shipping system in HikaShop, we include some new restrictions.
We could see to include a category restriction. So, with this feature, it would be possible in the next big release of HikaShop.

But, even if there will be a multi-payment system, only one payment method can be use to pay an order.
So if there is two products in two categories. No payment method will be available.

Could it be right for you ?

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: 461
  • Thank you received: 36
11 years 5 months ago #105543

Jerome wrote: But, even if there will be a multi-payment system, only one payment method can be use to pay an order.
So if there is two products in two categories. No payment method will be available.


Hi Jerome,
sorry, I'm not sure to understand what you mean.

- At the begin for me is sufficient have just a PayPal payment method.
- One payment method per product is OK.
- I need to be able to assign different PayPal accounts depending on product (and its category/usergroup restrictions).

So, on the same portal I have:
  • Paying the Products A-B-C-D into the Category A restricted for Usergroup A will charge the PayPal account A
  • Paying the Products E-F-G-H into the Category B restricted for Usergroup B will charge the PayPal account B
  • Paying the Products I-L-M-N into the Category C restricted for Usergroup C will charge the PayPal account C

I countinued to looking for into forums, and I found this reply about PayPal payment that seem be similar question...
Hooping this can help us to find a solution...

Last edit: 11 years 5 months ago by joomleb.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #105569

Hi,

What can be probably done, is create many shipping method with restrictions based for example on the weight or volume.
The products A-B-C-D can have a weight of 1g, E-F-G-H of 1kg and I-J-K-L of 100kg, and the shipping methods will be "A from 1g to 999g", "B from 1kg to 99kg", "C from 100kg to ...".
Then duplicate the paypal plugin (you have to change all the name params, they must be unique, or wait for our multi payment system which should arrive in june) and for each paypal method, set as restriction a shipping method.

By this way, the different products will have her own shipping method, so her own paypal method with the desired account.

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

  • Posts: 461
  • Thank you received: 36
11 years 5 months ago #105580

Hi Xavier,

in first, many thanks for the trip.
However I have to say that work on "virtual weight" is a little bit disagreeable, I will not be able work with real products...
Sure, if it solve the problem, I can wait till June (hooping is not at the end of it :P )
Please, Can you spend more words and tell me anything more about this "multi payment system"?

Many Thanks

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #105584

Sorry I didn't read the solution proposed by Jerome, this will be good in your case, the products are in one category, so you will have to restrict a shipping method to a category (no more weight restrictions), and then restrict a paypal to a shipping method.

It will be easiest to configure than my trip.

The multi-payment will allow you to add as many paypal (or other payment method) as you want, and restrict these payment methods for some cases.

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

  • Posts: 461
  • Thank you received: 36
11 years 5 months ago #105589

So, if I understood well, I need:

  1. Category restriction. This feature, will be possible in the next big release of HikaShop. Please, when +/-?!?
  2. Multi-payment plugin (add many many payment method like paypal). Ready in June, Please, when +/-?!?
Many Thanks for Support... I think this will be really a very good release...

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #105614

We can't be more precise than saying that it will be during June actually.

The following user(s) said Thank You: joomleb

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

  • Posts: 461
  • Thank you received: 36
11 years 4 months ago #112339

joomleb wrote: So, if I understood well, I need:

  1. Category restriction. This feature, will be possible in the next big release of HikaShop. Please, when +/-?!?
  2. Multi-payment plugin (add many many payment method like paypal). Ready in June, Please, when +/-?!?


On 29 June HikaShop 2.2.0 has been released
I'm not able to understand if the features "Category restriction" - "Multi-payment plugin" we spoke are included or not.
Please, Can you update me?

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 4 months ago #112341

Category restriction for shipping methods/payment methods couldn't be implemented for now.
However, multi payment is possible.
And if you want to have different insteances of payment methods for different products, it's possible, not with category restrictions but with the multivendor system.
If you assign each product to a different vendor, and then each payment method instance to its corresponding vendor, you can have different payment methods for different products.

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

  • Posts: 461
  • Thank you received: 36
11 years 4 months ago #112342

So:

  1. Category restriction. This feature mentioned by Jerome is not been implemented yet ("couldn't be implemented for now"), but Will be released soon ?
  2. Multi-payment plugin (add many many payment method like paypal). This feature is yet implemented. Please, Is there a guide or anything else to learn exactly how it is work?

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 4 months ago #112347

1. We want to implement it at some point. but not in the next 2 months as we have more important features to work on before that.
2. There is no need for a guide. Go in the menu System>Payment methods, and create new payment method instances with the "new" button.

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

  • Posts: 461
  • Thank you received: 36
11 years 2 months ago #120871

Hi Nicolas,

On your last email about HikaShop 2.2.1 I can read:
Multi-shipping, multi-payment
You can create different configurations of your payment or shipping methods based on the same plugin. For example, if you want to provide different shipping methods for different types of products, it is now possible.
The multi-shipping/multi-payment is also compatible with HikaMarket, so that each vendor can have its own shipping and/or payment methods.
Doing this, we also improved the shipping/payment plugins API so that you can do more with less: payment plugins have roughly 30% less PHP code to do the same thing, and you automatically get the restrictions/multi-instances options supported by your plugin.

Please:

  • Is this the solution ?
  • Where can I find detailed informations on this "new feature" ?
  • Where can I find new shipping/payment plugins API instructions ?

Many Thanks!

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

  • Posts: 2334
  • Thank you received: 403
11 years 2 months ago #120893

Hi there,

This is indeed the feature Nicolas was talking about.
However we didn't updated our documentation so the best thing is to take a look by yourself (on our demo website for example). It's not so different from what you had before but you can have multiple instance of a payment method (with different account).

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 2 months ago #120895

Hi,

1. Yes, that's actually what I was saying in my message on the point 2. However, as I said in point 1, we do not yet handle restrictions per categories.

2. There is no detailed information since the only change regarding the interface is the "new" button for creating new instances of payment/shipping plugins and the new restrictions options when you edit each payment method.

3. The API is roughly the same with the main change being that you need to extend from the HikaShopPaymentPlugin class and call the parent functions when necessary, like you can see in the code of the payment plugins included by default in HikaShop.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum