information on payment method

  • Posts: 2
  • Thank you received: 0
10 years 2 days ago #180895

-- HikaShop version -- : 2.5.x
-- Joomla version -- : 3.2.x

Good morning, I would like to know if it is possible to limit to a method of payment based on the characteristic selected.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 1 day ago #180902

No, but a solution can be to restrict a shipping method to a product, and then restrict your payment method to that shipping method.

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

  • Posts: 2
  • Thank you received: 0
10 years 1 day ago #181071

Thanks for the answer, the problem is that it is not about physical products with shipping, as it comes to touristic tours that vary in price based on selected characteristics(number of people / payment method).
Is there another way to limit the payment methods, so that during checkout it appears only one?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 20 hours ago #181075

Hi,

It will require to create a little PHP plugin based on the function "onPaymentDisplay(&$order,&$methods,&$usable_methods)".
Here check the content of the order, and based on the products you can edit the $methods variable in order to restrict to the desired methods.
www.hikashop.com/support/support/documen...tml#onPaymentDisplay

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

Time to create page: 0.077 seconds
Powered by Kunena Forum