intuit / QuickBooks-V3-PHP-SDK

Official PHP SDK for QuickBooks REST API v3.0: https://developer.intuit.com/
Apache License 2.0
246 stars 246 forks source link

getCompanyPreferences returns null #515

Open philiphoek opened 4 months ago

philiphoek commented 4 months ago

For some reason one if the quickbooks connections that we have return null for getCompanyPreferences.

Here is the code:

$dataService = DataService::Configure(array(
      'auth_mode' => 'oauth2',
      'ClientID' => "Client ID from the app's keys tab",
      'ClientSecret' => "Client Secret from the app's keys tab",
      'RedirectURI' => "The redirect URI provided on the Redirect URIs part under keys tab",
      'scope' => "com.intuit.quickbooks.accounting or com.intuit.quickbooks.payment",
      'baseUrl' => "Development/Production"
));

// This has never returned null till now
$dataService->getCompanyPreferences()

Is this supposed to be nullable?

Malarvzh commented 3 months ago

@philiphoek Unfortunately, we were unable to reproduce the issue you reported. Please create a support ticket with your company ID, app ID, and redirect URL to assist you better. The link to create a ticket is https://help.developer.intuit.com/s/contactsupport.