Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取沙箱环境提示错误 #100

Open
04swjxy opened this issue Aug 31, 2019 · 4 comments
Open

获取沙箱环境提示错误 #100

04swjxy opened this issue Aug 31, 2019 · 4 comments

Comments

@04swjxy
Copy link

04swjxy commented Aug 31, 2019

沙箱环境.下面的程序,有时候错误,有时候又正常.

app.context.$wxpay = await tenpay.sandbox(config.wxpayConfig).catch(e => {
    throw new Error(e)
  });

//错误提示:
//Error: request fail
@04swjxy
Copy link
Author

04swjxy commented Aug 31, 2019

api.unifiedOrder() 时有时候提示:

InternalServerError: Error: request fail

有时候提示:

InternalServerError: Error: 沙箱验证签名失败,请确认沙箱签名key是否正确(通过getsignkey调用生成)

@befinal
Copy link
Owner

befinal commented Dec 18, 2019

沙箱环境看一下README的示例

@studio501
Copy link

沙箱的getSignKey url 填错地方了

@befinal
Copy link
Owner

befinal commented Feb 21, 2020

没有填错,看下readme的使用事例,确认自己的config是对的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants