我已根据 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/