Changeset 3760 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-qbo/wordcamp-qbo.php
- Timestamp:
- 08/01/2016 09:35:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-qbo/wordcamp-qbo.php
r3600 r3760 411 411 $statement_memo = sanitize_text_field( $statement_memo ); 412 412 413 $sponsor = array_map( 'sanitize_text_field', $sponsor ); 414 413 415 $line_description = $wordcamp_name; 414 416 if ( $sponsorship_level ) { … … 465 467 $payload = array( 466 468 'PrivateNote' => $statement_memo, 469 470 'CustomField' => array( 471 // WPCS Tax ID 472 array( 473 'DefinitionId' => '1', 474 'Type' => 'StringType', 475 'StringValue' => '81-0896291', 476 ), 477 478 // Sponsor VAT ID 479 array( 480 'DefinitionId' => '2', 481 'Type' => 'StringType', 482 'StringValue' => $sponsor['vat-number'], 483 ), 484 ), 467 485 468 486 'Line' => array( … … 1266 1284 </form> 1267 1285 </div> 1268 1286 1269 1287 <script> 1270 1288 (function($){
Note: See TracChangeset
for help on using the changeset viewer.