# Payment problem with buy button (Stripe)

**URL:** <https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379>\
**Category:** Report a Bug\
**Created:** [April 3, 2020, 5:40pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379 "2020-04-03T17:40:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 5:40pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/1 "2020-04-03T17:40:39Z")

</div>

Hi guys.  
I’m having trouble with setting up the buy button.  
 ![Screen Shot 2020-04-03 at 12.37.36 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/d068a0f4af5f6401effd35f85b8422f332debec0.png)  
I keep getting this error message.  
I re-watched the video about the buy button.

Do I need to create the item first in Stripe?  
Should I add Stripe’s SKU anywhere in my Google sheets?

 ![Screen Shot 2020-04-03 at 12.39.37 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/5bba2116defa2a74cfd5926b96158160cd33830e.png)

Thanks

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 6:01pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/2 "2020-04-03T18:01:11Z")

</div>

@eltintero Which app is this? The price seems right. Are you sure you have something in the “product\_it” column for this product?

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 6:03pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/3 "2020-04-03T18:03:09Z")

</div>

app.cancuntour.app -\> La Casa -\> scroll down to **Surprise**  
Yup, I had the name of the item, now I created a Stripe product and used the SKU… but didn’t work.

 ![Screen Shot 2020-04-03 at 1.02.26 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/1/15579ca5b3955acd3e46dd21163ad018e00a74d8.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 6:11pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/4 "2020-04-03T18:11:01Z")

</div>

@eltintero Approximately when did you try to make this purchase? We can’t find any logs regarding this on our server-side, so it may be a client-side error. Could you open your browser’s developer tools and post what is going on in the console?

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 6:26pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/5 "2020-04-03T18:26:06Z")

</div>

![Screen Shot 2020-04-03 at 1.25.24 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/027dd558fd20ffef16fc8640ee17f93acefa991e.png)

```
patch.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
t @ patch.js:1
10.30d076e2.chunk.js:2 State is missing data
e.<computed> @ 10.30d076e2.chunk.js:2
5A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
DevTools failed to parse SourceMap: chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map
DevTools failed to parse SourceMap: chrome-extension://hgmhmanijnjhaffoampdlllchpolkdnj/js/lib/purify.min.js.map
3DevTools failed to parse SourceMap: chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map
VM451:1 POST https://api.stripe.com/v1/payment_methods 402
(anonymous) @ VM451:1
(anonymous) @ shared-bfd1fd86c1517df9287bd99d198295e9.js:1
e @ shared-bfd1fd86c1517df9287bd99d198295e9.js:1
k @ controller-5b26634debd9a46990b35eb531afca74.js:1
(anonymous) @ controller-5b26634debd9a46990b35eb531afca74.js:1
value @ controller-5b26634debd9a46990b35eb531afca74.js:1
(anonymous) @ controller-5b26634debd9a46990b35eb531afca74.js:1
Promise.then (async)
createPaymentMethodWithElement @ controller-5b26634debd9a46990b35eb531afca74.js:1
(anonymous) @ controller-5b26634debd9a46990b35eb531afca74.js:1
(anonymous) @ controller-5b26634debd9a46990b35eb531afca74.js:1
Ke._respondUsingPromise @ controller-5b26634debd9a46990b35eb531afca74.js:1
Ke.handleAction @ controller-5b26634debd9a46990b35eb531afca74.js:1
value @ controller-5b26634debd9a46990b35eb531afca74.js:1
(anonymous) @ controller-5b26634debd9a46990b35eb531afca74.js:1
10.30d076e2.chunk.js:2 Error creating payment method for buy button: processing_error: An error occurred while processing your card. Try again in a little bit.
e.<computed> @ 10.30d076e2.chunk.js:2
c @ main.8c9927b3.chunk.js:1
(anonymous) @ 14.01ea86a5.chunk.js:1
l @ 10.30d076e2.chunk.js:2
(anonymous) @ 10.30d076e2.chunk.js:2
forEach.e.<computed> @ 10.30d076e2.chunk.js:2
r @ 10.30d076e2.chunk.js:2
u @ 10.30d076e2.chunk.js:2
Promise.then (async)
r @ 10.30d076e2.chunk.js:2
u @ 10.30d076e2.chunk.js:2
(anonymous) @ 10.30d076e2.chunk.js:2
(anonymous) @ 10.30d076e2.chunk.js:2
(anonymous) @ 14.01ea86a5.chunk.js:1
n.onSubmit @ 14.01ea86a5.chunk.js:1
n.onClick @ main.8c9927b3.chunk.js:1
n.onClickUnhandled @ main.8c9927b3.chunk.js:1
v @ 10.30d076e2.chunk.js:2
_ @ 10.30d076e2.chunk.js:2
(anonymous) @ 10.30d076e2.chunk.js:2
E @ 10.30d076e2.chunk.js:2
A @ 10.30d076e2.chunk.js:2
k @ 10.30d076e2.chunk.js:2
P @ 10.30d076e2.chunk.js:2
Sn @ 10.30d076e2.chunk.js:2
ce @ 10.30d076e2.chunk.js:2
An @ 10.30d076e2.chunk.js:2
On @ 10.30d076e2.chunk.js:2
Pn @ 10.30d076e2.chunk.js:2
t.unstable_runWithPriority @ 10.30d076e2.chunk.js:2
Ui @ 10.30d076e2.chunk.js:2
ue @ 10.30d076e2.chunk.js:2
kn @ 10.30d076e2.chunk.js:2
i @ 10.30d076e2.chunk.js:2
```

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 6:32pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/6 "2020-04-03T18:32:24Z")

