several steps I have done:
1、send Apple Pay Entitlement & Whitelisting Request email and approved by Apple
2、setting Addiction Capability,config wallet ,import Profile Provisioning
3、setting Entitlement.info,enable com.apple.developer.payment-pass-provisioning=YES
4、successfully show “add Card to ApplePay” Page
5、error occurs in
(void)addPaymentPassViewController:(PKAddPaymentPassViewController *)controller
generateRequestWithCertificateChain:(NSArray<NSData *> *)certificates
nonce:(NSData *)nonce
nonceSignature:(NSData *)nonceSignature
completionHandler:(void (^)(PKAddPaymentPassRequest *request))handler{
.....
handler(request);
}
download from testflight to test
I got a error ’Error Domain=PKPassKitErrorDomain Code=1 "(null)"’, it seems always happened whatever i do.
It is there any steps I miss?What I can do to solve the issue.
Apple Pay
RSS for tagDiscuss how to integrate Apple Pay into your app for secure and convenient payments.
Post
Replies
Boosts
Views
Activity
I'm calling canAddSecureElementPass(primaryAccountIdentifier:) to check if a payment card is in the Appel Wallet. But regardless of the primaryAccountIdentifier value that I provide, it always returns "true". Does anyone know why this might be?
I'm admin/ops for a small nonprofit just trying to set up Apple Pay for our donation page. We got to the register a merchant ID stage and it is asking me to enter a Description. It only says it can't contain special characters.
Who sees this Description? The donor/person paying? Is it just us? There's no guidance, and no examples.
It also would be helpful if there were more guidance for the Identifier field but at least that has an example.
https://developer.apple.com/account/resources/identifiers/merchant/add/
Help! (Thanks!!)
I had a new apple pass integration working and now I cannot even get it to attempt to register. I'm trying to dig through the console log, but the amount of messages is crazy and I cannot seem to find anything specific to my failing pass. I did accidentally hit apple with about 200 push notifications requesting to update a pass on the same device, so I suppose it's possible something got blocked or disabled, but I can find no sign of that either. Any idea on what might have gone wrong or how I can better diagnose the problem. I've spend hours rereading doc and search the web, but now I'm tossing my hands up and asking for help
Lets say I got two preferred device languages( english first,italian second). I got a PKAddPassButton, which label gets the english localization on first install, but if I change the device language to Italian and relaunch the application, the buttons label has the english translation despite changing the first preffered device language to italian. I need to re install the application to get the italian string on the button. Is there anything I may be doing wrong?
We got failed in our In-App Provisioning and cannot add our VISA credit card to ApplePay Wallet when performing our End-to-End test in production using the test flight. Would like to seek your help to investigate the problem. Thanks
I am building a functionality where I am offering some discount to user based on some coupon code. The management of Coupon I am handling at my website and after applying coupon user can see the updated pricing. Now if the user proceed with the payment using ApplePay as per Apple docs https://developer.apple.com/design/human-interface-guidelines/apple-pay
> Display the active coupon or promotional code, or give people a way to enter it.
For example, if people can enter a code before the payment sheet appears, displaying it on the sheet can reassure them that the code works as they expect. Alternatively, allowing code entry on the payment sheet can be particularly beneficial in an express checkout flow.
Looking into this it is not clear to me weather it is a good practice to follow or a strict guideline. What could be the consequences if I don't show any coupon discount related information on ApplePay payment page
I am developing a mobile gaming app where players can either collect the app's virtual currency through winning tournaments or by purchasing virtual currency, which will be used to purchase real prizes and gift cards/vouchers. The application will be cross-platform where players can access their account on other platforms outside of the mobile app.
My question is whether the purchase of the virtual currency would be treated as an IAP or not since there is a physical value of the virtual currency outside of the app because it can be used to purchase gift cards and other real prizes?
Any guidance would be greatly appreciated it. Thanks!
Suddenly I keep getting the following error:
"HTTP Status 400 \u2013 Bad Requestbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}HTTP Status 400 \u2013 Bad Request"
Apple Merchant Identifier certificate and Apple Payment Processing certificate are fine. Everything was working fine some days ago.
The domain has been successfully registered as well.
Hello, we recently added Apple Pay to our application, and we have some controls for subscriptions with transactionId. I have a question: If a user updates their subscription via the App Store, can we still use the same transactionId, or should we take another approach? Thank you.
Hello, so am trying to setup Apple Pay for my stripe and in the steps says:
Select the merchant ID you want to add this certificate to, then click 'Create Certificate' in the Apple Pay Payment Processing Certificates section.
When it prompts you to upload a certificate signing request, select the .certSigningRequest file you just downloaded.
Check that your certificate details are correct. Download to save the certificate locally.
And for the first step they gave this link (https://developer.apple.com/account/resources/identifiers/list/merchant) but when i enter it i cant access it and it says:
Access Unavailable
This resource is only for developers enrolled in a developer program or members of an organization’s team in a developer program.
Im encountering an issue with recurring payments using Apple Pay's tokenization system. The temporary token generated for a transaction isn't designed to be reused for recurring charges, which is causing problems for my merchant's monthly plan.
Anyone find a workaround for this? is there a way to disable this temp token for my customers to buy a plan?
The e-commerce infrastructure we use does not allow uploading files. How to making verified ?
.well-known/apple-developer-merchantid-domain-association domain-verification file:
Case-ID: 6394971
Hi Apple Team,
We are trying to implement “onvalidatemerchant” event, but we are facing below error.
“System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host”
below is the sample code what we trying.
string validationUrl = https://apple-pay-gateway.apple.com/paymentservices/startSession;
var sessionRequestBody = new ApplePaySessionRequest
{
merchantIdentifier = "merchant.com.onepay.onepaygo",
displayName = "Apple Pay OnePay",
Initiative = "web",
initiativeContext = "portaldev.onepay.com"
};
We are also added the merchant certificate.
We have also tried other url: string validationUrl = https://apple-pay-gateway-cert.apple.com/paymentservices/startSession.
Let me know if you need any other info.
Hi,
I am using .Net core 7 (C#) to create and update the apple wallet passes for creating the pass I am using the NuGet package dotnet-passbook v3.2.4.
I had created the apple general and coupon pass successfully by using this package but I am not able to update the pass , need some help how to update the pass , please share any sample .
I am working in India office and working on Apple Pay integration through Adyen; however, I am facing challenges in making the Apple Pay button show up, even with Mac/Safari. The Apple Pay button shows up for my US colleagues !! Is there any wholistic and recommended settings that make Apple Pay development feasible from India ?
hi im tryng for some time to get the certification for NFC-enabled pass to use with Apple Wallet. but not response from apple team they just send a email with some question we reply but them we have not response.. can some one help me?
I am seeking an assistance with an issue we've encountered during our efforts to integrate Apple Pay into our web application. We're using Angular on our client side. and our server side is powered by AEM(Adobe Experience Manager), which is based on Java.
As part of our integration process, we're following the Apple Pay documentation. However, we've encountered a challenge during the merchant validation step. Our server-side implementation, responsible for validating the merchant identity and generating a session object for payment requests, is encountering an SSL handshake error.
Here's the error message we're encountering:
javax.net.ssl|FINE|01|main|2024-03-20 05:19:52.812 IST|SSLCipher.java:1817|KeyLimit read side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|FINE|01|main|2024-03-20 05:19:52.813 IST|SSLCipher.java:1971|KeyLimit write side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|FINE|01|main|2024-03-20 05:19:52.849 IST|SSLCipher.java:1817|KeyLimit read side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|FINE|01|main|2024-03-20 05:19:52.850 IST|SSLCipher.java:1971|KeyLimit write side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|FINE|01|main|2024-03-20 05:19:54.082 IST|Utilities.java:73|the previous server name in SNI (type=host_name (0), value=apple-pay-gateway-cert.apple.com) was replaced with (type=host_name (0), value=apple-pay-gateway-cert.apple.com)
javax.net.ssl|FINE|01|main|2024-03-20 05:19:54.448 IST|SSLCipher.java:1817|KeyLimit read side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|FINE|01|main|2024-03-20 05:19:54.448 IST|SSLCipher.java:1971|KeyLimit write side: algorithm = AES/GCM/NOPADDING:KEYUPDATE
countdown value = 137438953472
javax.net.ssl|SEVERE|01|main|2024-03-20 05:19:54.453 IST|TransportContext.java:369|Fatal (CERTIFICATE_UNKNOWN): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (
"throwable" : {
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
at sun.security.validator.Validator.validate(Validator.java:271)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:312)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:128)
at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1339)
at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1230)
at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1173)
at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:376)
at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:479)
at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:457)
at sun.security.ssl.TransportContext.dispatch(TransportContext.java:200)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:155)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 24 more}
}
We've reviewed our server configuration and checked that the SSL/TLS settings are correctly configured. Additionally, we've ensured that the server's SSL certificate is valid and up-to-date.
I'm trying to test payments on an iOS app.
I have a sandbox account and its worked previously.
When I try and add a test credit card I get the error
"Your Issuer Does Not Yet Offer Support For This Card"
I'm using the cards here https://developer.apple.com/apple-pay/sandbox-testing/"
What I have tried:
Checking my Region is the UK
Checking the card details
Tried several cards
Tried signing out of my iCloud completely
I'm testing on an iPhone 12 mini using iOS 16.5.1
Showing pre-authorization transaction as payment is confusing. It doesn't get removed even if we void the pre-authorization. Has anyone encountered this issue before, and if so, how did you resolve it?