Skip to main content

information on payment method

More
11 years 10 months ago #180895 by easyray
-- 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.

More
11 years 10 months ago #180902 by Mohamed Thelji
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.

More
11 years 10 months ago #181071 by easyray
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.

More
11 years 10 months ago #181075 by Xavier
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.189 seconds
Powered by Kunena Forum