title: Confirming how to use Stripe.net Customer on a plan
body: <p>I am new to stripe and have decided to use stripe.net (<a href="https://github.com/jaymedavis/stripe.net" rel="nofollow">https://github.com/jaymedavis/stripe.net</a>).</p>
  
  <p>What I want to do is put the customer on a plan that will charge them monthly. I also want to give them the option to cancel their subscription to the plan. Here is the code that the stripe.net project shows to use. </p>
  
  <pre><code>StripeConfiguration.SetApiKey("[your api key here]");
  
  var myCustomer = new StripeCustomerCreateOptions();
  
  // set these properties if it makes you happy
  myCustomer.Email = "pork@email.com";
  myCustomer.Description = "Johnny Tenderloin (pork@email.com)";
  
  // set these properties if using a card
  myCustomer.CardNumber = "4242424242424242";
  myCustomer.CardExpirationYear = "2012";
  myCustomer.CardExpirationMonth = "10";
  myCustomer.CardAddressCountry = "US";            
  
  myCustomer.PlanId = *planId*;                         
  
  var customerService = new StripeCustomerService();
  StripeCustomer stripeCustomer = customerService.Create(myCustomer);
  </code></pre>
  
  <p>Is this all I have to do to put the customer on a plan that charges them monthly?
  and to cancel the plan...</p>
  
  <pre><code>var customerService = new StripeCustomerService();
  StripeSubscription subscription = customerService.CancelSubscription(*customerId*);
  </code></pre>
  
  <p>Is this all I have to do? There is also a section on the stripe.net page for creating a charge and I'm not sure if I have to do anything with that.</p>