Consolibyte Quickbooks PHP SDK(Web连接器)-身份验证失败

问题描述 投票:-1回答:1

我正在使用Consolibyte的Quick Books Desktop的PHP开发工具包,但收到以下消息,验证失败:20200319.12:39:20 UTC:QBWebConnector.SOAPWebService.do_authenticate():QBWC1012:由于以下错误消息,身份验证失败。请求失败,HTTP状态为403:禁止。

.QWC  FILE


<?xml version="1.0"?>
<QBWCXML>
	<AppName>Netexem</AppName>
	<AppID></AppID>
	<AppURL>https://netexem.blogbaaz.com/quickbooks/qbwc</AppURL>
	<AppDescription>Netexem Bitsclan Quickbooks</AppDescription>
	<AppSupport>https://netexem.blogbaaz.com/quickbooks/qbwc</AppSupport>
	<UserName>[email protected]</UserName>
	<OwnerID>{b5ae1d4f-4b14-8884-d9f2-9dab11dce090}</OwnerID>
	<FileID>{5cad62d7-0040-23a4-715f-e52fbbf8bc2c}</FileID>
	<QBType>QBFS</QBType>
	<Notify>false</Notify>
	<Scheduler>
		<RunEveryNMinutes>10</RunEveryNMinutes>
	</Scheduler>
	<IsReadOnly>false</IsReadOnly>
</QBWCXML>

QWClog:



20200319.12:38:55 UTC	: QBWebConnector.CompanyFileLock.initialize() : Company file has been initialized with AppLock = UNLOCKED:DESKTOP-E2D1QNR for ownerID = <{b5ae1d4f-4b14-8884-d9f2-9dab11dce090}>
20200319.12:38:55 UTC	: QBWebConnector.SOAPWebService.AddToQuickBooks() : Application Netexem has been added to QuickBooks.
20200319.12:38:55 UTC	: QBWebConnector.SOAPWebService.DisconnectFromQB() : Session ended and connection closed
20200319.12:39:16 UTC	: QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'Netexem' has STARTED
20200319.12:39:16 UTC	: QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20200319.12:39:16 UTC	: QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20200319.12:39:16 UTC	: QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session locked *********************
20200319.12:39:16 UTC	: QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20200319.12:39:16 UTC	: QBWebConnector.SOAPWebService.instantiateWebService() : AppName: Netexem
20200319.12:39:16 UTC	: QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): Netexem
20200319.12:39:16 UTC	: QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: https://url/quickbooks/qbwc
20200319.12:39:16 UTC	: QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20200319.12:39:17 UTC	: QBWebConnector.SOAPWebService.do_serverVersion() : Actual error received from web service for serverVersion call: <The request failed with HTTP status 403: Forbidden.>. For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-serverVersion.
20200319.12:39:17 UTC	: QBWebConnector.SOAPWebService.do_serverVersion() : This application does not contain support for serverVersion. Allowing update operation for backward compatibility.
20200319.12:39:17 UTC	: QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.3.0.36">
20200319.12:39:18 UTC	: QBWebConnector.SOAPWebService.updateWS() : Actual error received from web service for clientVersion call: <The request failed with HTTP status 403: Forbidden.>. For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-clientVersion.
20200319.12:39:18 UTC	: QBWebConnector.SOAPWebService.do_clientVersion() : This application does not contain support for clientVersion. Allowing update operation for backward compatibility.
20200319.12:39:18 UTC	: QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'Netexem', username = 'username'
20200319.12:39:18 UTC	: QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="username"><password=<MaskedForSecurity>
20200319.12:39:20 UTC	: QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message.
The request failed with HTTP status 403: Forbidden.
More info:
StackTrace =    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at QBWebConnector.localhost.WCWebServiceDoc.authenticate(String strUserName, String strPassword)
   at QBWebConnector.localhost.WCWebService.authenticate(String strUserName, String strPassword)
   at QBWebConnector.SOAPWebService.authenticate(String UserName, String Password)
   at QBWebConnector.WebService.do_authenticate(String& ticket, String& companyFileName)
Source = System.Web.Services
20200319.12:39:20 UTC	: QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20200319.12:39:20 UTC	: QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20200319.12:39:20 UTC	: QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
php quickbooks
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.