# Forms submitting information even with credit card failures

**URL:** <https://community.gravityforms.com/t/forms-submitting-information-even-with-credit-card-failures/12609>\
**Category:** Get Help\
**Tags:** stripe\
**Created:** [May 12, 2022, 12:54pm UTC](https://community.gravityforms.com/t/forms-submitting-information-even-with-credit-card-failures/12609 "2022-05-12T12:54:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5ad1a9cfcb1b94.9](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@user5ad1a9cfcb1b94.9](https://community.gravityforms.com/u/user5ad1a9cfcb1b94.9)\
**Post date:** [May 12, 2022, 12:54pm UTC](https://community.gravityforms.com/t/forms-submitting-information-even-with-credit-card-failures/12609/1 "2022-05-12T12:54:49Z")

</div>

I have a form that uses the stripe add-on. It collects some data for a course, then asks for credit card details. If the customer has an issue with their card, stripe will come back and say so and they hopefully correct this. That said, the form is submitting the other data. I only want form data to be submitted if the credit card transaction goes through. Any ideas? Thanks.

---

<div class="post-metadata">

**Author:** ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)\
**Post date:** [May 19, 2022, 4:30pm UTC](https://community.gravityforms.com/t/forms-submitting-information-even-with-credit-card-failures/12609/2 "2022-05-19T16:30:39Z")

</div>

The Stripe add-on provides two payment methods:

**Stripe Card** - Using this payment method you need to add a card field to the form and entries are created only after successful payment.

**Stripe Checkout** - Using this payment method the user is redirected to a Stripe hosted page to proceed with the payment, in this case the entry is created before the redirect.

If you’re having issues with the Stripe Card method, please [open a support ticket](https://www.gravityforms.com/open-support-ticket/technical/).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [June 18, 2022, 4:30pm UTC](https://community.gravityforms.com/t/forms-submitting-information-even-with-credit-card-failures/12609/3 "2022-06-18T16:30:48Z")

</div>

Closed on June 18, 2022, 4:30pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
