8 $test = print_r( $GLOBALS,
true );
10 print
"Test: 1431962722 ";
11 print date(
"Y/m/d g:ia", 1431962722 );
14 $fp = fopen(
"/tmp/miketest",
"a+" );
16 fwrite( $fp,
"billing_support\n" );
20 function handleSendRequestXML($params)
22 $fp = fopen(
"/tmp/miketest",
"a+" );
24 fwrite( $fp,
"<br>Inside handleSendRequestXML<br>\n" );
25 fwrite( $fp, print_r( $params,
true ) );
29 function sendRequestXML( $params )
31 $fp = fopen(
"/tmp/miketest",
"a+" );
33 fwrite( $fp,
"<br>Inside sendRequestXML<br>\n" );
34 fwrite( $fp, print_r( $params,
true ) );
39 print
"This will be the support page, when it is done.";
42 <?xml version=
"1.0" encoding=
"utf-8"?>
43 <soap:Envelope xmlns:soap=
"http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=
"http://www.w3.org/2001/XMLSchema">
45 <sendRequestXML xmlns=
"http://developer.intuit.com/">
46 <ticket>15c9ce293bd3f41b761c21635b14fa06</ticket>
47 <strHCPResponse><?xml version=
"1.0" ?>
50 <HostQueryRs requestID=
"0" statusCode=
"0" statusSeverity=
"Info" statusMessage=
"Status OK">
52 <ProductName>QuickBooks Premier Edition 2012</ProductName>
53 <MajorVersion>22</MajorVersion>
54 <MinorVersion>0</MinorVersion>
55 <Country>US</Country>
56 <SupportedQBXMLVersion>1.0</SupportedQBXMLVersion>
57 <SupportedQBXMLVersion>1.1</SupportedQBXMLVersion>
58 <SupportedQBXMLVersion>2.0</SupportedQBXMLVersion>
59 <SupportedQBXMLVersion>2.1</SupportedQBXMLVersion>
60 <SupportedQBXMLVersion>3.0</SupportedQBXMLVersion>
61 <SupportedQBXMLVersion>4.0</SupportedQBXMLVersion>
62 <SupportedQBXMLVersion>4.1</SupportedQBXMLVersion>
63 <SupportedQBXMLVersion>5.0</SupportedQBXMLVersion>
64 <SupportedQBXMLVersion>6.0</SupportedQBXMLVersion>
65 <SupportedQBXMLVersion>7.0</SupportedQBXMLVersion>
66 <SupportedQBXMLVersion>8.0</SupportedQBXMLVersion>
67 <SupportedQBXMLVersion>9.0</SupportedQBXMLVersion>
68 <SupportedQBXMLVersion>10.0</SupportedQBXMLVersion>
69 <SupportedQBXMLVersion>11.0</SupportedQBXMLVersion>
70 <IsAutomaticLogin>
false</IsAutomaticLogin>
71 <QBFileMode>SingleUser</QBFileMode>
74 <CompanyQueryRs requestID=
"1" statusCode=
"0" statusSeverity=
"Info" statusMessage=
"Status OK">
76 <IsSampleCompany>
false</IsSampleCompany>
77 <CompanyName>HomeCU TEST TEST TEST</CompanyName>
78 <LegalCompanyName>HomeCU TEST</LegalCompanyName>
80 <Addr1>3380 Americana Terrace</Addr1>
81 <Addr2>Suite 390</Addr2>
82 <City>Boise</City>
83 <State>ID</State>
84 <PostalCode>83706</PostalCode>
85 <Country>US</Country>
88 <Addr1>3380 Americana Terrace</Addr1>
89 <Addr2>Suite 390</Addr2>
90 <Addr3>Boise, ID 83706</Addr3>
93 <Addr1>3380 Americana Terrace</Addr1>
94 <Addr2>Suite 390</Addr2>
95 <City>Boise</City>
96 <State>ID</State>
97 <PostalCode>83706</PostalCode>
98 <Country>US</Country>
100 <Email>cerise@homecu.net</Email>
101 <FirstMonthFiscalYear>January</FirstMonthFiscalYear>
102 <FirstMonthIncomeTaxYear>January</FirstMonthIncomeTaxYear>
103 <CompanyType>other</CompanyType>
104 <EIN>47-1247757</EIN>
105 <TaxForm>Form1120S</TaxForm>
106 <SubscribedServices>
108 <Name>QuickBooks Online
Banking</Name>
109 <Domain>banking.qb</Domain>
110 <ServiceStatus>Never</ServiceStatus>
113 <Name>QuickBooks Online Billing</Name>
114 <Domain>billing.qb</Domain>
115 <ServiceStatus>Never</ServiceStatus>
118 <Name>QuickBooks Online Billing Level 1 Service</Name>
119 <Domain>qbob1.qbn</Domain>
120 <ServiceStatus>Never</ServiceStatus>
123 <Name>QuickBooks Online Billing Level 2 Service</Name>
124 <Domain>qbob2.qbn</Domain>
125 <ServiceStatus>Never</ServiceStatus>
128 <Name>QuickBooks Online Billing Payment Service</Name>
129 <Domain>qbobpay.qbn</Domain>
130 <ServiceStatus>Never</ServiceStatus>
133 <Name>QuickBooks Bill Payment</Name>
134 <Domain>billpay.qb</Domain>
135 <ServiceStatus>Never</ServiceStatus>
138 <Name>QuickBooks Online Billing Paper Mailing Service</Name>
139 <Domain>qbobpaper.qbn</Domain>
140 <ServiceStatus>Never</ServiceStatus>
143 <Name>QuickBooks Payroll Service</Name>
144 <Domain>payroll.qb</Domain>
145 <ServiceStatus>Never</ServiceStatus>
148 <Name>QuickBooks Basic Payroll Service</Name>
149 <Domain>payrollbsc.qb</Domain>
150 <ServiceStatus>Never</ServiceStatus>
153 <Name>QuickBooks Basic Disk Payroll Service</Name>
154 <Domain>payrollbscdisk.qb</Domain>
155 <ServiceStatus>Never</ServiceStatus>
158 <Name>QuickBooks Deluxe Payroll Service</Name>
159 <Domain>payrolldlx.qb</Domain>
160 <ServiceStatus>Never</ServiceStatus>
163 <Name>QuickBooks Premier Payroll Service</Name>
164 <Domain>payrollprm.qb</Domain>
165 <ServiceStatus>Never</ServiceStatus>
168 <Name>Basic Plus Federal</Name>
169 <Domain>basic_plus_fed.qb</Domain>
170 <ServiceStatus>Never</ServiceStatus>
173 <Name>Basic Plus Federal and State</Name>
174 <Domain>basic_plus_fed_state.qb</Domain>
175 <ServiceStatus>Never</ServiceStatus>
178 <Name>Basic Plus Direct Deposit</Name>
179 <Domain>basic_plus_dd.qb</Domain>
180 <ServiceStatus>Never</ServiceStatus>
183 <Name>Merchant Account Service</Name>
184 <Domain>mas.qbn</Domain>
185 <ServiceStatus>Never</ServiceStatus>
187 </SubscribedServices>
188 <AccountantCopy>
189 <AccountantCopyExists>
false</AccountantCopyExists>
190 </AccountantCopy>
192 <OwnerID>{90A44FB7-33D9-4815-AC85-ABCDA7E7D1EB}</OwnerID>
193 <DataExtName>AppLock</DataExtName>
194 <DataExtType>STR255TYPE</DataExtType>
195 <DataExtValue>LOCKED:WINDERS:635671451838166264</DataExtValue>
198 <OwnerID>{90A44FB7-33D9-4815-AC85-ABCDA7E7D1EB}</OwnerID>
199 <DataExtName>FileID</DataExtName>
200 <DataExtType>STR255TYPE</DataExtType>
201 <DataExtValue>{57F3B9B6-86F1-4FCC-B1FF-ABCDE1813D20}</DataExtValue>
204 </CompanyQueryRs>
205 <PreferencesQueryRs requestID=
"2" statusCode=
"0" statusSeverity=
"Info" statusMessage=
"Status OK">
206 <PreferencesRet>
207 <AccountingPreferences>
208 <IsUsingAccountNumbers>
false</IsUsingAccountNumbers>
209 <IsRequiringAccounts>
true</IsRequiringAccounts>
210 <IsUsingClassTracking>
false</IsUsingClassTracking>
211 <IsUsingAuditTrail>
true</IsUsingAuditTrail>
212 <IsAssigningJournalEntryNumbers>
true</IsAssigningJournalEntryNumbers>
213 </AccountingPreferences>
214 <FinanceChargePreferences>
215 <AnnualInterestRate>18.00</AnnualInterestRate>
216 <MinFinanceCharge>0.00</MinFinanceCharge>
217 <GracePeriod>45</GracePeriod>
218 <FinanceChargeAccountRef>
219 <ListID>B0000-915492559</ListID>
220 <FullName>Other Regular Income</FullName>
221 </FinanceChargeAccountRef>
222 <IsAssessingForOverdueCharges>
false</IsAssessingForOverdueCharges>
223 <CalculateChargesFrom>DueDate</CalculateChargesFrom>
224 <IsMarkedToBePrinted>
true</IsMarkedToBePrinted>
225 </FinanceChargePreferences>
226 <JobsAndEstimatesPreferences>
227 <IsUsingEstimates>
true</IsUsingEstimates>
228 <IsUsingProgressInvoicing>
true</IsUsingProgressInvoicing>
229 <IsPrintingItemsWithZeroAmounts>
false</IsPrintingItemsWithZeroAmounts>
230 </JobsAndEstimatesPreferences>
231 <MultiCurrencyPreferences>
232 <IsMultiCurrencyOn>
false</IsMultiCurrencyOn>
233 </MultiCurrencyPreferences>
234 <MultiLocationInventoryPreferences>
235 <IsMultiLocationInventoryAvailable>
false</IsMultiLocationInventoryAvailable>
236 <IsMultiLocationInventoryEnabled>
false</IsMultiLocationInventoryEnabled>
237 </MultiLocationInventoryPreferences>
238 <PurchasesAndVendorsPreferences>
239 <IsUsingInventory>
false</IsUsingInventory>
240 <DaysBillsAreDue>10</DaysBillsAreDue>
241 <IsAutomaticallyUsingDiscounts>
false</IsAutomaticallyUsingDiscounts>
242 </PurchasesAndVendorsPreferences>
243 <ReportsPreferences>
244 <AgingReportBasis>AgeFromDueDate</AgingReportBasis>
245 <SummaryReportBasis>Accrual</SummaryReportBasis>
246 </ReportsPreferences>
247 <SalesAndCustomersPreferences>
248 <IsTrackingReimbursedExpensesAsIncome>
false</IsTrackingReimbursedExpensesAsIncome>
249 <IsAutoApplyingPayments>
true</IsAutoApplyingPayments>
251 <IsUsingPriceLevels>
true</IsUsingPriceLevels>
252 <IsRoundingSalesPriceUp>
true</IsRoundingSalesPriceUp>
254 </SalesAndCustomersPreferences>
255 <SalesTaxPreferences>
256 <DefaultItemSalesTaxRef>
257 <ListID>10000-915492653</ListID>
258 <FullName>Sales Tax</FullName>
259 </DefaultItemSalesTaxRef>
260 <PaySalesTax>Quarterly</PaySalesTax>
261 <DefaultTaxableSalesTaxCodeRef>
262 <ListID>10000-1200672121</ListID>
263 <FullName>Tax</FullName>
264 </DefaultTaxableSalesTaxCodeRef>
265 <DefaultNonTaxableSalesTaxCodeRef>
266 <ListID>20000-1200672121</ListID>
267 <FullName>Non</FullName>
268 </DefaultNonTaxableSalesTaxCodeRef>
269 </SalesTaxPreferences>
270 <TimeTrackingPreferences>
271 <FirstDayOfWeek>Monday</FirstDayOfWeek>
272 </TimeTrackingPreferences>
273 <CurrentAppAccessRights>
274 <IsAutomaticLoginAllowed>
false</IsAutomaticLoginAllowed>
275 <IsPersonalDataAccessAllowed>
false</IsPersonalDataAccessAllowed>
276 </CurrentAppAccessRights>
277 <ItemsAndInventoryPreferences>
278 <EnhancedInventoryReceivingEnabled>
false</EnhancedInventoryReceivingEnabled>
279 <IsTrackingSerialOrLotNumber>None</IsTrackingSerialOrLotNumber>
280 <FIFOEnabled>
false</FIFOEnabled>
281 </ItemsAndInventoryPreferences>
282 </PreferencesRet>
283 </PreferencesQueryRs>
287 <strCompanyFileName>D:\dms_shared\QuickBooks\homecutest.qbw</strCompanyFileName>
288 <qbXMLCountry>US</qbXMLCountry>
289 <qbXMLMajorVers>11</qbXMLMajorVers>
290 <qbXMLMinorVers>0</qbXMLMinorVers>
291 </sendRequestXML></soap:Body></soap:Envelope>
293 $soapServer =
new SoapServer(
"https://test.developer.intuit.com/QBWC/TroubleshootWebServiceFS/Service.asmx?wsdl");
296 $soapServer->addFunction(
"sendRequestXML" );
297 $soapServer->addFunction(
"handleSendRequestXML" );
299 $soapServer->handle( $xmlString );