Answers.Body: <p><strong>Example 1: Give user option to pay for Event Registration either right now - or in monthly installments</strong></p>
  
  <p>Scenario: Parent (Primary Contact) signs up Child for Swim Club. Give the Parent the option to pay all Fees right now - or in Installments. </p>
  
  <p><strong>1a) set up the fields in the new Recurring Contribution section</strong> in the CiviCRM tab. In order for webform_civicrm module to set up a Recurring Contribution two elements are required: Number of Installments and their Frequency.</p>
  
  <p><a href="https://i.sstatic.net/w6nnu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/w6nnu.png" alt=""></a>
  <strong>1b) configure the webform fields:</strong> I've added a select / checkbox so the User can indicate if they wish to pay all now - or in 10 installments. There is a Conditional that if checked Yes -> shows the Number of Installments field; That field is disabled and hidden. </p>
  
  <p><a href="https://i.sstatic.net/UG0ag.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UG0ag.png" alt=""></a>
  <strong>1c) Event registration for Child:</strong> Child is registered as a Participant we see the first Payment. </p>
  
  <p><a href="https://i.sstatic.net/2ogid.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2ogid.png" alt=""></a>
  <strong>1d) the Primary Contact's record contains the first Contribution in this Series</strong></p>
  
  <p><a href="https://i.sstatic.net/HMA1t.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HMA1t.png" alt=""></a></p>
  
  <p><strong>1e) the Primary Contact's record contains the Recurring Contribution Series</strong> - details.</p>
  
  <p><a href="https://i.sstatic.net/eIGfg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eIGfg.png" alt=""></a>
  <strong>Note</strong> 
  even though the monthly contributions will process as specified, subsequent installments don't (yet) get associated with/credited to the Event registration. CiviCRM Core can't (yet) associate a Recurring series with an Event registration.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-18T18:00:44.800Z
Answers.Text: Does this work with Paypal? Seems like you are using iATS?
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-18T18:08:53.223Z
Answers.Text: This will work with any payment processor that webform civicrm works with; I have one client who used PayPal Pro eg
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-18T18:58:01.283Z
Answers.Text: Thanks. If you don't mind me picking your brain for a second. Is there any way to get this to work for standard recurring payments, exactly as they are on a Civicontribute form for memberships? Instead of installments, how about just using Webform CiviCRM to initiate a recurring payment in Civi/Paypal (for instance)
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-19T02:58:21.547Z
Answers.Text: Have you tried Memberships -> multiple periods and then set recurring to once every year? It's not the classic Membership recurring as in CiviCRM native - but it actually has benefits e.g. it's producing a recurring series that you can Edit (if you want to up the $ amount at some point);
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-15T01:16:28.833Z
Answers.Text: KarinG - I am also trying to get this to work. The payment page seems to show the 'Total Amount' being paid, but not the installment amount.
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-15T01:44:01.360Z
Answers.Text: That's correct - it's saying here total X and would you like to pay in installments yes/no (I usually define them to monthly 10x or 12x). If the amount can not be divided equally it will even make a rounding adjustment (charges first installment and then splits up the balance equally over installment payments);
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-15T02:50:38.773Z
Answers.Text: Thank you. I like that option (especially for events). In this thread: https://www.drupal.org/project/webform_civicrm/issues/2557997 there is a patch that seems to read, if Installments = 1, then set it to be a recurring contribution. Have you used that, or think it's a good idea? We do like recurring annual contributions
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-15T02:58:47.960Z
Answers.Text: No - not using a patch; just using what I added to webform_civicrm module (native); recurring annual: you could sign up for 3 terms -> then 3x Membership fee -> pay in 3 installments -> annually;
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-15T03:20:14.237Z
Answers.Text: Thanks! I think I have everything I need now. This set of modules is great and lets us do so many cool things but it takes a different way of thinking.
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-29T22:01:26.713Z
Answers.Text: "CiviCRM Core can't (yet) associate a Recurring series with an Event registration."  Does this mean that over time, the event registration will still show as money is owed, even after the user has made all of their payments?  Is this still an outstanding issue?  Thanks for the great and detailed writeup!
Answers.UserDisplayName: richardsplayground
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-30T01:28:26.227Z
Answers.Text: Yes that’s correct - the total Event Registration fees owed will add up to the total of the installment payments but there is no direct link - they don’t all automatically become  partial payments to (perhaps) multiple event registrations (example: sign two kids up for swim club and pay with one monthly payment for both over a period of 10mo). So account statements are the way to go. Simply listing obligation and payments of type Event fee in one View eg
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-30T02:15:07.650Z
Answers.Text: Hi KarinG, thank you for confirming!  Does it still work this way if the webform only registers a person for one event?  One person registering for one event.  (I hear you about using account statements.  That would be a change for how we do things so just trying to suss out the possibilities.)
Answers.UserDisplayName: richardsplayground
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-02T16:15:58.800Z
Answers.LastActivityDate: 2017-10-04T02:30:35.447Z
Answers.LastEditDate: 2017-10-04T02:30:35.447Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>The current -dev version of webform_civicrm module includes a first pass at adding recurring contribution functionality. This seems like a good place to post some examples of how it can be used.</p>
  
  <p>Following existing logic in webform_civicrm creation of the recurring series uses the CiviCRM APIs. There is no additional code specific to Contributions, Events, or Membership. </p>
  
  <p>Below please find:
  <strong>Example 1:</strong> Give user option to pay for Event Registration either right now - or in monthly installments</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-02T14:41:36.533Z
