Answers.Body: <p>You can embed the Drupal site's form (any form, whether from Civi or Drupal) into your wordpress site using an iframe.</p>
  
  <p>Here's an example of exactly that:
  <a href="https://patientscanada.ca/donate/" rel="nofollow noreferrer">https://patientscanada.ca/donate/</a></p>
  
  <p>There are three steps to make this work:</p>
  
  <ol>
  <li><p>Create an alternative theme on the Drupal site that is suitable for embedding in an iframe. There's a Drupal theme here: <a href="https://www.drupal.org/project/entity_iframe_theme" rel="nofollow noreferrer">https://www.drupal.org/project/entity_iframe_theme</a> that will take you most of the way. I can share what I've used if you want.</p></li>
  <li><p>Use theme_key or similar module to display the appropriate path using that theme.</p></li>
  <li><p>Configure your settings.php to allow the wp site to iframe your drupal pages (by default, Drupal will not allow itself to be used in an iframe, as a security precaution).</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-09T19:34:02.540Z
Answers.Text: See my comment below about the disadvantages of this approach compared with a full theming option described by Karin.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-07T19:56:27.157Z
Answers.LastActivityDate: 2020-04-07T19:56:27.157Z
Answers.UserDisplayName: Alan Dixon
Answers.Body: <p>It sounds like you don't want to use CiviCRM public pages because it would visually take people away from your main website. </p>
  
  <p>An option could be to theme your CiviCRM public pages so that this transition is absolutely seamless -> here's an example of a CiviCRM public page we're drafting at the moment (with iATS Payments processor but that's not the point) - this organization's main website (which lives on another server elsewhere) theme-wise looks just like it. We themed the public pages of their separate CiviCRM instance to look like their main website.</p>
  
  <p><a href="https://i.sstatic.net/yjPrg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yjPrg.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-06T08:08:23.820Z
Answers.Text: Hello! This sounds great, are you able to point me in the right direction of how to go about creating this? Thank you!!
Answers.UserDisplayName: Natalie Anne Louise
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-06T12:54:11.250Z
Answers.Text: It’s essentially theme-ing work. You’ll want to find someone with solid Drupal theme-ing skills to help you with this: override the CiviCRM tpl (templates) that are used to render the page - and then add javascript and css the form the way you want it to look.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-09T19:33:14.737Z
Answers.Text: This approach has a number of advantages over the iframe solution:
  1. It is immediately transferable to other public pages that can be exposed by CiviCRM (or Drupal).
  2. The iframe solution can behave weirdly on things like thank you and error pages.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-04T17:07:14.010Z
Answers.LastActivityDate: 2020-04-04T17:07:14.010Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>Hi and welcome to CiviCRM Stack Exchange:-)</p>
  
  <p>There are many CiviCRM installations that send data from their public website to their CiviCRM on another server. That should not be a problem in itself. You could use the Form Processor extension (check <a href="https://civicrm.org/extensions/form-processor" rel="nofollow noreferrer">https://civicrm.org/extensions/form-processor</a>). And you could use CiviProxy (see <a href="https://docs.civicrm.org/civiproxy/en/latest/" rel="nofollow noreferrer">https://docs.civicrm.org/civiproxy/en/latest/</a>) to minimize the security impact.</p>
  
  <p>However, you do need to think a little bit about the architecture you want to set up. I am not sure what you want to achieve, and if the iATS plugin is what you need. I have answered based on your request to have donation form on your Wordpress website that sends data to CiviCRM. You should perhaps expand a little on the exact steps you want to make so other with more knowledge about iATS can help you with those details.</p>
  
  <p>Good luck!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-03T14:37:34.030Z
Answers.LastActivityDate: 2020-04-03T14:37:34.030Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>We have installed the iATS plugin to our CiviCRM (on Drupal) and we would like to create an embedded donation form onto our Wordpress website. We don't want to use the CiviCRM public pages because moving donors away from our website will mean fewer people go through with their donations.</p>
  
  <p>I'd like to know if anyone else has encountered this problem, and if they'd be able to share some insight into how best to move forward? </p>
  
  <p>Thank you!</p>
  
Tags: <wordpress><drupal><forms><iats><iatspayments>
Title: Integrating iATS forms through CiviCRM (Drupal) onto website Wordpress
ThreadText: # Integrating iATS forms through CiviCRM (Drupal) onto website Wordpress
  
  (Asked by: username_0 on 2020-04-03)
  
  We have installed the iATS plugin to our CiviCRM (on Drupal) and we would like to create an embedded donation form onto our Wordpress website. We don't want to use the CiviCRM public pages because moving donors away from our website will mean fewer people go through with their donations.
  
  I'd like to know if anyone else has encountered this problem, and if they'd be able to share some insight into how best to move forward?
  
  Thank you!
  
  **Tags:** wordpress, drupal, forms, iats, iatspayments
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2020-04-07. Score: 4
  
  You can embed the Drupal site's form (any form, whether from Civi or Drupal) into your wordpress site using an iframe.
  
  Here's an example of exactly that:
  <https://patientscanada.ca/donate/>
  
  There are three steps to make this work:
  
  1. Create an alternative theme on the Drupal site that is suitable for embedding in an iframe. There's a Drupal theme here: <https://www.drupal.org/project/entity_iframe_theme> that will take you most of the way. I can share what I've used if you want.
  2. Use theme\_key or similar module to display the appropriate path using that theme.
  3. Configure your settings.php to allow the wp site to iframe your drupal pages (by default, Drupal will not allow itself to be used in an iframe, as a security precaution).
  
  > **Comments:**
  > **username_1**: See my comment below about the disadvantages of this approach compared with a full theming option described by Karin.  
  
  ---
  
  ### Answer by username_2 on 2020-04-04. Score: 3
  
  It sounds like you don't want to use CiviCRM public pages because it would visually take people away from your main website.
  
  An option could be to theme your CiviCRM public pages so that this transition is absolutely seamless -> here's an example of a CiviCRM public page we're drafting at the moment (with iATS Payments processor but that's not the point) - this organization's main website (which lives on another server elsewhere) theme-wise looks just like it. We themed the public pages of their separate CiviCRM instance to look like their main website.
  
  [![enter image description here](https://i.sstatic.net/yjPrg.png)](https://i.sstatic.net/yjPrg.png)
  
  > **Comments:**
  > **username_0**: Hello! This sounds great, are you able to point me in the right direction of how to go about creating this? Thank you!!  
  > **username_2**: It’s essentially theme-ing work. You’ll want to find someone with solid Drupal theme-ing skills to help you with this: override the CiviCRM tpl (templates) that are used to render the page - and then add javascript and css the form the way you want it to look.  
  > **username_1**: This approach has a number of advantages over the iframe solution: 1. It is immediately transferable to other public pages that can be exposed by CiviCRM (or Drupal). 2. The iframe solution can behave weirdly on things like thank you and error pages.  
  
  ---
  
  ### Answer by username_3 on 2020-04-03. Score: 0
  
  Hi and welcome to CiviCRM Stack Exchange:-)
  
  There are many CiviCRM installations that send data from their public website to their CiviCRM on another server. That should not be a problem in itself. You could use the Form Processor extension (check <https://civicrm.org/extensions/form-processor>). And you could use CiviProxy (see <https://docs.civicrm.org/civiproxy/en/latest/>) to minimize the security impact.
  
  However, you do need to think a little bit about the architecture you want to set up. I am not sure what you want to achieve, and if the iATS plugin is what you need. I have answered based on your request to have donation form on your Wordpress website that sends data to CiviCRM. You should perhaps expand a little on the exact steps you want to make so other with more knowledge about iATS can help you with those details.
  
  Good luck!
  
  
  ---
  
  