我按照Stripe手册在iOS项目中实现Stripe。我们有最新版本,一切都像示例中一样。不断收到此错误:
Error Domain=com.stripe.lib Code=50 "Your payment information is formatted improperly. Please make sure you're correctly using the latest version of our iOS library. For more information see https://stripe.com/docs/mobile/ios."
代码在模拟器中运行,模拟为 iPhone 6s 并运行最新的 iOS。有人有任何线索吗?
最佳答案
模拟器并不是设备的真实反射(reflect),正如文档所说,确保库的版本是准确的最新版本。您可能有一个与该架构不匹配的恶意版本。
关于ios - Swift Apple Pay 出现 Stripe 错误 50,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37031699/