Apple Pay

RSS for tag

Discuss how to integrate Apple Pay into your app for secure and convenient payments.

Apple Pay Documentation

Post

Replies

Boosts

Views

Activity

Apple reject APP for not using "In App Purchase" for subscription
We have a simple application where users can post ADs and others can bid/respond to the ADS. The users can purchase premium plans to post more ADs per month or bid on more ADs. We are using STRIPE to handle payments & subscriptions. Upon trying to publish to the App Store, we are getting the following error. Guideline 3.1.1 - In-App Purchase We noticed that your app contains a payment mechanism other than in-app purchase for digital content or to unlock features or functionality within your app, which is not appropriate for the App Store. In-app purchase is the only valid in-app payment mechanism for digital content. Please suggest me the possible ways to solve it and publish on APP STORE. thanks! [Image Edited by Moderator to Remove Personal Information]
0
0
369
Feb ’24
Watch connectivity inside Apple Wallet Issuer Extension
I am developing issuer non-UI extension. In function status i have to return remotePassEntriesAvailable (boolean) and to do that i have to activate WCSession from that Extension to get the remoteSecureElementPasses which are already added to the remote wallet (watch). I have implemented WCSessionDelegate inside the non-UI extension but i can not enable the WCSession. I always get: Error: WCSession has not been activated I saw a comment in this post -> WCSession is not available from iOS extensions, only from the main iOS app. To the point... If the WCSession is not available from iOS extensions how can I properly set remoteSecureElementPasses and implement function remotePassEntries if i can't connect to the watch to see which cards are already enrolled?
4
0
598
Feb ’24
Register a Pass for Update Notifications
Hello everyone, I developed an application to create passes. I add a webservice URL to manage updates, password deletions, ... When I add a pkpass in ios(17.2) simulator, the POST endpoint of my webserviceURL is never reached on my local server, but the GET and DELETE endpoints are reached. Does anyone encounter this kind of problem and how can I get the POST endpoint working in the simulator? Thanks in advance to anyone who helps me =)
0
0
385
Feb ’24
issue with Merchant validation from web ASP.NET core behind load balancer
Getting issue while doing merchant validation from windows server behind load balancer. "System.IO.IOException: The decryption operation failed, see inner exception.\r\n ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted.\r\n --- End of inner exception stack trace ---\r\n at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)\r\n at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)\r\n at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)" Please anyone can help here code snippet : // POST the data to create a valid Apple Pay merchant session. string json = JsonSerializer.Serialize(request); string path = "apple-pay-cert.pem"; string jsonfilepath = _configuration.GetSection("ApplePay").GetValue<string>("MerchantCertificateFileName"); if (!string.IsNullOrEmpty(jsonfilepath)) { path = _hostingEnvironment.ContentRootFileProvider.GetFileInfo(jsonfilepath)?.PhysicalPath; } var cert = new X509Certificate2(path, "", X509KeyStorageFlags.UserKeySet | X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable); var sslOptions = new SslClientAuthenticationOptions(); var shHandler = new SocketsHttpHandler { MaxConnectionsPerServer = 100, AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate, PooledConnectionLifetime = TimeSpan.FromMinutes(3), ConnectTimeout = TimeSpan.FromSeconds(100), PooledConnectionIdleTimeout = TimeSpan.FromSeconds(60), ResponseDrainTimeout = TimeSpan.FromSeconds(60), }; if (cert != null) { shHandler.SslOptions = new SslClientAuthenticationOptions() { ClientCertificates = new X509CertificateCollection(), }; shHandler.SslOptions.ClientCertificates.Add(cert); shHandler.SslOptions.LocalCertificateSelectionCallback = (object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers) => cert; } ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var httpClient = new HttpClient(shHandler); using var content = new StringContent(json, Encoding.UTF8, MediaTypeNames.Application.Json); using var response = await httpClient.PostAsync(requestUri, content, cancellationToken); response.EnsureSuccessStatusCode(); // Read the opaque merchant session JSON from the response body. using var stream = await response.Content.ReadAsStreamAsync(); return await JsonDocument.ParseAsync(stream, cancellationToken: cancellationToken);
0
0
546
Feb ’24
Shopware 6 Apple Pay just "Domain verification failed."
Hello, we're using Shopware 6.5.7.3 and would like to offer our customers Apple Pay. The Domain verification has succeeded once already. Because of our Payment Provider the Identfifiers and certificates have to be grenerated a certain way, which we did not know at the time. Alas the domain has to be verified again. The problem is that the verification will not succeed anymore. A new Merchant ID, Merchant ID Certificate & Payment Processing Certificate have been generated. Previously there had been error messages (paraphrased) like "Domain verification failed. The file can't be reached", which have been fixed. This time the only error message is "Domain verification failed". No extra explanation, just these 3 words. The file "apple-developer-merchantid-domain-association.txt" can be reached inside the dir public/.well-know directory and the nginx acces.log documents a foreign Apple device accessing the file when the verification process is started in the Apple Dev backend: "172.20.0.2 - - [29/Jan/2024:14:35:08 +0000] "GET /.well-known/apple-developer-merchantid-domain-association.txt HTTP/1.1" 200 5744 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML%2C like Gecko) Version/9.1.2 Safari/601.7.7" "17.179.144.226" 0.000 - . -" Does anyone know what the exact error message "Domain verification failed." means? Which files are neccessary to verify the domain? Do files like merchant_id.cer/.pem/.key in %root%/config/apple-pay-cert play a role in this specific process? Thank you very much for any insight
0
0
530
Jan ’24
Apple Pay - Token Management API
I am trying to understand how to use the token notification API to deactivate a token when the user unsubscribes. The main issue I see is that I do not receive the merchantTokenIdentifier in my payload when initiating a new recurring transaction. I have not found any working examples showing end-to-end to integration here. The docs are a little confusing as well, I found this: merchantTokenIdentifier string For a merchant token request, the provisioned merchant token identifier from the payment network But I did not find anything about a "merchant token request"
1
0
541
Jan ’24
Apple Developer Program Enrollment Bug - Apple took all money from my gift card balance and claimed that Purchase Failed - An unknown error occurred
Today I was going to subscribe to the Apple Developer Program since I have an app that I want to distribute to App Store. Everything went fine in the enrollment process, until I had to pay. For Christmas, I had received a physical Apple Gift Card of 1000 SEK (≈100 USD) and therefore had this on my Apple-ID's gift card balance. I had already spent 49 SEK of the gift card balance on an app subscription. However, when I tried to enroll in the Apple Developer Program, Apple took the remaining 951 SEK from the gift card balance (it's gone from my account now on my iPhone and Mac), and also took 44 SEK from my bank account to add up to the total of 995 SEK per year the membership costs here in Sweden. What should I do? I want my gift card balance back, my 44 SEK to my bank account and a working way to pay since this is obviously a bug caused by someone at Apple not thinking about how the Apple Developer app should behave if there's a gift card balance on the Apple-ID account. I have not gotten an email regarding the transaction, and I can't seem to continue the enrollment from my Mac. On the Report a problem Apple website, the purchase is not visible. What can I do? Payment failed error message. Money taken from my bank account. On my iPad I can still see the gift card balance, but on my iPhone and Mac the gift card balance is gone from the App Store app.
0
0
382
Jan ’24
Taxas (comissões) sobre pagamentos
Bom dia, tudo certo com vocês? Trabalho como freelancer e em uma das propostas que recebi existe a necessidade de pagamentos via cartão de crédito/pix através do aplicativo para uma prestação de serviços externa (física, presencial) No caso não consegui compreender como funciona a parte de taxação sobre compras dentro de um aplicativo na App Store. O aplicativo não teria custos, mensalidades, nada disso. E o pagamento realizado dentro do aplicativo não desbloquearia nenhuma nova funcionalidade e sim uma prestação de serviços externa (física, presencial) Seria simplesmente um intermediador entre um prestador de serviço e um cliente Nesse caso existe alguma taxa sobre os pagamentos?
0
0
370
Jan ’24
Security concern for public .well-known/apple-developer-merchantid-domain-association domain-verification file
As the document mentioned "Host your domain-verification file at the following path for each domain you’re registering: https://[DOMAIN_NAME]/.well-known/apple-developer-merchantid-domain-association" and that file contain "pspId" and "signature" so just want to know these are not sensitive it gets in the hands of an attacker ??
0
0
389
Jan ’24
Employee Badge in Mobile apps
Hi Team, We currently exploring the implementation of an employee badge access feature within our iOS app, and we would greatly appreciate your insights and guidance on the following aspects: We are interested in understanding the recommended approach to implementing an employee badge access feature in our iOS app. Are there specific APIs, frameworks, or best practices that Apple suggests for such functionality? Could you please point us to any relevant documentation, sample code, or community discussions that delve into the implementation of employee badge access features in iOS apps? Employee Badge
1
0
377
Jan ’24