|
9 | 9 | $dh = opendir(dirname(__FILE__)); |
10 | 10 | while (false !== ($file = readdir($dh))) |
11 | 11 | { |
12 | | - if (substr($file, 0, 7) != 'example') |
13 | | - { |
14 | | - continue; |
| 12 | + if (substr($file, 0, 7) != 'example') |
| 13 | + { |
| 14 | + continue; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | $tmp = explode('_', $file); |
|
23 | 23 | case 'add.php': |
24 | 24 | $examples[$file] = 'Add a ' . implode(' ', array_slice($tmp, 1, -1)); |
25 | 25 | break; |
26 | | - case 'void.php'; |
| 26 | + case 'void.php'; |
27 | 27 | $examples[$file] = 'Void a ' . implode(' ', array_slice($tmp, 1, -1)); |
28 | 28 | break; |
29 | 29 | case 'update.php': |
|
58 | 58 | </h1> |
59 | 59 |
|
60 | 60 | <p> |
61 | | - This app demos a PHP connection to QuickBooks Online via the v3 REST APIs. |
| 61 | + This app demos a PHP connection to QuickBooks Online via the v3 REST APIs. |
62 | 62 | </p> |
63 | 63 | <p> |
64 | 64 | <strong>Please make sure you review the <a target="_blank" href="http://www.consolibyte.com/docs/index.php/PHP_DevKit_for_QuickBooks_-_Intuit_Partner_Platform_Quick-Start">quick-start tutorial</a>!</strong> |
65 | 65 | </p> |
66 | | - <p> |
67 | | - <strong>If you need help, make sure you post your code AND the request/response!</strong> <a href="debugging.php">Don't know how to get the request/response?</a> |
68 | | - </p> |
| 66 | + <h2> |
| 67 | + Need Help? |
| 68 | + </h2> |
69 | 69 | <p> |
70 | 70 | You can get support on the forums: |
71 | 71 | </p> |
72 | 72 | <ul> |
73 | 73 | <li><a target="_blank" href="http://www.consolibyte.com/forum/">ConsoliBYTE forums</a></li> |
74 | 74 | <li><a target="_blank" href="https://intuitpartnerplatform.lc.intuit.com/">Intuit Developer forums</a></li> |
75 | 75 | </ul> |
| 76 | + <p> |
| 77 | + When you post, <strong>make sure that you:</strong> |
| 78 | + </p> |
| 79 | + <ul> |
| 80 | + <li>Post your code.</li> |
| 81 | + <li>Check that all of your OAuth credentials and URLs match between your code and your Intuit account.</li> |
| 82 | + <li>Post your XML request/response. <a href="debugging.php">Don't know how to get the request/response?</a></li> |
| 83 | + <li>Post the results of the <a href="troubleshooting.php">troubleshooting script</a>.</li> |
| 84 | + </ul> |
76 | 85 |
|
77 | 86 | <p> |
78 | | - QuickBooks connection status: |
| 87 | + QuickBooks connection status: |
79 | 88 |
|
80 | 89 | <?php if ($quickbooks_is_connected): ?> |
81 | 90 | <div style="border: 2px solid green; text-align: center; padding: 8px; color: green;"> |
|
108 | 117 | </tr> |
109 | 118 | <tr> |
110 | 119 | <td> |
111 | | - <a href="disconnect.php">Disconnect from QuickBooks</a> |
| 120 | + <a href="disconnect.php">Disconnect from QuickBooks</a> |
112 | 121 | </td> |
113 | 122 | <td> |
114 | 123 | (If you do this, you'll have to go back through the authorization/connection process to get connected again) |
|
162 | 171 | You must authenticate to QuickBooks <b>once</b> before you can exchange data with it. <br> |
163 | 172 | <br> |
164 | 173 | <strong>You only have to do this once!</strong> <br><br> |
165 | | - |
166 | | - After you've authenticated once, you never have to go |
| 174 | + |
| 175 | + After you've authenticated once, you never have to go |
167 | 176 | through this connection process again. <br> |
168 | | - Click the button above to |
| 177 | + Click the button above to |
169 | 178 | authenticate and connect. |
170 | | - </div> |
171 | | - <?php endif; ?> |
| 179 | + </div> |
| 180 | + <?php endif; ?> |
172 | 181 |
|
173 | 182 | </p> |
174 | 183 | </div> |
|
0 commit comments