# Bypass stripe credit card fields when total is $0

**URL:** <https://community.gravityforms.com/t/bypass-stripe-credit-card-fields-when-total-is-0/8423>\
**Category:** Get Help\
**Tags:** conditional-logic, stripe, gravity-wiz\
**Created:** [March 23, 2021, 6:44pm UTC](https://community.gravityforms.com/t/bypass-stripe-credit-card-fields-when-total-is-0/8423 "2021-03-23T18:44:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5adff41f212668.7](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5adff41f212668.7/32/1757_2.png) [@user5adff41f212668.7](https://community.gravityforms.com/u/user5adff41f212668.7)\
**Post date:** [March 23, 2021, 6:44pm UTC](https://community.gravityforms.com/t/bypass-stripe-credit-card-fields-when-total-is-0/8423/1 "2021-03-23T18:44:49Z")

</div>

I have a form that has a single product. There is a coupon filed for discounts and a filed for the Stripe credit card processing. When the form completes, the use is sent to WPesignature to sign a document.

The Stripe filed needs to be required so that the user does not get to sign the document until payment is collected.

There are times when a user may be given a coupon for 100% discount. By default the customer is still required to add their credit card information.

The conditional logic for the Stripe field lets me hide Stripe when specific coupons are used, but what means editing the from every time the coupons are changed.

What I need is the hide the Stripe field whenever the total is $0.

Any help?

---

<div class="post-metadata">

**Author:** ![uamv](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/uamv/32/1412_2.png) [@uamv](https://community.gravityforms.com/u/uamv)\
**Post date:** [March 24, 2021, 6:32pm UTC](https://community.gravityforms.com/t/bypass-stripe-credit-card-fields-when-total-is-0/8423/2 "2021-03-24T18:32:39Z")

</div>

I’ve used the [GP Copy Cat](https://gravitywiz.com/documentation/gravity-forms-copy-cat/) perk by Gravity Wiz to copy the **Total** field to a hidden field that can then be used in the conditional logic of the **Stripe Card** field. You’ll also want to be sure to set the same conditional logic on the Stripe feed.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:40am UTC](https://community.gravityforms.com/t/bypass-stripe-credit-card-fields-when-total-is-0/8423/3 "2022-01-05T08:40:32Z")

</div>


