# Stripe integration - I cant assign a math column to the Price? Am I right?

**URL:** <https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672>\
**Category:** Ask for Help\
**Created:** [July 3, 2021, 3:15pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672 "2021-07-03T15:15:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [July 3, 2021, 3:15pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/1 "2021-07-03T15:15:24Z")

</div>

In my app, users can select a # of quotes to buy. I have the cost of 1 quote and multiply the # of selected quotes by user.

I calculate this total amount with a math column, but I’m can’t find this math column to assign to the price field of Stripe integration.

Could u help me?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 3, 2021, 3:31pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/2 "2021-07-03T15:31:16Z")

</div>

I’ve never used the stripe integration, so I may not be correct here, but… I believe the usual approach to this is to have an action that writes the result of the math column to a basic column (ie. one that exists in the Google Sheet), and that column can then be used with Stripe.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 3, 2021, 3:33pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/3 "2021-07-03T15:33:31Z")

</div>

Stripe can only take basic columns (Sheets) as far as I aware, due to security reasons.

They also won’t work with row owners.

---

<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:** [July 3, 2021, 3:34pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/4 "2021-07-03T15:34:07Z")

</div>

Hola Alexandre,

Unfortunately we can’t use neither USC nor computed columns with Glide’s Buy button.

---

<div class="post-metadata">

**Author:** ![Lisa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lisa](https://community.glideapps.com/u/Lisa)\
**Post date:** [July 3, 2021, 3:42pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/5 "2021-07-03T15:42:49Z")

</div>

Everyone here is correct. You would need to write the calculated column to a basic column in order to use Stripe.

Not sure exactly how your cart is set up but I did this with the updated Glidecart template. It’s a few extra columns and relations, but with actions it works like a charm.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [July 3, 2021, 4:36pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/6 "2021-07-03T16:36:51Z")

</div>

awesome! how I didnt think it! thx so much! I’m gonna try it and let u know.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [July 3, 2021, 4:50pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/7 "2021-07-03T16:50:29Z")

</div>

> [@Lisa](#):
>
> Not sure exactly how your cart is set up but I did this with the updated Glidecart template. It’s a few extra columns and relations, but with actions it works like a charm.

Thx Lisa! I didnt understand when u said “Glidecard template” but I’m gonna try sth and let u know.

---

<div class="post-metadata">

**Author:** ![Lisa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lisa](https://community.glideapps.com/u/Lisa)\
**Post date:** [July 3, 2021, 5:16pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/8 "2021-07-03T17:16:21Z")

</div>

Should’ve linked it, Glidecart one of my templates available in the template store. When I originally released the template I didn’t include Stripe for the same reason of not being able to include calculated column to Stripe at the time.

But writing the value to a basic column (with actions) works.

> **[No-Code App Templates - Create Customizaable Apps Without Coding | Glide](https://www.glideapps.com/templates)**
>
> Browse 100+ free, ready-made templates and business apps that you can customize to your needs quickly without code.

> [@shopping\_cart NEW eCommerce Store Template - use STRIPE, Cashapp or PayPal for selling your products](https://community.glideapps.com/t/new-ecommerce-store-template-use-stripe-cashapp-or-paypal-for-selling-your-products/15640):
>
> [Glidecart](https://www.glideapps.com/templates/7N3PXzK9a2NkjoiNfY5F-template) is here! After months of building and testing, Glidecart is finally available in the template store. Thanks to all the Gliders that tested the earlier version and gave feedback. The final product is packed with features love_you_gesture:t4[The Glidecart template](https://www.glideapps.com/templates/7N3PXzK9a2NkjoiNfY5F-template) also comes with access to a wiki for how-tos like adding product variations to your store. List of features below. Hit the link and preview as a customer or store admin to check it out. Happy Gliding!! Shop With Ease S…

---

<div class="post-metadata">

**Author:** ![Alexandre\_Caruso](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandre_caruso/32/6240_2.png) [@Alexandre\_Caruso](https://community.glideapps.com/u/Alexandre_Caruso)\
**Post date:** [July 13, 2021, 5:27am UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/10 "2021-07-13T05:27:58Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/9/29a5d91684d4ffbdd91038517fb6dde7847ee7d0.png)

My friend I’m fighting the last weekend. I’m still trying to with a calculated value to the basic column to use as a Price field in the Stripe integration.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/d/bd92d67c31f3bdc9c1b3432e9fa8ce2d985a97a6.png)  
I don’t if there is an issue of type of field but it´s not working.  
I’m trying to write the R$73,42 to the basic column called StripeCotasCompras (number field) but nothing happens and only with set column, because the othe one works fine.  
Do u have an idea what´s going on?  
Thx in advance

---

<div class="post-metadata">

**Author:** ![frojas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/frojas/32/47720_2.png) [@frojas](https://community.glideapps.com/u/frojas)\
**Post date:** [September 20, 2022, 11:01am UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/11 "2022-09-20T11:01:08Z")

</div>

Hi all,

having a bit of a hard time figuring out how to get the computed price field as a normal field, any suggestions?

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:49pm UTC](https://community.glideapps.com/t/stripe-integration-i-cant-assign-a-math-column-to-the-price-am-i-right/28672/12 "2024-01-17T16:49:24Z")

</div>


