Skip to main content

Stripe Error "The value for payment price is not a valid number '0'"

Payment on my form is optional, but it would not advance to the checkout page.

Updated over 10 months ago

Stripe doesn't support '0' for price. The only workaround is to have 2 forms. Only users who would like to make a payment should be redirected to the "payment form". You can set up this workflow by redirecting users to an "Airtable Field" after submitting your primary form. That field should contain a formula to filter the submissions based on their answers.

You can also use this method to only redirect to Stripe when a particular payment method is selected. For instance, if a customer select cash, they would skip the checkout form.

Did this answer your question?