nebPay.js icon indicating copy to clipboard operation
nebPay.js copied to clipboard

https://pay.nebulas.io/api/pay/query?payId=XXX返回403

Open lantislin opened this issue 6 years ago • 5 comments

测试网,上述回调接口一直返回403,怎么回事?

Failed to load https://pay.nebulas.io/api/pay/query?payId=XXXX: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:54321' is therefore not allowed access. The response had HTTP status code 403.

lantislin avatar May 21 '18 08:05 lantislin

你好,请问你用的是什么系统呀?Ubuntu吗?

yupnano avatar May 21 '18 08:05 yupnano

应该是访问太频繁被NAS的GateWay给拉黑了

zhang1g2 avatar May 21 '18 11:05 zhang1g2

@yupnano 你好,windows, mac,都有这个问题,nebPay提供的的demo也报这个错: Failed to load https://pay.nebulas.io/api/pay/query?payId=XXXXX: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 403.

lantislin avatar May 21 '18 13:05 lantislin

@lantislin 现在可以用了。

yupnano avatar May 22 '18 09:05 yupnano

查询成功的交易也提示交易不存在,这个是什么问题?

roc198 avatar May 25 '18 11:05 roc198