简体   繁体   English

为iOS应用构建支付系统

[英]Building a payment system for iOS app

So I'm creating an app for a guy who runs a local auction (a mini ebay meets craigslist if you will, but for more in person transactions).所以我正在为一个运行本地拍卖的人创建一个应用程序(如果你愿意,迷你 ebay 满足 craigslist,但用于更多的面对面交易)。 I'm doing it as a favor, but to also build my portfolio, so hey we both get something out of it.我这样做是为了帮个忙,但也是为了建立我的投资组合,所以嘿,我们都从中得到了一些东西。 Now I'm running into a bit of a thinker on the “payment system”.现在我遇到了一个关于“支付系统”的思考者。 The idea we came up with is when a seller completes the transaction, and confirms the sale, the money is held “by a middle man” until the buyer confirms the item (kind of like how Pay pal can release funds early if the buyer of an ebay item says it's a good sale).我们提出的想法是,当卖家完成交易并确认销售时,这笔钱“由中间人”持有,直到买家确认商品(有点像 Pay pal 可以提前释放资金,如果买家易趣商品说这是一个很好的销售)。

The client wants it set up this way so that he doesn't miss out on his cut (10% of the sale)– as in I buy an item, meet the seller in person, then we just do an exchange there having used the app as more of a means to meet.客户希望以这种方式进行设置,以便他不会错过他的减价(销售额的 10%)——就像我买了一件物品,亲自与卖家见面,然后我们只是在那里进行了交换,使用了应用程序作为更多的见面方式。 I know Uber charges your card automatically upon GPS once you reach your destination, but it would be better to pull up the “buyer” portion of the app to confirm the sale, thus moving it from the middle man to the seller.我知道优步会在您到达目的地后通过 GPS 自动从您的卡上扣款,但最好打开应用程序的“买方”部分以确认销售,从而将其从中间人转移到卖方。

Aside from ensuring the client gets his cut, this can also build confidence that the “sale is funded” when the buyer is on their way.除了确保客户得到他的削减之外,这还可以建立信心,即当买家在路上时“销售已获得资金”。

Anyway, are there API's out there that can help be build something like this for speedy transactions?无论如何,是否有 API 可以帮助构建这样的东西以实现快速交易?

Not sure if this helps, but we will be using Parse as the back end.不确定这是否有帮助,但我们将使用 Parse 作为后端。

Thanks!谢谢!

There are several payment APIs for the iOS, and I can recommend Stripe which has everything you need. iOS 有几个支付 API,我可以推荐Stripe ,它有你需要的一切。 They have an excellent support and documentation for integrating with iOS.他们有与 iOS 集成的出色支持和文档。 You can check the documentation here .您可以在此处查看文档。 Also it works really well with Apple Pay and it's implementation is no brainer.此外,它与 Apple Pay 配合得非常好,而且它的实施也很简单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM