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

#   Customfieldprice plugin only with selected payment methods

##

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

Less More

- Posts: 432
- Thank you received: 22
-

2 years 7 months ago [\#360195](#360195) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  *[Customfieldprice plugin only with selected payment methods](/forum/27-checkout/908012-customfieldprice-plugin-only-with-selected-payment-methods#360195 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4  We use plugin customfieldprice for gift wraping selection on checkout. So customer can select option Gift wrap (with some price). For that we use custom field in table order. We have some payment methods (cod) which we dont want to be available to customer when they select gift wrap. We use guest onepage checkout.  I can set restriction for payments in custom field, but that just hides the field. Example: COD is default payment. If customer selects gift wrap and confirm, then select credit card, gift field is just hidden. Customer now dont know that gift wraping is not posible for that payment.")* was created by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")*

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4

We use plugin customfieldprice for gift wraping selection on checkout.
So customer can select option Gift wrap (with some price).
For that we use custom field in table order.
We have some payment methods (cod) which we dont want to be available to customer when they select gift wrap.
We use guest onepage checkout.

I can set restriction for payments in custom field, but that just hides the field.
Example:
COD is default payment. If customer selects gift wrap and confirm, then select credit card, gift field is just hidden. Customer now dont know that gift wraping is not posible for that payment.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODAxMi1jdXN0b21maWVsZHByaWNlLXBsdWdpbi1vbmx5LXdpdGgtc2VsZWN0ZWQtcGF5bWVudC1tZXRob2RzP3RtcGw9bWFya2Rvd24=) 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: 86582
- Thank you received: 14322
-
-

2 years 7 months ago [\#360196](#360196) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customfieldprice plugin only with selected payment methods](/forum/27-checkout/908012-customfieldprice-plugin-only-with-selected-payment-methods#360196 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4  We use plugin customfieldprice for gift wraping selection on checkout. So customer can select option Gift wrap (with some price). For that we use custom field in table order. We have some payment methods (cod) which we dont want to be available to customer when they select gift wrap. We use guest onepage checkout.  I can set restriction for payments in custom field, but that just hides the field. Example: COD is default payment. If customer selects gift wrap and confirm, then select credit card, gift field is just hidden. Customer now dont know that gift wraping is not posible for that payment.")*

Hi,

There is no option to have the payment methods available or not based on custom order fields.
The only solution I can see would be to develop a small plugin implementing the onPaymentDisplay event ( [ www.hikashop.com/support/documentation/6...tml#onPaymentDisplay](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onPaymentDisplay) ).
In it, you could check the value of the custom field in $order and then filter out the payment methods in $methods and $usable_methods
A PHP developer should be able to develop this for a few hundred euros.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODAxMi1jdXN0b21maWVsZHByaWNlLXBsdWdpbi1vbmx5LXdpdGgtc2VsZWN0ZWQtcGF5bWVudC1tZXRob2RzP3RtcGw9bWFya2Rvd24=) 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.049 seconds

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