Open
Description
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;</FullyQualifiedName><CompanyName>AquaFisher</CompanyName><DisplayName>2502-29664-01 Job # 365*&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:
- Is V4IDPseudonym a new field introduced by QuickBooks?
- Do we need to update the SDK to support this field?
- Is there a workaround to handle unrecognized fields in the SDK?
Metadata
Metadata
Assignees
Labels
No labels