草庐IT

paymentController

全部标签

ios - Stripe 和 Apple Pay 无法在 iOS 应用程序中使用

因为我花了很长时间来解决这个问题,所以我感到非常沮丧。我正在使用以下代码创建请求:PKPaymentRequest*request=[StripepaymentRequestWithMerchantIdentifier:merchantId];//Configureyourrequesthere.NSString*label=@"ProductDescription";NSDecimalNumber*amount=[NSDecimalNumberdecimalNumberWithString:[productpriceDoublestringByReplacingOccurrences