Skip to content

QuickBooks PHP SDK - V4IDPseudonym Property Error #544

Open
@logicielgurwinder

Description

@logicielgurwinder

Description:
I am using the QuickBooks PHP SDK (version 5.3.6) to fetch customer data from a sandbox QBO company, but I encountered the following error:

exception 'RuntimeException' with message 'Property V4IDPseudonym does not exist. Class QuickBooksOnline\API\Data\IPPCustomer'

It appears that the QBO API response includes a V4IDPseudonym property, which is not recognized by the PHP SDK.

QBO API Response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2025-02-26T02:04:42.390-08:00"><QueryResponse startPosition="1" maxResults="1"><Customer domain="QBO" sparse="false"><Id>2569</Id><SyncToken>0</SyncToken><MetaData><CreateTime>2025-02-19T01:43:04-08:00</CreateTime><LastUpdatedTime>2025-02-19T01:43:04-08:00</LastUpdatedTime></MetaData><GivenName>Chaz</GivenName><FamilyName>Beatty</FamilyName><FullyQualifiedName>Chaz Beatty (29664):2502-29664-01 Job # 365*&amp;amp;</FullyQualifiedName><CompanyName>AquaFisher</CompanyName><DisplayName>2502-29664-01 Job # 365*&amp;amp;</DisplayName><PrintOnCheckName>AquaFisher</PrintOnCheckName><Active>true</Active><V4IDPseudonym>0020982b0369cde6014d23a128cf7f660e08aa</V4IDPseudonym><PrimaryEmailAddr><Address>[[email protected]](mailto:[email protected])</Address></PrimaryEmailAddr><Taxable>true</Taxable><ShipAddr><Id>3523</Id><Line1>8721 Highway 31</Line1><City>Port Byron</City><Country>United States</Country><CountrySubDivisionCode>DC</CountrySubDivisionCode><PostalCode>13140</PostalCode></ShipAddr><Notes>This is parant multi job.</Notes><Job>true</Job><BillWithParent>true</BillWithParent><ParentRef>2568</ParentRef><Level>1</Level><Balance>0</Balance><BalanceWithJobs>0</BalanceWithJobs><CurrencyRef name="United States Dollar">USD</CurrencyRef><PreferredDeliveryMethod>Print</PreferredDeliveryMethod><IsProject>false</IsProject><ClientEntityId>0</ClientEntityId></Customer></QueryResponse></IntuitResponse>

Issue:

The response contains the V4IDPseudonym property, which the QuickBooks PHP SDK does not recognize in the IPPCustomer class.
This leads to an exception when the SDK attempts to process the response.

Questions:

  1. Is V4IDPseudonym a new field introduced by QuickBooks?
  2. Do we need to update the SDK to support this field?
  3. Is there a workaround to handle unrecognized fields in the SDK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions