woocommerce not able to generate new API Key - JS error

拟墨画扇 提交于 2021-02-08 08:23:16

问题


I am trying to generate new API Keys in latest woocommerce plugin to use for REST API. But there is an error on woocommerce >> settings >> API >> Generate Key button and that not getting submitted.

So, How to get rid of this error and how to get my consumer and secret key.


回答1:


Resolved, Just by commenting the code at line no. 31 and set "return true" in wp-content/plugins/woocommerce/assets/js/admin/api-keys.js?v‌​er=3.2.6 see the code



来源:https://stackoverflow.com/questions/48282061/woocommerce-not-able-to-generate-new-api-key-js-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!