Ios 为什么在使用条带API时会出现错误?
我在尝试检索客户条带信息时遇到了一个我从未见过的错误。错误Ios 为什么在使用条带API时会出现错误?,ios,swift,stripe-payments,parse-cloud-code,Ios,Swift,Stripe Payments,Parse Cloud Code,我在尝试检索客户条带信息时遇到了一个我从未见过的错误。错误类型:“无效的请求\u错误”消息:“此操作需要额外权限” ios代码 if let stripecustomer = object["StripeCustomer"] as? String{ print("stripec \(stripecustomer)") PFCloud.callFunctionInBackground("Test", withParameters: ["custome
类型:“无效的请求\u错误”
消息:“此操作需要额外权限”
ios代码
if let stripecustomer = object["StripeCustomer"] as? String{
print("stripec \(stripecustomer)")
PFCloud.callFunctionInBackground("Test", withParameters: ["customerId" : stripecustomer]) { (success: AnyObject?, error: NSError?) -> Void in
if(error == nil){
}
}
您是否尝试通过curl()调用stripe.customers.retrieve?这样我们就可以隔离它是否是条带后端问题
if let stripecustomer = object["StripeCustomer"] as? String{
print("stripec \(stripecustomer)")
PFCloud.callFunctionInBackground("Test", withParameters: ["customerId" : stripecustomer]) { (success: AnyObject?, error: NSError?) -> Void in
if(error == nil){
}
}