Body: <p>Using Drupal 7 / CiviCRM 5.37.2 / CiviCRM Stripe 6.6.</p>
  <p>We would like to run a recurring contribution campaign where the recurring contributions end after 10 contributions.  Essentially we are offering a course that we wish for people to pay in monthly increments rather than all at once.</p>
  <p>Is there a way to set a recurring contribution to end after X contributions?</p>
  <p>I believe this is possible with webform-civicrm (right?) but what about with vanilla CiviCRM contribution pages?  Or with CiviCRM+CiviRules?  We are considering migrating to Wordpress so I'm seeking options that use vanilla CiviCRM if possible.</p>
  <p>We do have the ca.civicrm.contributionrecur extension, which allows us to force a contribution page to only accept recurring contributions, so that part is handled.  What I need is an automated way to stop the contributions.</p>
  <p>Thank you so much!</p>
  <p>Update: Webform could make this work, but not with Stripe.  Webform and Stripe combine with this error: &quot;Unable to complete payment! Missing paymentMethodID&quot;.  See <a href="https://lab.civicrm.org/extensions/stripe/-/issues/290" rel="nofollow noreferrer">here</a> for status.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-17T10:31:22.123Z
Comments.Text: Did you try setting installments to 10 via Jquery or phpcode?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-17T19:51:01.163Z
Comments.Text: @PradeepNayak I don't know how to do that.  Will search for some sample jquery code to do this.  Thank you for the suggestion.
Comments.UserDisplayName: richardsplayground
Tags: <recurring-contributions>
Title: Recurring contribution that ends after 10 payments
ThreadText: # Recurring contribution that ends after 10 payments
  
  (Asked by: username_0 on 2022-03-17)
  
  Using Drupal 7 / CiviCRM 5.37.2 / CiviCRM Stripe 6.6.
  
  We would like to run a recurring contribution campaign where the recurring contributions end after 10 contributions. Essentially we are offering a course that we wish for people to pay in monthly increments rather than all at once.
  
  Is there a way to set a recurring contribution to end after X contributions?
  
  I believe this is possible with webform-civicrm (right?) but what about with vanilla CiviCRM contribution pages? Or with CiviCRM+CiviRules? We are considering migrating to Wordpress so I'm seeking options that use vanilla CiviCRM if possible.
  
  We do have the ca.civicrm.contributionrecur extension, which allows us to force a contribution page to only accept recurring contributions, so that part is handled. What I need is an automated way to stop the contributions.
  
  Thank you so much!
  
  Update: Webform could make this work, but not with Stripe. Webform and Stripe combine with this error: "Unable to complete payment! Missing paymentMethodID". See [here](https://lab.civicrm.org/extensions/stripe/-/issues/290) for status.
  
  **Tags:** recurring-contributions
  
  > **Comments:**
  > **username_1**: Did you try setting installments to 10 via Jquery or phpcode?  
  > **username_0**: @username_1 I don't know how to do that.  Will search for some sample jquery code to do this.  Thank you for the suggestion.  
  
  ---
  
  ## 0 answers
  
  