我正在尝试将 Apple Pay 与 Stripe 集成到我的 iOS 应用程序中。使用 ApplePayStub 提供的条纹在 DEBUG 模式下检查苹果支付
我正在使用来自 git 的最新条带和ApplePayStub代码
尝试在iPhone 6 模拟器上运行,我使用的代码是:
paymentController = [[STPTestPaymentAuthorizationViewController alloc] initWithPaymentRequest:request];
((STPTestPaymentAuthorizationViewController*) paymentController).delegate = self;
得到错误:
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 ." UserInfo=0xxxxxxxxxxx {com.stripe.lib:ErrorMessageKey=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 ., NSLocalizedDescription=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 .},
任何帮助是极大的赞赏。