# If → Then → Else Column + Stripe

**URL:** <https://community.glideapps.com/t/if-then-else-column-stripe/6088>\
**Category:** Ask for Help\
**Created:** [March 29, 2020, 5:36pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088 "2020-03-29T17:36:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JFelix\_Gonzalo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jfelix_gonzalo/32/4471_2.png) [@JFelix\_Gonzalo](https://community.glideapps.com/u/JFelix_Gonzalo)\
**Post date:** [March 29, 2020, 5:36pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/1 "2020-03-29T17:36:12Z")

</div>

Hi guys, so I wonder if anyone knows if it’s possible to set If → Then → Else Column with Stripe.

What I am trying to approach is the client choose the quantity of product units they want. So, the app will charge regarding the quantity.

Let’s say I have “Product A” which price is 10€/unit . The user will be able to choose with the functionality “Choice” the quantity, and then depending of the units quantify, the app will show the total price.

Hopefully someone can help!

Thanks!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 29, 2020, 5:52pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/2 "2020-03-29T17:52:19Z")

</div>

Should be able to. As long as you use the math column, you should be able to multiply the product price by the quantity value of the choice component. Whatever price you pass into the Buy button is the price that is charged.

---

<div class="post-metadata">

**Author:** ![JFelix\_Gonzalo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jfelix_gonzalo/32/4471_2.png) [@JFelix\_Gonzalo](https://community.glideapps.com/u/JFelix_Gonzalo)\
**Post date:** [March 29, 2020, 7:28pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/3 "2020-03-29T19:28:22Z")

</div>

Thanks Jeff, I will try to do it! thanks for your response 🙂

---

<div class="post-metadata">

**Author:** ![valerio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valerio/32/5158_2.png) [@valerio](https://community.glideapps.com/u/valerio)\
**Post date:** [April 2, 2020, 9:00am UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/4 "2020-04-02T09:00:42Z")

</div>

Hi JFelix I am Valerio from Rome did you solve the problem ? I am geting crazy …

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [April 2, 2020, 12:29pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/5 "2020-04-02T12:29:53Z")

</div>

Hi,  
I don’t use If-then-\>Else column in my APP but it works according to you are needing.  
Neither Stripe and Buy button

Take a look at [https://pizzeria.glideapp.io](https://pizzeria.glideapp.io)

Saludos  
Gavp

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [April 2, 2020, 1:14pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/6 "2020-04-02T13:14:24Z")

</div>

Sorry, for technical reasons the Buy Button only works with columns that are present in the spreadsheet. We’ll fix this limitation at some point.

---

<div class="post-metadata">

**Author:** ![valerio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valerio/32/5158_2.png) [@valerio](https://community.glideapps.com/u/valerio)\
**Post date:** [April 2, 2020, 1:49pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/7 "2020-04-02T13:49:04Z")

</div>

Thanks this is a nice solution until the the glide team will fix some problems with Buy Button and Stripe Checkout form …do you have a public template for your app ?  
Thamk You again and W Venezuela

---

<div class="post-metadata">

**Author:** ![nvandable](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nvandable/32/7802_2.png) [@nvandable](https://community.glideapps.com/u/nvandable)\
**Post date:** [June 6, 2020, 9:56pm UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/8 "2020-06-06T21:56:40Z")

</div>

Hello Mark,

Do you have some visibility on the possibility to use user specific columns for the buy button data inputs?

I had to create my own cart, which is quite complex to do knowing that on top of the aforementioned issue, the roll function does not allow to make sum calculation on user specific columns neither.

Thanks

Nicolas

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 7, 2020, 12:24am UTC](https://community.glideapps.com/t/if-then-else-column-stripe/6088/9 "2020-06-07T00:24:34Z")

</div>

Sorry, I can’t give you an ETA on that.
