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

#   "No payment methods found" error with new Authorize JS Payment Plugin

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

7 years 5 months ago [\#306884](#306884) by [swurmbrand](/forum/user/35332-swurmbrand "View swurmbrand's Profile")  *["No payment methods found" error with new Authorize JS Payment Plugin](/forum/29-payment-methods/897527-no-payment-methods-found-error-with-new-authorize-js-payment-plugin#306884 "Hello,  I recently installed the new Hikashop Authorize JS Payment Plugin from Obsidev on a staging site. I believe I configured it correctly; I entered the Authorize.net Login and generated a new Public Key and Transaction Key at Authorize.net. The account currency is USD; the plugin is published; and there are definitely no restrictions on zone, shipping method, etc.  However, when I place an item in the cart and go to the checkout, it says &quot;No payment methods found.&quot;  I've double-checked all of the possible issues in the FAQ at   www.hikashop.com/support/documentation/106-faq.html#paym  , and I can't see any reason why the payment method wouldn't work. I've attached a screenshot with the login and keys blurred out. I'd appreciate any help you can offer!  Thanks very much - Anne Campbell")* was created by *[swurmbrand](/forum/user/35332-swurmbrand "View swurmbrand's Profile")*

Hello,

I recently installed the new Hikashop Authorize JS Payment Plugin from Obsidev on a staging site. I believe I configured it correctly; I entered the Authorize.net Login and generated a new Public Key and Transaction Key at Authorize.net. The account currency is USD; the plugin is published; and there are definitely no restrictions on zone, shipping method, etc.

However, when I place an item in the cart and go to the checkout, it says "No payment methods found."

I've double-checked all of the possible issues in the FAQ at [ www.hikashop.com/support/documentation/106-faq.html#paym](https://www.hikashop.com/support/documentation/106-faq.html#paym) , and I can't see any reason why the payment method wouldn't work. I've attached a screenshot with the login and keys blurred out. I'd appreciate any help you can offer!

Thanks very much -
Anne Campbell

- [ ![herrells.png](/forum/attachment/46860) ](/forum/attachment/46860 "herrells.png") [ ](/forum/attachment/46860?download=1 "herrells.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc1Mjctbm8tcGF5bWVudC1tZXRob2RzLWZvdW5kLWVycm9yLXdpdGgtbmV3LWF1dGhvcml6ZS1qcy1wYXltZW50LXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#306886](#306886) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *["No payment methods found" error with new Authorize JS Payment Plugin](/forum/29-payment-methods/897527-no-payment-methods-found-error-with-new-authorize-js-payment-plugin#306886 "Hello,  I recently installed the new Hikashop Authorize JS Payment Plugin from Obsidev on a staging site. I believe I configured it correctly; I entered the Authorize.net Login and generated a new Public Key and Transaction Key at Authorize.net. The account currency is USD; the plugin is published; and there are definitely no restrictions on zone, shipping method, etc.  However, when I place an item in the cart and go to the checkout, it says &quot;No payment methods found.&quot;  I've double-checked all of the possible issues in the FAQ at   www.hikashop.com/support/documentation/106-faq.html#paym  , and I can't see any reason why the payment method wouldn't work. I've attached a screenshot with the login and keys blurred out. I'd appreciate any help you can offer!  Thanks very much - Anne Campbell")*

Hello,

1 - Can you please verify that you are not using the legacy checkout ? (in your HikaShop configuration, for the legacy settings)

2 - Can you please verify that your front-end website is right in HTTPS ?
AuthorizeJS is using a JavaScript file from Authorize website and that script require HTTPS ; so the plugin add the payment plugin only if you're in HTTPS.

Regards,

---

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

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

7 years 5 months ago [\#306928](#306928) by [swurmbrand](/forum/user/35332-swurmbrand "View swurmbrand's Profile")  Replied by *[swurmbrand](/forum/user/35332-swurmbrand "View swurmbrand's Profile")* on topic *["No payment methods found" error with new Authorize JS Payment Plugin](/forum/29-payment-methods/897527-no-payment-methods-found-error-with-new-authorize-js-payment-plugin#306928 "Hello,  I recently installed the new Hikashop Authorize JS Payment Plugin from Obsidev on a staging site. I believe I configured it correctly; I entered the Authorize.net Login and generated a new Public Key and Transaction Key at Authorize.net. The account currency is USD; the plugin is published; and there are definitely no restrictions on zone, shipping method, etc.  However, when I place an item in the cart and go to the checkout, it says &quot;No payment methods found.&quot;  I've double-checked all of the possible issues in the FAQ at   www.hikashop.com/support/documentation/106-faq.html#paym  , and I can't see any reason why the payment method wouldn't work. I've attached a screenshot with the login and keys blurred out. I'd appreciate any help you can offer!  Thanks very much - Anne Campbell")*

Hi Jerome,

I have been using the legacy checkout option, and I was accidentally not using HTTPS. When I switch to HTTPS and set Legacy Checkout to No, I'm able to successfully complete the checkout process and send the $ to Authorize.net.

However, after completing checkout, I get this error message:

**Warning: Invalid argument supplied for foreach() in /home2/herrells/public\_html/staging/plugins/hikashoppayment/authorizejs/lib/net/authorize/util/ANetSensitiveFields.php on line 60
Warning: Invalid argument supplied for foreach() in /home2/herrells/public\_html/staging/plugins/hikashoppayment/authorizejs/lib/net/authorize/util/ANetSensitiveFields.php on line 60
Thank you for your purchase.**

I know I can disable error reporting in Joomla so that customers don't see this message - but is there anything I should change about the ANetSensitiveFields.php file?

Thanks very much -
Anne

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc1Mjctbm8tcGF5bWVudC1tZXRob2RzLWZvdW5kLWVycm9yLXdpdGgtbmV3LWF1dGhvcml6ZS1qcy1wYXltZW50LXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#306932](#306932) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *["No payment methods found" error with new Authorize JS Payment Plugin](/forum/29-payment-methods/897527-no-payment-methods-found-error-with-new-authorize-js-payment-plugin#306932 "Hello,  I recently installed the new Hikashop Authorize JS Payment Plugin from Obsidev on a staging site. I believe I configured it correctly; I entered the Authorize.net Login and generated a new Public Key and Transaction Key at Authorize.net. The account currency is USD; the plugin is published; and there are definitely no restrictions on zone, shipping method, etc.  However, when I place an item in the cart and go to the checkout, it says &quot;No payment methods found.&quot;  I've double-checked all of the possible issues in the FAQ at   www.hikashop.com/support/documentation/106-faq.html#paym  , and I can't see any reason why the payment method wouldn't work. I've attached a screenshot with the login and keys blurred out. I'd appreciate any help you can offer!  Thanks very much - Anne Campbell")*

Hello,

Unfortunately, I can't do a lot in that file ; it's part of the Authorize SDK :
[ github.com/AuthorizeNet/sdk-php/blob/mas...tSensitiveFields.php](https://github.com/AuthorizeNet/sdk-php/blob/master/lib/net/authorize/util/ANetSensitiveFields.php)

Warning are active in my development website and I do not have these messages.
All I can tell you is, if the variable is invalid, it means that the decoding of your configuration file is not working so you have an error there.

Yes, you MUST hide all PHP messages to your customers and just log them into a file ; that is a requirement for all production websites (otherwise, it's a security problem).
Of course it's better to check all warnings and try to fix them ; since the file is part of the official Authorize SDK, I'm sorry but I cannot modify it in my side.
And I clearly can't tell you why you have the error since the system is made to use the configuration which is the json next to the PHP file.

Regards,

---

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

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

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

[](#top)
