woocommerce 无法生成新的 API 密钥 - JS 错误 [英] woocommerce not able to generate new API Key - JS error

查看:23
本文介绍了woocommerce 无法生成新的 API 密钥 - JS 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在最新的 woocommerce 插件中生成新的 API 密钥以用于 REST API.但是 woocommerce >> settings >> API >> Generate Key 按钮有一个错误并且没有被提交.

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 行的代码即可.31 并在 wp-content/plugins/woocommerce/assets/js/admin/api-keys.js?v‌ er=3.2.6 中设置return true"查看代码

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

这篇关于woocommerce 无法生成新的 API 密钥 - JS 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