Comments.Text: I'll add examples/screenshots shortly.
Comments.UserDisplayName: KarinG - Semper IT
Tags: <drupal><webform-civicrm>
Title: How do I configure the new recurring contribution feature in Webform CiviCRM module?
ThreadText: # How do I configure the new recurring contribution feature in Webform CiviCRM module?
  
  (Asked by: username_0 on 2017-02-02)
  
  The current -dev version of webform\_civicrm module includes a first pass at adding recurring contribution functionality. This seems like a good place to post some examples of how it can be used.
  
  Following existing logic in webform\_civicrm creation of the recurring series uses the CiviCRM APIs. There is no additional code specific to Contributions, Events, or Membership.
  
  Below please find:
  **Example 1:** Give user option to pay for Event Registration either right now - or in monthly installments
  
  **Tags:** drupal, webform-civicrm
  
  > **Comments:**
  > **username_0**: I'll add examples/screenshots shortly.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-02-02. Score: 6 | Accepted answer
  
  **Example 1: Give user option to pay for Event Registration either right now - or in monthly installments**
  
  Scenario: Parent (Primary Contact) signs up Child for Swim Club. Give the Parent the option to pay all Fees right now - or in Installments.
  
  **1a) set up the fields in the new Recurring Contribution section** in the CiviCRM tab. In order for webform\_civicrm module to set up a Recurring Contribution two elements are required: Number of Installments and their Frequency.
  
  [![](https://i.sstatic.net/w6nnu.png)](https://i.sstatic.net/w6nnu.png)
  **1b) configure the webform fields:** I've added a select / checkbox so the User can indicate if they wish to pay all now - or in 10 installments. There is a Conditional that if checked Yes -> shows the Number of Installments field; That field is disabled and hidden.
  
  [![](https://i.sstatic.net/UG0ag.png)](https://i.sstatic.net/UG0ag.png)
  **1c) Event registration for Child:** Child is registered as a Participant we see the first Payment.
  
  [![](https://i.sstatic.net/2ogid.png)](https://i.sstatic.net/2ogid.png)
  **1d) the Primary Contact's record contains the first Contribution in this Series**
  
  [![](https://i.sstatic.net/HMA1t.png)](https://i.sstatic.net/HMA1t.png)
  
  **1e) the Primary Contact's record contains the Recurring Contribution Series** - details.
  
  [![](https://i.sstatic.net/eIGfg.png)](https://i.sstatic.net/eIGfg.png)
  **Note**
  even though the monthly contributions will process as specified, subsequent installments don't (yet) get associated with/credited to the Event registration. CiviCRM Core can't (yet) associate a Recurring series with an Event registration.
  
  > **Comments:**
  > **username_1**: Does this work with Paypal? Seems like you are using iATS?  
  > **username_0**: This will work with any payment processor that webform civicrm works with; I have one client who used PayPal Pro eg  
  > **username_1**: Thanks. If you don't mind me picking your brain for a second. Is there any way to get this to work for standard recurring payments, exactly as they are on a Civicontribute form for memberships? Instead of installments, how about just using Webform CiviCRM to initiate a recurring payment in Civi/Paypal (for instance)  
  > **username_0**: Have you tried Memberships -> multiple periods and then set recurring to once every year? It's not the classic Membership recurring as in CiviCRM native - but it actually has benefits e.g. it's producing a recurring series that you can Edit (if you want to up the $ amount at some point);  
  > **username_1**: KarinG - I am also trying to get this to work. The payment page seems to show the 'Total Amount' being paid, but not the installment amount.  
  > **username_0**: That's correct - it's saying here total X and would you like to pay in installments yes/no (I usually define them to monthly 10x or 12x). If the amount can not be divided equally it will even make a rounding adjustment (charges first installment and then splits up the balance equally over installment payments);  
  > **username_1**: Thank you. I like that option (especially for events). In this thread: https://www.drupal.org/project/webform_civicrm/issues/2557997 there is a patch that seems to read, if Installments = 1, then set it to be a recurring contribution. Have you used that, or think it's a good idea? We do like recurring annual contributions  
  > **username_0**: No - not using a patch; just using what I added to webform_civicrm module (native); recurring annual: you could sign up for 3 terms -> then 3x Membership fee -> pay in 3 installments -> annually;  
  > **username_1**: Thanks! I think I have everything I need now. This set of modules is great and lets us do so many cool things but it takes a different way of thinking.  
  > **username_2**: "CiviCRM Core can't (yet) associate a Recurring series with an Event registration."  Does this mean that over time, the event registration will still show as money is owed, even after the user has made all of their payments?  Is this still an outstanding issue?  Thanks for the great and detailed writeup!  
  > **username_0**: Yes that’s correct - the total Event Registration fees owed will add up to the total of the installment payments but there is no direct link - they don’t all automatically become  partial payments to (perhaps) multiple event registrations (example: sign two kids up for swim club and pay with one monthly payment for both over a period of 10mo). So account statements are the way to go. Simply listing obligation and payments of type Event fee in one View eg  
  > **username_2**: Hi KarinG, thank you for confirming!  Does it still work this way if the webform only registers a person for one event?  One person registering for one event.  (I hear you about using account statements.  That would be a change for how we do things so just trying to suss out the possibilities.)  
  
  ---
  
  