Separate payment method on Cart just like with the Shipping methods

  • Posts: 50
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 years 5 months ago #333069

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.27
-- PHP version -- : 7.3.28
-- Browser(s) name and version -- : Chrome 90.0.4430.212

Hi there,

We would like to be able to have separate payment methods in the same cart, as is the case with shipping methods using the warehouse and restrictions technique.

As you can see from the screenshots, products on different warehouses in the same cart have shipping methods that match the warehouse, but the payment is only one!

Payments have been successfully configured with the right shipping method as a restriction (following the wharehouse and so the related products).

It would be useful to have the payment method for the products in the first section along with a specific "Confirm" button.
Same scenario for the products in the second section.

When you press one of the "Confirm" buttons present in the Cart, you proceed to pay for that specific section using the payment method chosen from the possible ones in list.
At the end of payment session, it will return to the Cart with remaining products (second section), and you can proceed with the second payment.

Is it possible to achieve this result?

We have two different vendor, each with a different payment account (for credit card) and a different company name.
We would like the end user to be able to place the products of both vendor in the Cart and then make two separate checkouts.


Thank you,

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
3 years 5 months ago #333071

Hi,

There is no option to do that.
With some custom development, it could be achieved. But that would cost several hundred euros to hire a developer to work on that.
However, I would recommend a cheaper and more user friendly solution:
You could use HikaMarket Multivendor ( www.hikashop.com/hikamarket-multi-vendor.html ) + Stripe Connect ( www.hikashop.com/marketplace/product/133...nect-by-obsidev.html ).
Then, each vendor could have each a merchant account with Stripe connected with your shop's main Stripe account.
Then, you can just attribute each product to the corresponding vendor and the rest is automatic. No need to use warehouse/shipping methods restrictions, the system will automatically split the order into one suborder per vendor, and it will only ask one payment from the customer, and Stripe Connect will automatically split it between the shop (if you have fees/commissions) and each vendor.
That way, each vendor will get the funds on their Stripe merchant account, which they can then transfer to their bank account independently.

The following user(s) said Thank You: matmosis

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

  • Posts: 50
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 years 5 months ago #333106

Thanks Nicolas for your quick reply!
I will investigate this possible solution better.

In the meantime I ask you if, alternatively, it is possible to make sure that a product cannot be added to the cart if there is already another product from another warehouse (or other type of filter)

Your help is greatly appreciated.
Thank you.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
3 years 5 months ago #333108

Hi,

There is no option for that.
Again, it could be added with the development of a custom plugin.
But, again, a cheaper solution would be to use HikaMarket Multivendor to attribute each product to a vendor, instead of using warehouses. Then, in the HikaMarket configuration page, you have a setting "Limit vendors in cart" that you can set to "one vendor" to limit the products of a cart to one vendor only and it will do what you want. That would also prepare the groundwork for when you decide to use Stripe connect as you will just have to configure Stripe connect and change back that setting of the HikaMarket configuration to "no limitation" so that users will be able to have a cart with products from different vendor and have the customer's payment split between the vendors involved.

The following user(s) said Thank You: matmosis

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

  • Posts: 50
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 years 5 months ago #333125

Ok thank you, that sound's good

so if i understand correctly:
- user can add a product from a vendor1 in cart, and he can continue to add other products from the same vendor1
- if he try to add a product from vendor2 the operation will be blocked with some kind of message
- once the cart is emptied (by proceeding with chekout or simply by deleting everithing) he can add product from vendor2

can you please confirm that this workflow is correct?

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

  • Posts: 50
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 years 5 months ago #333128

Hello,
another question, with HikaMarket Multivendor, what is the correct technique to associate a payment plugin (appropriately configured) to a vendor and another one to the other vendor?
so that if in cart there are products from vendor1, user checkout with payment1
for products from vendor2 checkout with payment2

thank you

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
3 years 5 months ago #333130

Hi,

Yes, that's the workflow.

When you edit a payment method in the System>Payment methods menu, you have a "vendor" setting there. So you can select a vendor in it and the payment method will only be available when the products in the cart are for that vendor.

The following user(s) said Thank You: matmosis

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

Time to create page: 0.069 seconds
Powered by Kunena Forum