Apple Pay

RSS for tag

Provide a fast, easy, and secure way for users to buy goods and services in your app or on your website using Apple Pay.

Apple Pay Documentation

Posts under Apple Pay tag

179 Posts
Sort by:
Post not yet marked as solved
15 Replies
17k Views
I followed the instructions on the apple pay sandbox page (https://developer.apple.com/support/apple-pay-sandbox/), but when I attempted to add any test card, I would get an error stating it could not add the card. No other details.I am using a sandbox testing accould with the region set to United States. any suggestions?
Posted
by
Post not yet marked as solved
5 Replies
11k Views
I have a question about suppressing Apple Pay when a particular app is open. The app concerned displays a QR code which is read by a reader. Unfortunately, the reader is within the vicinity of a fixed NFC reader and is causing Apple Pay to open, stopping the QR code from being read. I’m aware that one option is to place the QR code within Apple’s Wallet where the NFC reader can be disabled, however I’ve also been told that it’s possible to resolve this without needing to pass the QR code through to the Wallet. Any suggestions welcome (moving the reader isn’t currently an option!). Thanks.
Posted
by
Post not yet marked as solved
3 Replies
12k Views
The guide here https://developer.apple.com/library/content/ApplePay_Guide/Configuration.html#//apple_ref/doc/uid/TP40014764-CH2-SW1says :To register a Merchant IDIn Member Center, select Certificates, Identifiers & Profiles.I just creaed a new account on developer.apple.com, but my account doesn't show any Certificates, Identifiers & Profiles item in the left menu; this is what i seeHow do i enable these options my account ?Thanks 4 ur help
Posted
by
Post marked as solved
2 Replies
9.2k Views
Hi,While trying to setup Apple Pay for our website I was stopped by the certificate generation step:Merchant Identity Certificate(You need to accept the agreement 'Apple Pay Platform Web Merchant Terms and Conditions'.)But where can I find this agreement? I checked the contracts section but nothing is there.Regards,
Posted
by
Post not yet marked as solved
11 Replies
8.8k Views
HiHow long does it take to get an NFC Certificate from Apple? So that we can delivery NFC Enabled Loyalty Passes.We registered at the following address but haven't received any communication for over 2 weeks.https://developer.apple.com/contact/passkit/We are developing solutions for our clients and need to test the technology.We use different PassTypeIDs for each of our Customers so it's likely we will need a different NFC certificate for each of our customers.How do we get NFC Certificates in bulk so that we can deliver NFC Loyalty Programmes to our Customers?Thanks
Posted
by
Post not yet marked as solved
4 Replies
5.2k Views
Hi,- I have a developer account with Apple- I have created the Payment Processing Certificate- I have done the merchant validation- I have created the Merchant Identity CertificateWhen I call the function 'session.onvalidatemerchant', visit the url: https://cn-apple-pay-gateway-tj-pod1.apple.com/paymentservices/startSession(event.validationURL), I received a error:{ "statusMessage": "Payment Services Exception merchantId=BECD61522C23F5C8200759A03B67E19730D3F6A03C7DDD1470D64B0DF6F28078 unauthorized to process transactions on behalf of merchantId=1BAE2D40CDB3552D32815FA54BFBDFBAFFE94047CC198087DB502A7C6F9448B1 reason=\"1BAE2D40CDB3552D32815FA54BFBDFBAFFE94047CC198087DB502A7C6F9448B1 is not a registered merchant in WWDR and isn't properly authorized via Mass Enablement, either.\"", "statusCode": "417"}But when I make the same request on a Chinese server, I received a successful result.I hope to get successful results on servers in the United States.Please help.ThanksFan
Posted
by
Post not yet marked as solved
4 Replies
3.6k Views
I'm seeing "Payment not completed" with test cards many times, for unknown reason. Code is fine.I'm gueesting there is some blocking mechanism, on apple id level.These days I've followed Apple Pay Sandbox Testing document to create two test accounts, both App Store Territory are United States. I am in China and sometimes I may use VPN of US IP.I created a simple test app to test apple pay, the code is pasted at the end of this post. I used this code to test these two accounts, sometimes it worked, suddently it stopped working and always "Payment not completed", no matter what test card I add.I tried to find the pattern, unforturnatelly I couldn't, for example:Yesterday I added a new test account (say Account A) on a test device (say Device A), added a VISA test card, it worked, and then I added three more: Master/Discover/American Express, and test again, suddenly "Payment not completed". I tried sign out and sign in and add test card again, still not working. Today I check again, still not working.There's another test account (Accout B) working on another test device (Device B), running same test app. So I sign in with Account B on Device A, add same test card, then worked. Note, this didn't mean Account B is perfect, it used to having issue, but now working, maybe just because I haven't used it for hours.Code:PKPaymentRequest *paymentRequest = [[PKPaymentRequest alloc] init];paymentRequest.merchantIdentifier = @"merchant.com.samuel.applepay.test";paymentRequest.countryCode = @"US";paymentRequest.currencyCode = @"USD";paymentRequest.merchantCapabilities = PKMerchantCapability3DS;paymentRequest.supportedNetworks = @[PKPaymentNetworkAmex, PKPaymentNetworkVisa, PKPaymentNetworkDiscover, PKPaymentNetworkMasterCard];
Posted
by
Post not yet marked as solved
1 Replies
627 Views
Hi, I want to test the Apple Pay implementation in the application, for the country that supports Apple Pay. But I am in the country that does NOT support Apple Pay. Is there a way to do that? Thanks.
Posted
by
Post not yet marked as solved
5 Replies
3.8k Views
I'm trying to get Apple Pay going on a Shopify site using Authorize.net. I have the text file I need to upload to /.well-known/apple-developer-merchantid-domain-association.txt. Shopify doesn't allow that sort of thing. I know Google will offer a meta tag to add to the header as an alternative when the text file isn't an option. I can't seem to find another method with Apple in this situation. Has anyone found a way around this?
Posted
by
Post not yet marked as solved
1 Replies
3.4k Views
I'm facing an issue with some master sandbox testing cards, the DPAN value displayed on the “Wallet & Apple Pay Setting” different from the value we got after decrypting the payment token. check the below sample values: FPAN: 5204 2477 5000 1497 DPAN on device setting: **********5057 Decrypted DPAN: 520424****5996 The DPAN and the decrypted DPAN should be the same.
Posted
by
Post not yet marked as solved
30 Replies
72k Views
G'day. At my office the doors are locked with an NFC reader. We carry around a little NFC tag on our key chains which will read out a number and this then will open the door if the number matches a number in the database. I am tired of carrying around the tag, people keep loosing it, forgetting it and it would be nice to open the door using a Phone - which we tend to always have on us. So I used a credit card which is NFC enabled to readout the NFC information, added this number to the database and can now open doors using my credit card. This is pretty cool. If I forget my keys (most likely they will be on the desk but silly me left the desk without them), I may have my wallet with me. Then I tried Wallet.app on my iPhone and select the same credit card. However the door doesn't open. When looking in the door software I noticed that the tags will always transmit the same number. So does my credit card. However Wallet.app will read out 4 readings (or maybe just one very long one) and they are always different. So I can not make them match with the door database. Any ideas how to make this work? Can I give somehow wallet.app an NFC number which I can then add to my door database? Or how come the credit card and the very same one in wallet.app don't match? Thanks for your help! Would be neat if I could make this work out. This will make a lot of people happy at my office! Cheers!
Posted
by
Post marked as solved
2 Replies
4.4k Views
Must access to the domain-verification file for Apple-Pay at https://[DOMAIN_NAME]/.well-known/apple-developer-merchantid-domain-association be restricted to the Apple Pay IP addresses provided under the Allow Apple IP Addresses for Domain Verification heading of Setting Up Your Server | Apple Developer Documentation - https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server#3172427 or can it be accessed publicly? Asking because ".well-known" is usually meant to be public but, because the domain-verification file is used to validate a domain, should the file not be protected from public access so the file cannot be retrieved with the malicious intent to validate a spoofed domain? Also, the fact the domain-verification file content is not trivial hints its access should be restricted. Thank you!
Posted
by
Post not yet marked as solved
5 Replies
3k Views
Hi, I work in a fintech company that offers support to Apple Pay in our cards, i.e. our users have the option add their cards to Apple Pay using our app (in-app provisioning). Our company already got the proper In-App provisioning entitlements from Apple and the entire in-app provisioning process is working as expected. When an user taps on the button "Add to Apple Wallet" in our app to provision his card, we call the following code below: let config = PKAddPaymentPassRequestConfiguration() config.cardholderName = "\(firstName) \(lastName)" config.localizedDescription = "MyApp Card" config.primaryAccountSuffix = String(cardSuffix) config.paymentNetwork = .visa /* Present the Apple Pay ViewController */ let controller = PKAddPaymentPassViewController(requestConfiguration: config, delegate: self) UIApplication.shared.delegate?.window??.rootViewController?.present(controller!, animated: true) If the user has an Apple Watch paired, he is greeted with a screen asking him to select on which device he wants to add the card: on his iPhone or on the Apple Watch (please see the following screenshot: imgur.com/a/MSQPnt8 - After the user selects the device, the provisioning process continues successfully as expected. However, if the user taps on the "Add to Apple Wallet" button and he already has the card added to one of the devices (the Apple Watch, for example), then the code above is called again, but he is once again greeted with the same screen asking him to select on which devices he wants to add the card, on his iPhone or on his Apple Watch, even though the card is already added on the Apple Watch. The way I understand it, since the card is already added on the Apple Watch, only iPhone should appear as a valid option to have the card added. Is there anything else that I need to do in the code above to make sure only the available devices (I mean, only the devices that don't have the card added on Apple Pay yet) are listed in the device selection? Thanks
Posted
by
Post not yet marked as solved
1 Replies
675 Views
I have followed all the steps in here https://help.apple.com/developer-account/#/dev1731126fb Only step that I am not sure is merchant identity certificate creation. I didn't use the keychain and I used IIS to create a CSR and installed the certificate in the windows server. However according to my logs, execution doesn't even going to verify the merchant. When I click the ApplePay button it brings the card details as follows, but the bottom button stays "Processing" as follows. May I know what could be the reason? Thanks.
Posted
by
Post not yet marked as solved
3 Replies
1.1k Views
Hi, Is it possible to get access to "Apple pay merchant identification" and use it in my application? Thanks
Posted
by
Post not yet marked as solved
2 Replies
2.8k Views
Hello, I have referred apple's document and other sites to get familiar with Apple Pay with the iOS app. (using swift) they all say how to implement Apple Pay with stripe. so, my question is, is it possible to make full transaction success without backend server/stripe? Thank you.
Posted
by