# Payment within an app - what to use to keep a customer’s card on an account

**URL:** <https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517>\
**Category:** Ask for Help\
**Created:** [October 23, 2021, 7:47pm UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517 "2021-10-23T19:47:55Z")\
**Posts on this page:** 8\
**Page:** 1

<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:** [October 23, 2021, 7:47pm UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/1 "2021-10-23T19:47:55Z")

</div>

Hi! I am using payment things for payhere/stripe and PayPal. Payhere handles one time payments, as well as subscriptions.

I’m looking for a way to keep a customer’s payment info on file, so they consume and pay for a service without needing to put in information again. Just like taking an Uber.

Any ideas? Thanks!

---

<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:** [October 23, 2021, 10:59pm UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/2 "2021-10-23T22:59:40Z")

</div>

I’m not aware of something like this that works for PayHere, but for Stripe, after reading through their API I think this is the related one.

[https://stripe.com/docs/api/payment\_intents/confirm](https://stripe.com/docs/api/payment_intents/confirm)

However it’s pretty complex.

---

<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:** [October 24, 2021, 6:11am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/3 "2021-10-24T06:11:51Z")

</div>

@Mark_Turrell Maybe 🤔

> **[New Feature: Card on File Payments!](https://www.cognitoforms.com/blog/161/new-feature-card-on-file-payments)**
>
> Click one button to store your customers' cards with Square or Stripe. Then use the card information later for future transactions.

---

<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:** [October 24, 2021, 6:35am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/4 "2021-10-24T06:35:21Z")

</div>

This looks like it should work. I’ll do some digging 🙂 thanks!

---

<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:** [October 24, 2021, 6:37am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/5 "2021-10-24T06:37:44Z")

</div>

Definitely worth giving it a whirl… 😉

Here is a bit more reading ⬇

> **[Card on file payments](https://www.cognitoforms.com/support/196/collecting-payment/card-on-file-payments)**
>
> Securely store customer credit and debit cards for future use – while staying PCI compliant. Use Card on File to simplify recurring payments, subscriptions, installments, or any time when you don’t know what the final charges will be.

---

<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:** [October 24, 2021, 6:56am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/6 "2021-10-24T06:56:13Z")

</div>

It looks like it should work nicely. A quick test to make sure it embeds into Glide natively (yes), and then I would need to work out how to pass parameters (name, user ID) so I can tie things back afterwards, as well as making it easy to complete the form.

15 min exploration done - so it is doable, and is added to my to-do list (to make customers happy).

Thanks, @Rosewebstudio !

 ![Screenshot 2021-10-24 at 08.54.37](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/6/266fd2564e407127dd30d918c1f28a7ee0da0b9a.jpeg)

---

<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:** [October 24, 2021, 7:07am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/7 "2021-10-24T07:07:12Z")

</div>

That’s great…it’s a pretty powerful tool and has some great logical expressions for formatting and skip logic should you feel the need to get creative with your data before it hits your app.

I’m sure others will come up with alternative ideas but it does appear to fulfil most of your requirements. 👍

Jason

---

<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:** [October 25, 2021, 7:07am UTC](https://community.glideapps.com/t/payment-within-an-app-what-to-use-to-keep-a-customer-s-card-on-an-account/33517/8 "2021-10-25T07:07:14Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
