requestPayment:fail parameter error: parameter.tim…er.paySign should be String
requestPayment:fail parameter error: parameter.timeStamp should be String instead of Undefined;parameter.nonceStr should be String instead of Undefined;parameter.package should be String instead of Undefined;parameter.pay
pay.js? [sm]:14 form发生了submit事件,携带数据为: {orderid: "fgdsagfadhfg", money: "1"}
pay.js? [sm]:38 提交失败 Error: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Runtime.ImportModuleError: Error: Cannot find module 'tenpay'
Require stack:
- /var/user/index.js
- /var/runtime/node16/UserFunction.js
- /var/runtime/node16/Runtime.engine.js
- /var/runtime/node16/bootstrap.js
at Object.module.exports.load (/var/runtime/node16/UserFunction.js:34:13)
at Runtime.handleOnce (/var/runtime/node16/Runtime.engine.js:85:38)
at Timeout._onTimeout (/var/runtime/node16/Runtime.engine.js:54:12)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7) (callId: 1713845787987-0.15523635390543733) (trace: 12:16:27 start->12:16:28 system error (Error: errCode: -504002 functions execute fail | errMsg: Runtime.ImportModuleError: Error: Cannot find module 'tenpay'
Require stack:
- /var/user/index.js
- /var/runtime/node16/UserFunction.js
- /var/runtime/node16/Runtime.engine.js
- /var/runtime/node16/bootstrap.js
at Object.module.exports.load (/var/runtime/node16/UserFunction.js:34:13)
at Runtime.handleOnce (/var/runtime/node16/Runtime.engine.js:85:38)
at Timeout._onTimeout (/var/runtime/node16/Runtime.engine.js:54:12)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)), abort)
at N (http://127.0.0.1:43463/appservice/__dev__/WASubContext.js?t=wechat&s=1713839393847&v=2.30.0:1:301439)
at http://127.0.0.1:43463/appservice/__dev__/WASubContext.js?t=wechat&s=1713839393847&v=2.30.0:1:331103