# Buy button not working with test cards

**URL:** <https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913>\
**Category:** Report a Bug\
**Created:** [April 22, 2021, 12:39pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913 "2021-04-22T12:39:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ovejaenlaciudad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ovejaenlaciudad/32/23381_2.png) [@ovejaenlaciudad](https://community.glideapps.com/u/ovejaenlaciudad)\
**Post date:** [April 22, 2021, 12:39pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/1 "2021-04-22T12:39:49Z")

</div>

Hi there

I am trying to test the buy buttonwith any of the test cards [listed here](https://stripe.com/docs/testing#cards) but the buy button won’t appear as active no matter what card I use. Please see screenshot:

 ![glide-stripe-test](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/d/ad10abdc33e77448065761ab7e08cb7169b4fba7.png)

Anyone can help here?

Many thanks beforehand!

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [April 22, 2021, 12:55pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/2 "2021-04-22T12:55:02Z")

</div>

It might be the data you are using. Stripe is very unforgiving in Glide - it only works from columns that have no Glide templates, look-ups, etc.

Just a thought!

I got round this (with @gvalero) by writing the values I needed into a new row in a tmp GSheet to make it work.

---

<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 22, 2021, 1:09pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/3 "2021-04-22T13:09:14Z")

</div>

Hola Sara,  
Please, show us the error message you are having please. A screenshot will be better.

Also, the test cards only work on Development mode (using Glide Editor), not in Live mode 🤕

Saludos

---

<div class="post-metadata">

**Author:** ![Rosewebstudio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rosewebstudio/32/12261_2.png) [@Rosewebstudio](https://community.glideapps.com/u/Rosewebstudio)\
**Post date:** [April 22, 2021, 1:29pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/4 "2021-04-22T13:29:29Z")

</div>

You are testing visa right?

The test stripe number I use is

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/95ee80eec449fa59317cec645df59fdb7d84388c.jpeg)

In the card number, in the box on your image, it does not appear to be the 4242 number? It’s  
3155?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/b/6b45e618d005209a37457b5fd717a425dc552edc.jpeg)

Just wondering 💭

---

<div class="post-metadata">

**Author:** ![ovejaenlaciudad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ovejaenlaciudad/32/23381_2.png) [@ovejaenlaciudad](https://community.glideapps.com/u/ovejaenlaciudad)\
**Post date:** [April 22, 2021, 2:26pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/5 "2021-04-22T14:26:43Z")

</div>

@Mark_Turrell I’ll check the data out!

@gvalero I am not getting any error messages, just not managing to have the “Buy” button active (check the screenshot), it remains as unactive as if I had the wrong card data or the wrong data in the form.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![ovejaenlaciudad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ovejaenlaciudad/32/23381_2.png) [@ovejaenlaciudad](https://community.glideapps.com/u/ovejaenlaciudad)\
**Post date:** [April 22, 2021, 2:29pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/6 "2021-04-22T14:29:43Z")

</div>

Thanks for your reply! Yes, I did test the 4242… one, and many more. The one in the screenshot was just my last attempt 😂 😭

---

<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 22, 2021, 2:32pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/7 "2021-04-22T14:32:13Z")

</div>

jeje… ya creo saber que pasa!!

You must write a value in this field, it’s the missing value to activate the button **Realizar Pedido**!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/8/0852c2db98823c31380334522485542a5b693a0f.jpeg)

feliz día!

---

<div class="post-metadata">

**Author:** ![ovejaenlaciudad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ovejaenlaciudad/32/23381_2.png) [@ovejaenlaciudad](https://community.glideapps.com/u/ovejaenlaciudad)\
**Post date:** [April 22, 2021, 2:46pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/8 "2021-04-22T14:46:09Z")

</div>

Riiight! It actually worked! I thought it was a “promo code” box, but it’s actually for the postcode 🤭

Thanks a lot!

BTW, do you know if there is a way to move that postcode box down so this missunderstanding doesn’t actually happen with clients? 😛

---

<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 22, 2021, 2:52pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/9 "2021-04-22T14:52:50Z")

</div>

🤣

It isn’t possible as far I know.

That Buy button is very static and little flexible to set its parameters and control it! 🙃

Saludos

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 23, 2022, 10:28pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/10 "2022-03-23T22:28:46Z")

</div>

Closing due to inactivity. This topic will be deleted in a few weeks if there are no more comments.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 23, 2022, 10:28pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/11 "2022-03-23T22:28:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 22, 2022, 10:29pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/12 "2022-04-22T22:29:07Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 22, 2022, 10:29pm UTC](https://community.glideapps.com/t/buy-button-not-working-with-test-cards/25913/13 "2022-04-22T22:29:08Z")

</div>


