Answers.Body: <p>So this is definitely possible.  I'm assuming that you asking the question, you have some Drupal FAPI experience.</p>
  
  <p>If you have CiviCRM installed already check out the API explorer, and check out the Contribution entity, transact action</p>
  
  <p>Documentation of this API is spotty to non-existent, but its powerful, and works.</p>
  
  <p>There is actually a sophisticated example of using this API call for Event Registrations in the CiviCRM Entity project, CiviCRM Entity Price Field submodule
  <a href="https://www.drupal.org/project/civicrm_entity" rel="noreferrer">https://www.drupal.org/project/civicrm_entity</a></p>
  
  <p>The code there is a little complex, and your requirements may be simpler, but come into the civicrm entity channel on CiviCRM's Mattermost chat at <a href="https://chat.civicrm.org" rel="noreferrer">https://chat.civicrm.org</a> and ping @jackrabbithanna and I can help you get started.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-23T04:24:30.660Z
Answers.LastActivityDate: 2017-02-23T04:24:30.660Z
Answers.UserDisplayName: jackrabbithanna
Answers.Body: <p>I think your question has CiviCRM Entity written all over it! You can create displays - do display suite layouts. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-23T04:23:05.370Z
Answers.LastActivityDate: 2017-02-23T04:23:05.370Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I'd like to build a custom Drupal form (not using webform) to use as a contribution form and want to know if it is possible to integrate it with CiviCRM. I am not very familiar with Civi's Api capability, so want to ask to make sure it is doable before I jump in... 
  Do you know of an existing example of such a form?</p>
  
Tags: <drupal><api><forms>
Title: Is it possible to integrate a custom Drupal donate form with CiviCRM?
ThreadText: # Is it possible to integrate a custom Drupal donate form with CiviCRM?
  
  (Asked by: username_0 on 2017-02-22)
  
  I'd like to build a custom Drupal form (not using webform) to use as a contribution form and want to know if it is possible to integrate it with CiviCRM. I am not very familiar with Civi's Api capability, so want to ask to make sure it is doable before I jump in...
  Do you know of an existing example of such a form?
  
  **Tags:** drupal, api, forms
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-02-23. Score: 5
  
  So this is definitely possible. I'm assuming that you asking the question, you have some Drupal FAPI experience.
  
  If you have CiviCRM installed already check out the API explorer, and check out the Contribution entity, transact action
  
  Documentation of this API is spotty to non-existent, but its powerful, and works.
  
  There is actually a sophisticated example of using this API call for Event Registrations in the CiviCRM Entity project, CiviCRM Entity Price Field submodule
  <https://www.drupal.org/project/civicrm_entity>
  
  The code there is a little complex, and your requirements may be simpler, but come into the civicrm entity channel on CiviCRM's Mattermost chat at <https://chat.civicrm.org> and ping @username_1 and I can help you get started.
  
  
  ---
  
  ### Answer by username_2 on 2017-02-23. Score: 2
  
  I think your question has CiviCRM Entity written all over it! You can create displays - do display suite layouts.
  
  
  ---
  
  