[Skip to main content](#vessel-content)

#   Payment method Restriction on certain product

##

- **[Polleke](/forum/user/39281-polleke "View Polleke's Profile")**
- [![Polleke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39281-polleke "View Polleke's Profile") Topic Author
- [ Offline](/forum/user/39281-polleke)

Less More

- Posts: 88
- Thank you received: 2
-
-

9 years 1 month ago [\#281457](#281457) by [Polleke](/forum/user/39281-polleke "View Polleke's Profile")  *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281457 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")* was created by *[Polleke](/forum/user/39281-polleke "View Polleke's Profile")*

Hi Guys,
i would like to restrict a certain payment method based on a product.
To be more clear a activity (product).

Can i do that ?
if Yes; how ?

regards Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Polleke](/forum/user/39281-polleke "View Polleke's Profile")**
- [![Polleke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39281-polleke "View Polleke's Profile") Topic Author
- [ Offline](/forum/user/39281-polleke)

Less More

- Posts: 88
- Thank you received: 2
-
-

9 years 1 month ago [\#281469](#281469) by [Polleke](/forum/user/39281-polleke "View Polleke's Profile")  Replied by *[Polleke](/forum/user/39281-polleke "View Polleke's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281469 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

So i tried the following.

I gave the activity (event product) a weight of 0 (zero) grams)
So it is the only product with a weight of 0 grams. (all the rest are books ).
I have a payment method (pay by bank), and i set the restriction to weight 1 gram.

So far it works.
when i purchase a activity there is no pay by bank method visible.

But.... When i also purchase a book (weight 50 grams) the payment method is also not visible. And that is not correct. Because the total weight of my purchases is 50 grams.
Why is that ?

regards Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#281473](#281473) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281473 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

Hello,

By default you can't restrict a payment method to products since the system won't know how to interact when you have several products in your cart.
But you can see to use the other restrictions such as weight/volume.

Now, you have to use the restrictions with the right combination.
Yes, if you use the weight restriction, at the moment when you have a product with a weight, the payment method will be available. It is the purpose, it's logical.
But if you combine with the volume restriction, you can also perform an exclusion ; you can set size for all products you want to exclude and require a small volume for the payment method (so by adding a product with a size, the payment method won't be available anymore).

Afterwards it's possible to restrict a payment method to a shipping method ; and thanks to the "shipping price per product" you can "block" products to use specific shipping methods. So you can have specific configuration where a shipping method can be available for a product and that method will unlock the specific payment method.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")**
- [![heinburgh@gmail.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")
- [ Offline](/forum/user/53446-heinburgh-gmail-com)

Less More

- Posts: 29
- Thank you received: 1
-
-

9 years 1 month ago [\#281580](#281580) by [heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")  Replied by *[heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281580 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

To further this query, I need to restrict payment methods depending on the shipping method. Sounds odd, but here's why.

I have only two shipping methods available: Pickup from drop-off point in the big city, and home delivery in our closest town. If I deliver to our home town I don't mind getting paid cash on delivery, but when I deliver to the city several hours away I need to have been paid in advance by paypal or bank transfer. Reason being I don't want jokers placing fake orders.

Is there a way to wangle this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#281602](#281602) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281602 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

Hello,

As mentioned in my message ; In the payment instance configuration, you can limit (= restriction) to shipping methods.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")**
- [![heinburgh@gmail.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")
- [ Offline](/forum/user/53446-heinburgh-gmail-com)

Less More

- Posts: 29
- Thank you received: 1
-
-

9 years 1 month ago [\#281659](#281659) by [heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")  Replied by *[heinburgh@gmail.com](/forum/user/53446-heinburgh-gmail-com "View heinburgh@gmail.com's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#281659 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

Got it. It's set up and works beautifully. Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")**
- [![smithshop123's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17903-smithshop123 "View smithshop123's Profile")
- [ Offline](/forum/user/17903-smithshop123)

Less More

- Posts: 212
- Thank you received: 17
-
-

7 years 9 months ago [\#303583](#303583) by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")  Replied by *[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#303583 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

> Jerome wrote: Hello,
>
> By default you can't restrict a payment method to products since the system won't know how to interact when you have several products in your cart.
> But you can see to use the other restrictions such as weight/volume.
>
> Now, you have to use the restrictions with the right combination.
> Yes, if you use the weight restriction, at the moment when you have a product with a weight, the payment method will be available. It is the purpose, it's logical.
> But if you combine with the volume restriction, you can also perform an exclusion ; you can set size for all products you want to exclude and require a small volume for the payment method (so by adding a product with a size, the payment method won't be available anymore).
>
> Afterwards it's possible to restrict a payment method to a shipping method ; and thanks to the "shipping price per product" you can "block" products to use specific shipping methods. So you can have specific configuration where a shipping method can be available for a product and that method will unlock the specific payment method.
>
> Regards,

Hi, I used this method and it's great but I have found a problem. I have blocked the use of Paypal for certain products via the checkout. However the invoice sent out has a link/icon with 'Pay now' and the drop list on our site has 'Paypal' in it. An the link works.

Can you let me know how to disable this?

Regards,
Ian and Stu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 9 months ago [\#303588](#303588) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment method Restriction on certain product](/forum/29-payment-methods/892562-payment-method-restriction-on-certain-product#303588 "Hi Guys, i would like to restrict a certain payment method based on a product. To be more clear a activity (product).  Can i do that ? if Yes; how ?  regards Jan")*

Hi,

The restrictions on the payment methods only apply while on the checkout. So I would recommend to turn off the setting "Allow customers to change their payment method after checkout" of the HikaShop configuration if you don't want the customers to be able to select PayPal after the order is created.

The following user(s) said Thank You: [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTI1NjItcGF5bWVudC1tZXRob2QtcmVzdHJpY3Rpb24tb24tY2VydGFpbi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
