Logo
Home

A deep dive into the PHP SDK and Recent Updates

Hey Devs,

Intuit Software Engineer, Hao Lu, recently gave a complete demo of the PHP SDK.  I highly recommend that you check it out if you are interested in developing an app integration with QuickBooks Online and are a PHP developer—watch it here. In addition to the video, some of the most recent major changes for the PHP SDK are highlighted below.

QuickBooks PHP SDK V3.2.2

Overview

  • Sample code update for facade classes
  • Check for missing “/” at the end of BaseURL
  • New ping method for testing OAuth configuration
  • Default minor version update
  • Zend logger registration

Details

Sample code update for facade classes

Updated the samples in the _Samples folder to use the facade classes.

Check for missing “/” at the end of BaseURL

Added a check for missing “/” at the end of the BaseURL. If inadvertently omitted, the character is appended.

New ping method for testing OAuth configuration

Added a ping method, called getCompanyInfo(), for testing your OAuth configuration. For more information see Testing your OAuth settings in the Quick Start.

Default minor version update

Updated the default minor version to version 4.

Zend logger registration

Updated the code to ensure that the Zend logger is registered.

QuickBooks PHP SDK V3.2.4

 

Overview

  • OAuth PECL OAuth extension requirement
  • Minor version 8 support
  • Line facade support
  • Additional samples
  • FaultHandler update

Details

OAuth PECL OAuth extension requirement

The PHP PECL OAuth 1.2.3 extension requirement has been removed. This is a requirement for PHP SDK versions earlier than 3.2.4.

Minor version 8 support

Added support for minor version 8. Latest XSD: V3 minor version 8

Line facade support

The Line class is provided as an easy way to construct Line items for high usage of Line objects. Line is not a QuickBooks Online API endpoint entity. For more information, see Creating and updating resources.

Additional samples

New samples were added to the  _Samples folder.

FaultHandler update

The FaultHandler is now cleared whenever a new request is sent.

QuickBooks PHP SDK V3.4.0

 

Overview

  • OAuth 2.0 token refresh method
  • Code samples
  • Resolved issues

Details

OAuth 2.0 token refresh method

Added refreshToken() method to refresh the OAuth 2.0 token.

Code samples

Updated and added code samples.

Resolved issues

  • Fixed an SSL certificate issue that caused an SdkException cURL error when making an API call using cURL.
  • Fixed an issue that caused a DateTime object to be handled incorrectly.
  • Fixed an issue that caused an error when updating preferences.

And as usual, happy coding Devs!

-Jimmy


Posted

in

by

Tags:

Comments

2 responses to “A deep dive into the PHP SDK and Recent Updates”

  1. Aaron Avatar
    Aaron

    The link to view the youtube video is broken.
    It should be this, i believe:
    https://www.youtube.com/watch?v=DqCCqqmr15w

    1. Jimmy Wong Avatar
      Jimmy Wong

      You are right Aaron! Much obliged! Article is updated!

Leave a Reply

Your email address will not be published. Required fields are marked *