</div>

That’s really interesting. It’s failing to talk to Stripe even before it touches our systems. Try disconnecting and reconnecting your Stripe account in the Buy Button configuration.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 6:37pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/7 "2020-04-03T18:37:22Z")

</div>

Disconnected and reconnected. Same issue.

 ![Screen Shot 2020-04-03 at 1.36.48 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/54877aa4077b2d2b7e83539c07767d3af07c1a1e.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 6:42pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/8 "2020-04-03T18:42:55Z")

</div>

Ok. Try disabling _all_ browser extensions or using a different browser entirely. We’re pretty sure that it’s something specific either to your environment, or your Stripe account based on activity we are seeing with other Buy Button installations.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 7:03pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/9 "2020-04-03T19:03:26Z")

</div>

Will do that, give me some minutes.  
However when trying to pay from my phone, same issue persists.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 7:21pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/10 "2020-04-03T19:21:28Z")

</div>

Same issue with an iPhone

 ![WhatsApp Image 2020-04-03 at 14.19.05](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/d0a1771803af2c9f1432220f4738b1bcf316c887.jpeg)

---

<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:** [April 3, 2020, 7:23pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/11 "2020-04-03T19:23:27Z")

</div>

I thought there were issues with small amounts around $1.00???

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 7:26pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/13 "2020-04-03T19:26:24Z")

</div>

@eltintero You are going to have to ask Stripe support yourself about this. We can’t reproduce it on our end, and other users are actively processing payments with the Buy Button. Based on the error code we’re seeing, it’s possible that Stripe can’t process your specific credit card. That’s way beyond our ability to fix, and Stripe support is going to need specific card info to help you out.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 8:14pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/14 "2020-04-03T20:14:17Z")

</div>

Is it an issue from the card or my stripe account? What do you think?

Jesús A Vargas Espinosa-Mireles  
+52 5555051571  
[jesusvargasem@gmail.com](mailto:jesusvargasem@gmail.com)

---

<div class="post-metadata">

**Author:** ![Daniel\_Sweet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_sweet/32/15_2.png) [@Daniel\_Sweet](https://community.glideapps.com/u/Daniel_Sweet)\
**Post date:** [April 3, 2020, 8:18pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/15 "2020-04-03T20:18:34Z")

</div>

@eltintero We don’t know. Please ask Stripe support instead of us. It seems that Glide is doing everything correctly and Stripe itself is not working.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 3, 2020, 10:51pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/16 "2020-04-03T22:51:22Z")

</div>

I read somewhere else (here in the forum) that minimum amount was 0.5 USD.

---

<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 9, 2021, 2:35pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/17 "2021-04-09T14:35:28Z")

</div>

Hola @eltintero & @Daniel_Sweet

How did you solve this problem because I’m having the same one:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/b/9bcc1d255513f4e6d7aecd1370c87b93b36f6927.png)

I’m using the Stripe’s test card numbers to test but I don’t know if it is the problem source or something wrong is happening with my settings!!  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/3/63882e555b9608365e218d6e9c2b3806b0e3f8d2.png)

Or must I use these test card numbers on staging instance only?.

Thanks for your help!

---

<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:** [April 9, 2021, 2:50pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/18 "2021-04-09T14:50:02Z")

</div>

Any chance you have row owners in the app?

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 9, 2021, 2:52pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/19 "2021-04-09T14:52:50Z")

</div>

You can’t have row owners, and all data passed to Stripe needs to be stored in google sheets (nothing can be user specific or in Glide columns).

---

<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 9, 2021, 3:28pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/20 "2021-04-09T15:28:51Z")

</div>

So far, I have no row owners but I can see now that we can use USC into Price field without problems.

> [@How to use a math column for the stripe price](https://community.glideapps.com/t/how-to-use-a-math-column-for-the-stripe-price/23529/6):
>
> @ThinhDinh @SantiagoPerez Now you can use USC for Stripe price field, see my pics [image] But I still don’t understand why we can’t use a Math column, Template or a Rollup into Price filed yet? Instead, we can choose a Boolean or Link, it doesn’t make sense!! upside_down_face Any help to fix it @mark or @david in order to improve how to buy with Stripe button? Thanks in advance. Saludos!

But my problem doesn’t seem to have this problem (I think), the products are already in shopping cart, the issue happens after I press the **Pay (Pagar)** button which is showed automatically in this section and I can’t manipulate or configure it!

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/f/6ffa147283d436405d3d93ea440894344bed5f7a.png)

Gracias @eltintero

---

<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 10, 2021, 5:36pm UTC](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379/21 "2021-04-10T17:36:04Z")

</div>

My problem was caused by my USC!! 🤬

Although Glide lets you use USC into Stripe fields, when the transaction is fired, Stripe can’t find the real values and aborts all.

I don’t understand this kind of constraint. The Buy button and its process can be easier if USC can be used in this case.

[Next page](https://community.glideapps.com/t/payment-problem-with-buy-button-stripe/6379.md?page=2)
