parameter_unknown created.gte 无法搜索
“错误”: { "code": "参数未知", "doc_url": "https://stripe.com/docs/error-codes/parameter-unknown", "message": "收到未知参数:created.gte。您的意思是创建吗?", "param": "创建的.gte", “类型”:“无效请求错误” }
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: created.gte. Did you mean created?",
"param": "created.gte",
"type": "invalid_request_error"
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须将
created.gte
拆分为关联数组。这是原生 PHP Stripe 库的解决方案。它也会返回在 Laravel 中工作的上周的所有发票。You have to split the
created.gte
into an associative array. Here is a solution for native PHP Stripe library. It returns all invoices for the last week it does work in Laravel as well.