Answers.Body: <p>It was a <a href="https://github.com/drastik/com.drastikbydesign.stripe" rel="nofollow">Stripe Payment Extension</a> issue. I thought I was on the latest version but must have been a few commits back. Updating the files to the latest <code>4.6-dev</code> version and then visiting the <strong>Manage Extensions</strong> page to run database updates was all I needed.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-31T03:22:32.363Z
Answers.LastActivityDate: 2016-01-31T03:22:32.363Z
Answers.UserDisplayName: Laryn
Body: <p>I have a Webform-CiviCRM form that has CiviCRM functionality enabled. It has a contribution field tied to a CiviCRM contribution page using the Stripe payment extension, and which has no minimum value required. I've set it up as a radio button with a choice of a monetary contribution of a set amount, or zero.</p>
  
  <p>Whenever I try to use the form and select the zero dollar option, the credit card fields disappear as expected, but then on form submit I get this message: </p>
  
  <blockquote>
    <p><strong>Payment Error Response:</strong> Error: The card number is not a valid credit card number.</p>
  </blockquote>
  
  <p>Is this a Stripe extension issue or a Webform-CiviCRM issue? </p>
  
Tags: <civicontribute><webform-civicrm><stripe>
Title: Setting up Webform CiviCRM with an optional contribution/payment
ThreadText: # Setting up Webform CiviCRM with an optional contribution/payment
  
  (Asked by: username_0 on 2016-01-30)
  
  I have a Webform-CiviCRM form that has CiviCRM functionality enabled. It has a contribution field tied to a CiviCRM contribution page using the Stripe payment extension, and which has no minimum value required. I've set it up as a radio button with a choice of a monetary contribution of a set amount, or zero.
  
  Whenever I try to use the form and select the zero dollar option, the credit card fields disappear as expected, but then on form submit I get this message:
  
  > **Payment Error Response:** Error: The card number is not a valid credit card number.
  
  Is this a Stripe extension issue or a Webform-CiviCRM issue?
  
  **Tags:** civicontribute, webform-civicrm, stripe
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-01-31. Score: 2
  
  It was a [Stripe Payment Extension](https://github.com/drastik/com.drastikbydesign.stripe) issue. I thought I was on the latest version but must have been a few commits back. Updating the files to the latest `4.6-dev` version and then visiting the **Manage Extensions** page to run database updates was all I needed.
  
  
  ---
  
  