Answers.Body: <p>To answer your exact question - in CiviCRM 4.3+ ContributionType became FinancialType.  You might be able to just change the file name.</p>
  
  <p>That said, Xavier is correct - there's likely a newer version of the payment processor.  You might want to <a href="https://civicrm.stackexchange.com/a/2802/12">ask J.C. Grogan</a>.  Xavier is also correct that in Civi 4.4+ this code is probably supplanted because of pseudoconstant lookups.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-10T18:37:00.747Z
Answers.Text: I will make the changes you suggest and post an update.
Answers.UserDisplayName: mike_kc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-10T18:50:49.223Z
Answers.Text: J.C. Grogan no longer works for Vanco, but he did direct me to the support team.  I made an inquiry concerning an updated Payment Processor, but have not gotten a response.
  
  The current Vanco Payment Processor is two years old.
Answers.UserDisplayName: mike_kc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-10T11:41:53.323Z
Answers.LastActivityDate: 2015-06-10T11:41:53.323Z
Answers.LastEditDate: 2017-04-13T12:53:13.167Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>the DAO files are automatically generated based on the database schema. I'm assuming that the goal of including this file is to fetch the list of contribution types. In that case, you should modify the code and use civicrm_api3() to get it, it takes care of knowing where to fetch it.</p>
  
  <p>Lastly, you shouldn't need these includes anymore, they are mostly done automatically based on the class name now. </p>
  
  <p>I'm not familiar with vanco, but you should check if there isn't a newer version of the payment provider extension, you might have quite a few changes since 4.1</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-10T18:42:50.800Z
Answers.Text: I have checked with Vanco, they sent me to Back Office Thinking who wrote the Drupal/CiviCRM/Vanco module.  Sadly, 4.1 is the last release and they thought it might work with 4.4.x, but not beyond.
Answers.UserDisplayName: mike_kc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-10T07:44:32.430Z
Answers.LastActivityDate: 2015-06-10T07:44:32.430Z
Answers.UserDisplayName: Xavier
Body: <p>Attempting to get the Vanco Payment Processor working with Drupal 7.37 &amp; CiviCRM 4.4.15. </p>
  
  <p>Currently it reports a Fatal error: require_once() 
  [function.require]: Failed opening required 'CRM/Contribute/DAO/ContributionType.php'(include_path='/home/honduras/www/www/sites/default/files/civicrm/custom/php/:.:/home/honduras/www/www/sites/all/modules/civicrm:/home/honduras/www/www/sites/all/modules/civicrm/packages:.:/usr/local/php53/lib/php') in /home/honduras/www/www/sites/default/files/civicrm/custom/php/CRM/Contribute/BAO/Contribution/Utils.php on line 66</p>
  
  <p>As a new user/developer working with CiviCRM I am unaware of the changes that occurred between version CiviCRM 4.1.x and CiviCRM 4.4.15.  </p>
  
  <p>Can someone shed light on the file ContributionType.php?</p>
  
Tags: <drupal><payment-processor>
Title: Was there a ContributionType.php file in a earlier version
ThreadText: # Was there a ContributionType.php file in a earlier version
  
  (Asked by: username_0 on 2015-06-10)
  
  Attempting to get the Vanco Payment Processor working with Drupal 7.37 & CiviCRM 4.4.15.
  
  Currently it reports a Fatal error: require\_once()
  [function.require]: Failed opening required 'CRM/Contribute/DAO/ContributionType.php'(include\_path='/home/honduras/www/www/sites/default/files/civicrm/custom/php/:.:/home/honduras/www/www/sites/all/modules/civicrm:/home/honduras/www/www/sites/all/modules/civicrm/packages:.:/usr/local/php53/lib/php') in /home/honduras/www/www/sites/default/files/civicrm/custom/php/CRM/Contribute/BAO/Contribution/Utils.php on line 66
  
  As a new user/developer working with CiviCRM I am unaware of the changes that occurred between version CiviCRM 4.1.x and CiviCRM 4.4.15.
  
  Can someone shed light on the file ContributionType.php?
  
  **Tags:** drupal, payment-processor
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-06-10. Score: 1
  
  To answer your exact question - in CiviCRM 4.3+ ContributionType became FinancialType. You might be able to just change the file name.
  
  That said, username_2 is correct - there's likely a newer version of the payment processor. You might want to [ask J.C. Grogan](https://civicrm.stackexchange.com/a/2802/12). username_2 is also correct that in Civi 4.4+ this code is probably supplanted because of pseudoconstant lookups.
  
  > **Comments:**
  > **username_0**: I will make the changes you suggest and post an update.  
  > **username_0**: J.C. Grogan no longer works for Vanco, but he did direct me to the support team.  I made an inquiry concerning an updated Payment Processor, but have not gotten a response.  The current Vanco Payment Processor is two years old.  
  
  ---
  
  ### Answer by username_2 on 2015-06-10. Score: 0
  
  the DAO files are automatically generated based on the database schema. I'm assuming that the goal of including this file is to fetch the list of contribution types. In that case, you should modify the code and use civicrm\_api3() to get it, it takes care of knowing where to fetch it.
  
  Lastly, you shouldn't need these includes anymore, they are mostly done automatically based on the class name now.
  
  I'm not familiar with vanco, but you should check if there isn't a newer version of the payment provider extension, you might have quite a few changes since 4.1
  
  > **Comments:**
  > **username_0**: I have checked with Vanco, they sent me to Back Office Thinking who wrote the Drupal/CiviCRM/Vanco module.  Sadly, 4.1 is the last release and they thought it might work with 4.4.x, but not beyond.  
  
  ---
  
  