ios - 在 iOS swift 中使用 Apple Pay

标签 ios swift stripe-payments applepay

我已根据 Apple 提供的文档将 Apple Pay 所需的代码集成到我的应用程序中。 但是,作为初学者,我有一个疑问。

我们没有使用任何第三方支付处理器,如 PayPal、Stripe 等。 是否必须使用第三方处理器?我们可以只使用代码和存折/钱包进行交易吗?

注意:商户ID、支付证书是在开发者账户中创建的。

最佳答案

基于苹果 documentation推荐但不是强制性的支付提供商。

Using one of these SDKs or hosted solutions is highly recommended

关于开发自己的支付流程...

The alternative is to provide your own server-side solution to receive payments from your app or website, decrypt payment tokens and interface with the payment provider to process the authorization. Handling credit and debit card payments can be complicated and unless you already have the expertise and systems in place, an Apple Pay SDK or JS API from a payment provider is the quickest and most reliable way to support Apple Pay in your app or website.

在我看来,使用支付提供商比开发自己的提供商更好。您正在处理金钱、信用卡号码...

关于ios - 在 iOS swift 中使用 Apple Pay,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42857808/

相关文章:

ios - 如果用于 'numberOfRowsIndexPath' .count 的数组为 0,则更改 TableView 的大小

ruby-on-rails - 创建费用前验证 CVC 码

stripe-payments - 在 Stripe CLI 中使用 fixtures

ios - 我怎样才能在 Firebase 中获得现有和新 child 的结果?

ios - NSMutableAttributedString 中的 Swift 替换字体大小

ios - 如何在按下导航栏时快速隐藏键盘

android - 在 Stripe 付款上显示每小时价格而不是存款价格

ios - 在不同的选项卡中弹出 View Controller

ios - 解析 : JSON text did not start with array or object and option to allow fragments not set

iphone - 访问 UIImagePickerController 拍摄的图像的元数据(exif 标签)- iOS/iPhone