我在节点js中集成mangopay,我使用npm for mangopay2-nodejs-sdk。但是当我使用api.Users.create
函数创建用户时,它给了我错误
Debug: internal, implementation, error
TypeError: Uncaught error: Cannot read property 'userClass' of undefined
at Service.extend.create (/home/hashir/artpaie/artapieapp/artapieBackend/node_modules/mangopay2-nodejs-sdk/lib/services/Users.js:38:41)
答案 0 :(得分:1)
_getUserApiAndClass方法中的错误处理程序似乎不起作用,我的问题是我没有指定PersonType。
大写