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

#   Payment method currency restriction

##

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

Less More

- Posts: 228
- Thank you received: 8
-
-

9 years 8 months ago [\#265952](#265952) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  *[Payment method currency restriction](/forum/29-payment-methods/889553-payment-method-currency-restriction#265952 "-- url of the page with the problem -- : aradtextile.com -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  We've added a new payment method using a plugin that we've developed. The website uses ZAR and USD. This plugin was tested on other websites using Hikashop and worked great. For some reason, the plugin of this website, even after publishing and setting up, will not show on the checkout page. When accessing the payment methods and selecting &quot;New&quot; I can see the payment method but the currencies are disabled for it (Please see attached screen shot - it's the last one on the list).  I could not find any way to enable the currencies for this payment plugin.  Please advice,  Guy.")* was created by *[theguy](/forum/user/32584-theguy "View theguy's Profile")*

-- url of the page with the problem -- : aradtextile.com
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6

Hi,

We've added a new payment method using a plugin that we've developed. The website uses ZAR and USD. This plugin was tested on other websites using Hikashop and worked great. For some reason, the plugin of this website, even after publishing and setting up, will not show on the checkout page. When accessing the payment methods and selecting "New" I can see the payment method but the currencies are disabled for it (Please see attached screen shot - it's the last one on the list).

I could not find any way to enable the currencies for this payment plugin.

Please advice,

Guy.

- [ ![paymentmethods.jpg](/forum/attachment/37278) ](/forum/attachment/37278 "...entmethods.jpg") [ ](/forum/attachment/37278?download=1 "...entmethods.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk1NTMtcGF5bWVudC1tZXRob2QtY3VycmVuY3ktcmVzdHJpY3Rpb24/dG1wbD1tYXJrZG93bg==) 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
-
-

9 years 8 months ago [\#265958](#265958) 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 currency restriction](/forum/29-payment-methods/889553-payment-method-currency-restriction#265958 "-- url of the page with the problem -- : aradtextile.com -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  We've added a new payment method using a plugin that we've developed. The website uses ZAR and USD. This plugin was tested on other websites using Hikashop and worked great. For some reason, the plugin of this website, even after publishing and setting up, will not show on the checkout page. When accessing the payment methods and selecting &quot;New&quot; I can see the payment method but the currencies are disabled for it (Please see attached screen shot - it's the last one on the list).  I could not find any way to enable the currencies for this payment plugin.  Please advice,  Guy.")*

Hi,

In the code of the plugin, you have the line:
var $accepted_currencies = array('USD','ZAR');
which defines the list of currencies for which this payment method will display.
If you remove that line, it will display for all the currencies.
If you don't see the payment method on your listing of payment methods, either it's because of some other restriction, or because the code of the currencies on that website have been modified to something else than USD and ZAR.

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

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

Less More

- Posts: 228
- Thank you received: 8
-
-

9 years 8 months ago [\#266042](#266042) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  Replied by *[theguy](/forum/user/32584-theguy "View theguy's Profile")* on topic *[Payment method currency restriction](/forum/29-payment-methods/889553-payment-method-currency-restriction#266042 "-- url of the page with the problem -- : aradtextile.com -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  We've added a new payment method using a plugin that we've developed. The website uses ZAR and USD. This plugin was tested on other websites using Hikashop and worked great. For some reason, the plugin of this website, even after publishing and setting up, will not show on the checkout page. When accessing the payment methods and selecting &quot;New&quot; I can see the payment method but the currencies are disabled for it (Please see attached screen shot - it's the last one on the list).  I could not find any way to enable the currencies for this payment plugin.  Please advice,  Guy.")*

Thank you very much for your quick replay.
I'm checking it right now ![:)](/media/kunena/emoticons/3.png ":)")

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

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