# Template Column as a value to Buy button

**URL:** <https://community.glideapps.com/t/template-column-as-a-value-to-buy-button/17896>\
**Category:** Feature Requests\
**Created:** [November 3, 2020, 2:13pm UTC](https://community.glideapps.com/t/template-column-as-a-value-to-buy-button/17896 "2020-11-03T14:13:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 3, 2020, 3:30pm UTC](https://community.glideapps.com/t/template-column-as-a-value-to-buy-button/17896/2 "2020-11-03T15:30:25Z")

</div>

This is only a guess and I don’t know the true reasoning behind the limitation, but may explain why we can’t.

> [@Allow GDE Columns in Buy Button](https://community.glideapps.com/t/allow-gde-columns-in-buy-button/17186/2):
>
> @Robert_Petitto Response from @david from a previous post: “ Buy Button columns must be basic data columns for security reasons for now. We want to allow computed columns but we must make it possible for the server that verifies the purchases to run the calculations—right now our servers cannot run calculations, only your running app on a device can.” [Why is there Buy Button limitations?](https://community.glideapps.com/t/why-is-there-buy-button-limitations/16030/3)

> [@Allow GDE Columns in Buy Button](https://community.glideapps.com/t/allow-gde-columns-in-buy-button/17186/5):
>
> I’m guessing part of the issue is that glide columns are most likely calculated on each individual device and not on the server. That’s probably where the security issue comes into play. The stripe interaction probably needs to happen on the server, and if the data is technically not being calculated on the server, then it’s not accessible when passing api credentials and data from the glide servers to the stripe servers. Opening up to allow each device to make direct connections to stripe pr…

The only workaround I know of is to make sure the calculated data is in the Google sheet and not calculated on the fly with glide columns.

---

_[View the full topic](https://community.glideapps.com/t/template-column-as-a-value-to-buy-button/17896)._
