最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

laravel - How to Save Customer Cards at the App Level for Multiple Stripe Accounts in a Restaurant Ordering App? - Stack Overflo

programmeradmin9浏览0评论

I have developed a restaurant ordering app where each restaurant has its own Stripe payment gateway integration. The payment process is working fine, but we are facing an issue with saving customer cards at the app level.

We want customers to be able to save their cards once and use them to pay at any restaurant automatically. However, based on our research, Stripe does not allow storing card details directly via API. Instead, it requires using Stripe.js or another payment gateway to securely handle card information.

Since we have multiple Stripe accounts (one for each restaurant), how can we implement a system where:

A customer saves their card once in the app.

The saved card can be used to pay any restaurant automatically.

Is there a recommended approach using Stripe for this scenario? Or should we consider an alternative payment method?

Any guidance or best practices would be greatly appreciated.

I have developed a restaurant ordering app where each restaurant has its own Stripe payment gateway integration. The payment process is working fine, but we are facing an issue with saving customer cards at the app level.

We want customers to be able to save their cards once and use them to pay at any restaurant automatically. However, based on our research, Stripe does not allow storing card details directly via API. Instead, it requires using Stripe.js or another payment gateway to securely handle card information.

Since we have multiple Stripe accounts (one for each restaurant), how can we implement a system where:

A customer saves their card once in the app.

The saved card can be used to pay any restaurant automatically.

Is there a recommended approach using Stripe for this scenario? Or should we consider an alternative payment method?

Any guidance or best practices would be greatly appreciated.

Share Improve this question edited yesterday DarkBee 15.5k8 gold badges72 silver badges117 bronze badges asked yesterday LalitLalit 9 New contributor Lalit is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 3
  • Unsure why you feel the need to store credit card information, this makes you liable if a breach happens. Please also see this answer and here as well – DarkBee Commented yesterday
  • The stripe.js will store the card information as a token and is only usable for stripe. It will never store the card information itself. – Tatachiblob Commented yesterday
  • You can save the card(payment method) to a customer who belongs to the platform and use Destination Charge(docs.stripe/connect/destination-charges) for each Stripe Account – Ridox Commented yesterday
Add a comment  | 

1 Answer 1

Reset to default -1

you'll want to set up a platform account (it can be one of your existing Stripe accounts, or create a new Stripe account), and connect it (via OAuth) with the other Stripe accounts. So that you can save the payment methods on the platform, and clone them to the connected accounts and use them for direct charges. The details are covered in this doc

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论