applepay

Braintree Drop In Apple Pay crashing

送分小仙女□ 提交于 2019-12-02 10:22:14
Presenting PKPaymentAuthorizationViewController always results in a total crash with pointing to my AppDelegate: Thread 1: signal SIGABRT let vc = PKPaymentAuthorizationViewController(paymentRequest: paymentRequest) as PKPaymentAuthorizationViewController? if vc != nil{ vc!.delegate = self self.present(vc!, animated: true, completion: nil) }else{ print("error") } libc++abi.dylib: terminating with uncaught exception of type NSException btw.: I am checking .canMakePayments() if it is available first. The exception message is Supported orientations has no common orientation with the application,

Error: Apple pay not completed

强颜欢笑 提交于 2019-12-02 07:54:00
问题 I have implemented apple pay in my iOS application using Passkit framework. I did all of these things fully to set up apple pay. I am using sandbox account. I added cards in Wallet application and these cards are testing cards which I copied from this link. This code I am using: print("\(((self.grandTotalLabel.text!).replacingOccurrences(of: "$", with: "")))") let paymentNetworks = [PKPaymentNetwork.amex] if PKPaymentAuthorizationViewController.canMakePayments(usingNetworks: paymentNetworks){

Error: Apple pay not completed

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:04:55
I have implemented apple pay in my iOS application using Passkit framework. I did all of these things fully to set up apple pay. I am using sandbox account. I added cards in Wallet application and these cards are testing cards which I copied from this link . This code I am using: print("\(((self.grandTotalLabel.text!).replacingOccurrences(of: "$", with: "")))") let paymentNetworks = [PKPaymentNetwork.amex] if PKPaymentAuthorizationViewController.canMakePayments(usingNetworks: paymentNetworks){ paymentRequest.supportedNetworks = paymentNetworks paymentRequest.merchantCapabilities =

Apple Pay sandbox tester not able to login into device iOS 10

自古美人都是妖i 提交于 2019-12-01 20:52:31
I'm not able to login into my new iPhone 6s(iOS 10.0.1) with this sandbox account for testing apple way. While able to login into web icloud, itunes and tested on my old iPhone 6+(iOS 10 beta 5). Everytime try to login into iPhone 6s(iOS 10.0.1) I got this error message. iTunes account creation not allowed This apple ID cannot be used with the iTunes Stores at this time. Please try again. Help me what to do, is this bug from Apple side I have tried this many time. And getting same thing as you described. At last i were able to add test credit card for testing apple pay by following these steps

PKAddPassPaymentRequest not able to send a Request

你离开我真会死。 提交于 2019-12-01 13:32:51
I'm Developing Apple Pay Card Provisioning Apple Pay In-App Provisioning Card I got this continuing this functionality getting the nonce & nonceSignatures from Apple server after getting this trying to send PKAddPassPaymentRequest in the below formate not getting anything is the format is correct what I'm sending PKAddPaymentPassRequest *request = [[PKAddPaymentPassRequest alloc] init]; request.encryptedPassData =[@"XXXXXXXXXXX" dataUsingEncoding:NSUTF8StringEncoding]; request.activationData =[@"XXXXXXXXXXX" dataUsingEncoding:NSUTF8StringEncoding]; request.ephemeralPublicKey =[@"XXXXXXXXXXX"

How do I test Braintree + Apple Pay on a real device?

微笑、不失礼 提交于 2019-12-01 05:06:16
I am developing an app using Apple Pay for a US Client from outside the US. I am using Braintree + Apple Pay. We support real credit cards to Passbook, but we can't verify them. I successfully generated a client token, self.braintree and tried BT's both ways of integration. BTPaymentProvider - Our abstraction on payment method creation. if(self.braintree && ![self.braintree isKindOfClass:[NSNull class]]) { self.provider = [braintree paymentProviderWithDelegate:self]; if ([self.provider canCreatePaymentMethodWithProviderType:BTPaymentProviderTypeApplePay]) { self.provider.paymentSummaryItems =

How do I test Braintree + Apple Pay on a real device?

泄露秘密 提交于 2019-12-01 03:16:13
问题 I am developing an app using Apple Pay for a US Client from outside the US. I am using Braintree + Apple Pay. We support real credit cards to Passbook, but we can't verify them. I successfully generated a client token, self.braintree and tried BT's both ways of integration. BTPaymentProvider - Our abstraction on payment method creation. if(self.braintree && ![self.braintree isKindOfClass:[NSNull class]]) { self.provider = [braintree paymentProviderWithDelegate:self]; if ([self.provider

Testing App Based Apple Pay in a Beta Environment

两盒软妹~` 提交于 2019-11-30 21:24:11
Is there a way to test the full flow of Apple Pay in a Beta environment? I have implemented it using the Stripe SDK. I can get all the way to the point of the Apple Pay details popup screen with the finger print image. However when I try and use my finger print it tries to process but then throws an error saying, "Apple Pay Is Not Available in 'App Name'" I have Apple Pay setup on my project under the Capabilities section of the project settings. I don't know if this is just because it is not in a live enviornment, or if there is something else going on. Has anyone else seen this, or know if

IOS receipt validation error 21002

喜夏-厌秋 提交于 2019-11-30 20:40:52
问题 I'm trying to use receipt validation with my server side. Everything is ok, but sometimes I see strange: 10 times validation is OK, but on 11 i get 21002 error. I dont know what to do. Sometimes I get error 21002 when I validate receipt first time after launch app. App side: func validateReceipt(productID: String) { let receipt = NSData(contentsOfURL: NSBundle.mainBundle().appStoreReceiptURL!)! let receiptdata = receipt.base64EncodedStringWithOptions(NSDataBase64EncodingOptions(rawValue: 0))

Testing App Based Apple Pay in a Beta Environment

时光毁灭记忆、已成空白 提交于 2019-11-30 05:38:06
问题 Is there a way to test the full flow of Apple Pay in a Beta environment? I have implemented it using the Stripe SDK. I can get all the way to the point of the Apple Pay details popup screen with the finger print image. However when I try and use my finger print it tries to process but then throws an error saying, "Apple Pay Is Not Available in 'App Name'" I have Apple Pay setup on my project under the Capabilities section of the project settings. I don't know if this is just because it is not