TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Can a customers credit card be linked to their phone number?

1 点作者 nns超过 9 年前
Can you authorize a payment on the server when a customer texts you.

1 comment

jeffmould超过 9 年前
Sure, but I would be extremely careful doing it as it is easy to spoof a number and could possibly open some other issues.<p>You would also need to have the user create their account and enter payment info via a website first. After that though, you just create a webhook through a service like Twilio to respond to a set of texts and when the Make Payment text is received it processes the charge. You could require a pin or something form of verification to help ensure it is the actual user and not their kid accidentally playing on the phone.<p>You wouldn&#x27;t be directly associating the credit card to the phone number though. You would simply be associating the phone number to a user in your system, and then the user would have a payment method associated with them through your processor (i.e. Stripe) in the form of a token.<p>And just to be clear I would never use this to require the user to text a credit card number to your company.