intuit-partner-platform

IPP .NET SDK for QuickBooks v3.0 Create Invoice Error - Bad Request

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 22:09:00
I am having a hard time figuring out what exactly is going wrong here - I do not get alot of insight form the error Bad Request - here is my code: OAuthRequestValidator oauthValidator = new OAuthRequestValidator(accessToken, accessTokenSecret, consumerKey, consumerSecret); ServiceContext context = new ServiceContext(appToken, companyID, IntuitServicesType.QBO, oauthValidator); DataService service = new DataService(context); Customer customer = new Customer(); customer.GivenName = "Mary " + DateTime.Now.Second; customer.Title = "Ms."; customer.MiddleName = "Jayne"; customer.FamilyName = "Cooper

Connecting to QuickBooks using API

左心房为你撑大大i 提交于 2019-11-28 16:19:24
问题 I need some guidelines here. I am creating an online booking system for my client that interfaces with QuickBooks on their internal network (desktop QuickBooks, not online). Do I need to go the full "publish app" route? I do not wish to sell this app in the marketplace. This is merely a custom booking system designed and paid for by the client. It seems like I need to "publish" the app in the marketplace for them to be able to use it. Are there ways around this? 回答1: Update 06/23/2015 - To

InvalidTokenException: Unauthorized-401

半腔热情 提交于 2019-11-28 14:42:47
I am converting a application to use IPP .net API V3. I have already built all the OAuth and saved the token info. Trying to make connection but always get error. I have checked and recheck all the token data and it appears correct. Where did I go wrong? I am using the DevDefined for OAuth and Intuit.Ipp from NuGet (IPP API V3). I am using my test customer token info but noticed the base URL (from the IPP library) is https://quickbooks.api.intuit.com/ . Should that still work? Dim accessToken As String = QBOE.GetOAuthItem(Profile.Common.StoreNum, "accessToken") Dim accessTokenSecret As String

aggcat php sample is not working

£可爱£侵袭症+ 提交于 2019-11-28 05:31:21
问题 I'm using the following configuration: Apache/2.2.22 (Win32) PHP/5.4.17 When performing php sample I recieve the following error messages: Notice: Undefined offset: 1 in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\Intuit_Original\class.aggcatauth.php on line 199 $ResponseKVPairs[$OneKVPair[0]] = $OneKVPair[1]; Notice: Undefined index: oauth_token in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\Intuit_Original\class.aggcatauth.php on line 202 $oauth

QuickBooks Online querying with filter returns 401 everytime

不问归期 提交于 2019-11-27 18:25:28
问题 I've had success creating objects with POST and Content-Type application/xml I've also had success querying using Content-Type application/x-www-form-urlencoded with a blank request body which returns all of the object type depending on which URI I specify. I can also get the same to work with something like PageNum=1&ResultsPerPage=1 in the request body and I have figured out how to incorporate that into the signature so I get a valid response. However no matter how I format it, I cannot get

how to add invoice or sales receipt quickbooks rest api v3.0

孤街醉人 提交于 2019-11-27 15:26:36
问题 How can I add an invoice or sales receipt using the QuickBooks API Rest v3? Preferably in .NET. I was interested previously in v2 but apparently that is going to be replaced soon. I can't seem to find any sample code in .NET to add a sales receipt or invoice for version 3. A simple example with minimum data supplied would be appreciated. 回答1: You can try the following code snippet. public void AddInvoice() { OAuthRequestValidator reqValidator = new OAuthRequestValidator(accessToken,

How to call API (Oauth 1.0)?

余生长醉 提交于 2019-11-27 14:53:21
I am trying to call this API (Oauth1.0 standard): https://appcenter.intuit.com/api/v1/Connection/Reconnect And what I am doing is : (It am working on java) Base64Encoder baseEncoder = Base64Encoder.getInstance(); CloseableHttpClient httpclient = HttpClients.createDefault(); HttpGet httpGet = new HttpGet("https://appcenter.intuit.com/api/v1/connection/reconnect"); StringBuilder headerReq = new StringBuilder(); headerReq.append("OAuth "); headerReq.append("oauth_token=\"").append(OAUTHTOKEN).append("\""); headerReq.append(", oauth_consumer_key=\"").append(CUNSUMER_KEY).append("\""); headerReq

IPP .NET SDK for QuickBooks v3.0 Create Invoice Error - Bad Request

情到浓时终转凉″ 提交于 2019-11-27 14:14:40
问题 I am having a hard time figuring out what exactly is going wrong here - I do not get alot of insight form the error Bad Request - here is my code: OAuthRequestValidator oauthValidator = new OAuthRequestValidator(accessToken, accessTokenSecret, consumerKey, consumerSecret); ServiceContext context = new ServiceContext(appToken, companyID, IntuitServicesType.QBO, oauthValidator); DataService service = new DataService(context); Customer customer = new Customer(); customer.GivenName = "Mary " +

Caused By: java.lang.NoClassDefFoundError: org/apache/log4j/Logger

那年仲夏 提交于 2019-11-27 12:19:44
I've got an interesting problem in which the org.apache.log4j.Logger class is not found during runtime. I'm trying to get authorized and that is where it's failing: OAuthAuthorizer oauthAuthorizer = new OAuthAuthorizer(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, SAML_PROVIDER_ID, userId); I'm using JDeveloper 11.1.1.6. Here is what I know: I've looked in my UI.war/WEB-INF/lib directory and I see the log4j-1.2.17.jar there. The class complaining about it is org.opensaml.xml.XMLConfigurator Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger at org.opensaml.xml.XMLConfigurator.