我一直在阅读 Intuit 的新 IPP 联合应用程序文档。我正在尝试为 Quickbooks 在线会员创建一种方式,以便在我的外部 Web 应用程序中登录 Quickbooks。 Intuit 使用 OAuth,我使用相同的方式集成了 twitter 和 linkedin。这两个都是双向 API,但我不确定 IPP 是否也是如此。
我的问题是,该文档似乎是从创建 Quickbooks 插件的开发人员的角度编写的,而不是有人尝试从外部访问 Quickbooks 数据。
我想做的事情可能吗?
预先感谢您的帮助!
I have been reading through Intuit's new IPP Federated App documentation. I am trying to create a way for users, that are Quickbooks online members, to log-in to quickbooks inside my external web application. Intuit uses OAuth, and I have integrated twitter and linkedin using the same. Both of these are two-way APIs, but I am not sure if IPP is as well.
My issue is that the documentation seems to be written to the perspective of a developer creating a quickbooks add on, and not somebody try to access quickbooks data externally.
Is what I am trying to do even possible?
Thanks in advance for your help!
发布评论
评论(1)
为了获得任何有意义的答案,您需要更多地解释您想要做什么。特别是,您想要这样做是没有意义的:
您的意思是要将 QuickBooks Online 放入应用程序的 iFrame 中吗?如果您想要这样做,您肯定无法通过 Intuit 的技术检查。
尽管如此,可以使用 IPP 从 QuickBooks Online 读取数据(以及许多其他内容)。
IPP 身份验证通过 OAuth
或通过 SAML (Intuit 已弃用 SAML)。通过 OAuth,您可以获得一个 OAuth 令牌,然后可以使用该令牌来访问 Intuit 的 XML REST API,以添加/更新/删除/作废/获取/查询存储在云中的 QuickBooks 数据。
通过 SAML,您可以获得一个 SAML 令牌,然后可以使用该令牌来访问 Intuit 的 XML REST API,以添加/更新/删除/作废/获取/查询存储在云中的 QuickBooks 数据。如果您使用 PHP(您将此问题标记为 PHP,所以我假设您是),那么您应该看看 QuickBooks PHP DevKit(免责声明:我是开发人员):
QuickBooks PHP DevKit
它包含您入门所需的一切 - 所有对象的 OOP 接口,
SAML 网关、OAuth 组件、示例等。快速入门指南是起点:
QuickBooks ONLINE 快速入门
WINDOWS 版 QuickBooks 桌面快速入门
To get any meaningful answers, you're going to need to explain a bit more about what you're trying to do. In particular, your want to do this makes no sense:
Do you mean you want to put QuickBooks Online within an iFrame in your application? You will definitely not get through Intuit's technical check if that's what you're trying to do.
With that said, it is possible to both read and write data (among many other things) from and to QuickBooks Online, using IPP.
Authentication to IPP is via OAuth
OR via SAML (Intuit deprecated SAML).With OAuth, you get an OAuth token which you can then use to hit Intuit's XML REST APIs to add/update/delete/void/get/query for QuickBooks data that's stored in the cloud.
With SAML, you get a SAML token which you can then use to hit Intuit's XML REST APIs to add/update/delete/void/get/query for QuickBooks data that's stored in the cloud.If you're using PHP (you tagged this question PHP, so I assume you are) then you should have a look at the QuickBooks PHP DevKit (disclaimer: I'm the developer):
QuickBooks PHP DevKit
It contains everything you need to get started- an OOP interface to all of the objects,
a SAML gateway,OAuth components, examples, etc.The quick-start guide is the place to start:
Quick-start for QuickBooks ONLINE
Quick-start for QuickBooks desktop for WINDOWS