Apple Developer Program

RSS for tag

Create and deliver software for users around the world on Apple platforms using the the tools, resources, and support included with Apple Developer Program membership.

Apple Developer Program Documentation

Posts under Apple Developer Program subtopic

Post

Replies

Boosts

Views

Activity

PKPASS is updated but the client but push is not showing on the device
Good day) I am developing an application for generating PKPASS in Java. PKPASS itself is generated and installed on the device and updated. But I encountered a problem. When sending information about the update to the APNs service, PKPASS is updated, but the push notification is not shown on the device. On the device, all tooltypes are set to receive the update. As well as the basic settings: We go to the APNs service using = JWT token. "apns-push-type"= "alert" "apns-topic" = PassTypeIdentifier payload = {} I would also like to add that we send push notifications to the production environment. P. S. Six months ago, push notifications came
0
0
120
Aug ’25
Not able to enroll
We are facing an issue with creating a developer account for our organisation on the App Store. Apple mentions that there was already an account with this entity whose membership got terminated 4 years back and they can't create another one. We don't have any idea who created that account. It was created and terminated before we got our DUNS number. Despite us submitting proofs that me and my partner are the authorised person for this organisation and creating a case multiple times, we have made no progress on this. How can we escalate this and ensure someone from team actually looks at our case carefully?
0
0
109
Aug ’25
Updated my iPhone--now none of my testflight builds appear! Please help!
I am a recently joined developer. However, I have 5 app builds, and 3 are in live in the App Store. I recently updated from iPhone 13 mini to iPhone 16e. I am logged into iCloud with my personal Apple ID, but in media & purchases, I am logged in with my Apple dev ID (email has my company domain). For some reason, only my oldest app build is visible in testflight on my iPhone. Logging in on MacBook, I see all 5 apps and current builds. Under testflight tab there, the correct group with my email (same as developer account ID) is listed as invited. Yet, none are visible in my iPhone testflight. Clicking on the invite email gives "Couldn't Load App This invitation cannot be accepted because your Apple Account, (redacted) has already been associated to this app." Does anyone, please, have any advice???
0
0
130
Aug ’25
Enrollment not successful - no reply from German dev Team
We registered an Apple Account and started the enrollment as company. Entered DUNS number and everything. Afterwards we got the mail, there is somthing suspicous, we have to reply to germandev@ why we want to be registered. We found out, that we had a student once who started developing an app and registered themselves with company details. This account seems to be closed, but anyhow, it is mixed now. I tried to write several times to germandev@ team, but we don't get any reply for weeks. Who else can help us? Some phone number? Thanks
0
0
95
Aug ’25
Unable to Complete Apple Developer Enrollment – Account Issue
Dear Apple Developer Support Team, I am experiencing an issue when trying to enroll in the Apple Developer Program with my Apple ID . When I click “Join the Apple Developer Program,” a message appears stating: “Your account may have an issue. You need to resolve it before you can continue the enrollment process.” I have already contacted Apple Support multiple times in China, but the issue has not been resolved after several weeks. This is preventing us from completing the registration and moving forward with our app development. Could you please help us: Identify the specific issue with this account. Provide the steps required to resolve it. Expedite the process, as this delay is significantly affecting our business. Account details: Apple ID Region: China Mainland Enrollment type: Company/Organization We would greatly appreciate your assistance and a timely resolution. Please let us know if you require any additional documents or verification. Thank you for your support. Best regards,
0
0
75
Sep ’25
Issue with Apple Developer Enrollment – Email Validation
Hi Forum members, I am currently facing an issue with the Apple Developer enrollment process. My legal entity, Medinertia Technologies Pvt Ltd, is registered in India, and I have obtained a valid D-U-N-S number for it. I also purchased the domain medinertia.co.in and created a business email (support @medinertia.co.in). However, this email is still not being accepted during enrollment. Could you please clarify what domain extensions or email formats are supported for business verification? Without clear guidelines on acceptable domain names and email IDs, it becomes difficult and costly to keep purchasing multiple domains. Your guidance on the correct domain/email requirements will be greatly appreciated. Best regards, Uday
0
0
76
Sep ’25
Issue with Apple Developer Enrollment – Email Validation
Hi Forum, I am currently facing an issue with the Apple Developer enrollment process. My legal entity, Medinertia Technologies Pvt Ltd, is registered in India, and I have obtained a valid D-U-N-S number for it. I also purchased the domain medinertia.co.in and created a business email (support @medinertia.co.in). However, this email is still not being accepted during enrollment. Could you please clarify what domain extensions or email formats are supported for business verification? Without clear guidelines on acceptable domain names and email IDs, it becomes difficult and costly to keep purchasing multiple domains. Your guidance on the correct domain/email requirements will be greatly appreciated. Best regards, Uday
1
0
86
Sep ’25
Stuck After Paying – “You’ve already agreed to the Apple Developer Agreement” Loop
Hi, I need help resolving an enrollment issue. When I log into my Apple Developer account on the website, I only see the message: “You’ve already agreed to the Apple Developer Agreement.” After that, nothing else loads and I can’t continue. What I’ve tried: Paid the annual fee (it shows as charged). Logged in from iPhone (Developer app), Mac, Safari, and Chrome. Same error. Cleared cookies, tried private mode, and even changed my email. Contacted normal Apple Support (they couldn’t help). Tried to reach Developer Support but I can’t since I’m technically not enrolled. Other details: I can’t access App Store Connect. My Apple ID birthday is set to 15 October 2000. I’ve already accepted the Developer Agreement. Developer app shows an error whenever I try enrollment there. At this point, I’m stuck in a loop: Apple says I’ve already agreed, but my membership isn’t activated, and I can’t contact the right support channel.
0
2
101
Sep ’25
Programme enrollment
I started the Apple Developer Program enrollment for my organization about 2 months ago. I received an email stating that Apple needed documentation, which they mentioned in an email titled “Request for Enrollment Documents” last week. However, I never received this email with the actual document request. I have written several times through the online platform in our account asking Apple to resend this email, but I have not received any reply for over a month. Instead, every Thursday I only receive the same automated email reminding me to upload the documents. I even called Apple Business Support, but they told me they could not help because the Apple Developer team is separate. How can I reach the correct team to resolve this issue?
0
0
139
Sep ’25
Apple pay processing payment fail
Hey, I am trying to implement the apple pay process pay backend service, I have checked everything and somehow it fails. I only have 1 certificate for merchant and 1 for the apple pay process, I have the private keys and try to run this following code that fails - import crypto from 'crypto'; import fs from 'fs'; import forge from 'node-forge'; const MERCHANT_ID_FIELD_OID = '1.2.840.113635.100.6.32'; function decryptedToken() { const token = ""; const ephemeralPublicKey = ""; const encryptedData = ""; //=================================== // Import certs //=================================== const epk = Buffer.from(ephemeralPublicKey, 'base64'); const merchantCert = fs.readFileSync('merchant_full.pem', 'utf8') const paymentProcessorCert = fs.readFileSync("apple_pay_private.pem"); //=================================== let symmetricKey = ''; try { symmetricKey = restoreSymmetricKey(epk, merchantCert, paymentProcessorCert); } catch (err) { throw new Error(`Restore symmetric key failed: ${err.message}`); } try { //----------------------------------- // Use the symmetric key to decrypt the value of the data key //----------------------------------- const decrypted = JSON.parse(decryptCiphertextFunc(symmetricKey, encryptedData)); console.log("Decrypted Token:", decrypted); // const preppedToken = prepTabaPayToken(token, decrypted) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Send decrypted token back to frontend //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // res.send(preppedToken); } catch (err) { throw new Error(`Decrypt cipher data failed: ${err.message}`); } } // extractMerchantID - const extractMerchantID = (merchantCert) => { //=================================== // Extract merchant identification from public key certificate //=================================== try { const info = forge.pki.certificateFromPem(merchantCert); const result = info['extensions'].filter(d => d.id === MERCHANT_ID_FIELD_OID); //----------------------------------- // Return //----------------------------------- return result[0].value.toString().substring(2); } catch (err) { throw new Error(Unable to extract merchant ID from certificate: ${err}); } } // generateSharedSecret - const generateSharedSecret = (merchantPrivateKey, ephemeralPublicKey) => { //=================================== // Use private key from payment processing certificate and the ephemeral public key to generate // the shared secret using Elliptic Curve Diffie*Hellman (ECDH) //=================================== const privateKey = crypto.createPrivateKey({ key: merchantPrivateKey, format: "pem", type: "sec1", // because it's "EC PRIVATE KEY" }); const publicKey = crypto.createPublicKey({ key: ephemeralPublicKey, format: 'der', type: 'spki' }); //----------------------------------- // Return //----------------------------------- return crypto.diffieHellman({privateKey,publicKey: publicKey,}); //----------------------------------- } // getSymmetricKey - const getSymmetricKey = (merchantId, sharedSecret) => { //=================================== // Get KDF_Info as defined from Apple Pay documentation //=================================== const KDF_ALGORITHM = '\x0didaes256GCM'; const KDF_PARTY_V = Buffer.from(merchantId, 'hex').toString('binary'); const KDF_PARTY_U = 'Apple'; const KDF_INFO = KDF_ALGORITHM + KDF_PARTY_U + KDF_PARTY_V; //----------------------------------- // Create hash //----------------------------------- const hash = crypto.createHash('sha256'); hash.update(Buffer.from('000000', 'hex')); hash.update(Buffer.from('01', 'hex')); hash.update(Buffer.from(sharedSecret, 'hex')); hash.update(KDF_INFO, 'binary'); //----------------------------------- // Return //----------------------------------- return hash.digest('hex'); //----------------------------------- } // restoreSymmetricKey - const restoreSymmetricKey = (ephemeralPublicKey, merchantCert, paymentProcessorCert) => { //=================================== // 3.a Use the payment processor private key and the ephemeral public key, to generate the shared secret //=================================== const sharedSecret = generateSharedSecret(paymentProcessorCert, ephemeralPublicKey); //----------------------------------- // 3.b Use the merchant identifier of the public key certificate and the shared secret, to derive the symmetric key //----------------------------------- const merchantId = extractMerchantID(merchantCert); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Return //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.log("Merchant ID:", merchantId); console.log("Shared Secret (hex):", sharedSecret); return getSymmetricKey(merchantId, sharedSecret); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } // decryptCiphertextFunc - const decryptCiphertextFunc = (symmetricKey, encryptedData) => { console.log("🔑 Decrypting Ciphertext with Symmetric Key:", symmetricKey); //=================================== // Get symmetric key and initialization vector //=================================== const buf = Buffer.from(encryptedData, 'base64'); const SYMMETRIC_KEY = Buffer.from(symmetricKey, 'hex'); const IV = Buffer.from([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); // Initialization vector of 16 null bytes const CIPHERTEXT = buf.slice(0, -16); //----------------------------------- // Create and return a Decipher object that uses the given algorithm and password (key) //----------------------------------- const decipher = crypto.createDecipheriv("aes-256-gcm", SYMMETRIC_KEY, IV); const tag = buf.slice(-16, buf.length); decipher.setAuthTag(tag); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Load encrypted token into Decipher object //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ let decrypted = decipher.update(CIPHERTEXT); console.log("🔑 Decrypted Data"); decrypted += decipher.final(); //::::::::::::::::::::::::::::::::::: // Return //::::::::::::::::::::::::::::::::::: return decrypted; //::::::::::::::::::::::::::::::::::: } decryptedToken();
2
0
143
Sep ’25
Unable to upload new build
I am building my first app. I submitted 1.0 to the App Store, it was rejected and I needed to make some changes. Am I unable to upload a new build with changes to testflight before I resubmit those changes? Also, I accidentally removed the app for review, so I cannot respond to the changes they asked. What do I do now? Thank you for your help
1
0
196
Sep ’25
Getting 401 Unauthenticated when calling StoreKit In-App API with JWT
Hello, I am trying to call the StoreKit In-App API, but I am consistently receiving a 401 Unauthenticated error. Here is what I have done so far: JWT creation (via https://jwt.io): Header: { "alg": "ES256", "kid": "**********", "typ": "JWT" } Payload: { "iss": "********-e662-43d2-be42-012d0138ce39", "aud": "appstoreconnect-v1", "iat": 1757389187, "exp": 1757390987 } Private Key (.p8): -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- Algorithm used: ES256 This generates the JWT successfully. API Call: I then include the JWT in the request header as follows: Authorization: Bearer ************ Endpoint: https://api.storekit-sandbox.itunes.apple.com/inApps/v1/transactions/2000001003740262 Response: Status: 401 Unauthenticated Request ID: S3KCYHDVRMDKUT3TZVTY3QRRWM.0.0 Has anyone else faced this issue? Is there something incorrect with how I’m generating the JWT (e.g., iat/exp values, formatting, or encoding)? Do I need to generate separate keys for Sandbox and Production, or is the same key valid for both? Any guidance would be appreciated. Thanks in advance!
0
1
204
Sep ’25
Payment for developer account not approved
I have made a payment the the Apple developer program from my credit card, I have contacted my bank and they have confirmed that they payment has gone off and all that is left is for Apple to 'bank the payment' on their side but Apple isn't actioning this. I have emailed support numerous times but all I get is an automatic reply acknowledging the email but nothing else, what do I do now, is there any other email or phone number I can contact them on. I'm not from the US
0
0
64
Sep ’25
Unable to save App ID capabilities in Apple Developer portal
Hello, I’m experiencing an issue in the Apple Developer portal when trying to manage my App ID capabilities. Whenever I try to enable or disable a capability and click Save, the page shows the loading spinner but then nothing is saved. App ID: com.kangarli.lucary Team ID: (my Apple Developer account’s Team ID) Tested on different browsers (Safari, Chrome), cleared cache and cookies The issue affects all capabilities, not just Associated Domains Other sections of the Developer portal work normally Is this a known issue with the Developer portal, or is there any workaround? Thanks in advance.
2
1
412
Sep ’25
Apple Develeoper Account Creation issue
Hi, I'm new to apple, I'm planning to deploy an app in the apple app Store... for this process to be done I've created apple developer account through an iPhone, when following the steps.. it asked to enter DUNS number as I'm business not individual, I've entered it but shown a DUNS number mis match notice when submit, so I tapped back and selected individual and accepted terms and conditions(just to check if it is working), now it was fixed for individual account(can't change), but I need organisation registration, please help me out somebody. There will be pooja goods sales in the app, so the individual account is sufficient or should be as organisation?
0
0
75
Sep ’25
PKPASS is updated but the client but push is not showing on the device
Good day) I am developing an application for generating PKPASS in Java. PKPASS itself is generated and installed on the device and updated. But I encountered a problem. When sending information about the update to the APNs service, PKPASS is updated, but the push notification is not shown on the device. On the device, all tooltypes are set to receive the update. As well as the basic settings: We go to the APNs service using = JWT token. "apns-push-type"= "alert" "apns-topic" = PassTypeIdentifier payload = {} I would also like to add that we send push notifications to the production environment. P. S. Six months ago, push notifications came
Replies
0
Boosts
0
Views
120
Activity
Aug ’25
Not able to enroll
We are facing an issue with creating a developer account for our organisation on the App Store. Apple mentions that there was already an account with this entity whose membership got terminated 4 years back and they can't create another one. We don't have any idea who created that account. It was created and terminated before we got our DUNS number. Despite us submitting proofs that me and my partner are the authorised person for this organisation and creating a case multiple times, we have made no progress on this. How can we escalate this and ensure someone from team actually looks at our case carefully?
Replies
0
Boosts
0
Views
109
Activity
Aug ’25
Updated my iPhone--now none of my testflight builds appear! Please help!
I am a recently joined developer. However, I have 5 app builds, and 3 are in live in the App Store. I recently updated from iPhone 13 mini to iPhone 16e. I am logged into iCloud with my personal Apple ID, but in media & purchases, I am logged in with my Apple dev ID (email has my company domain). For some reason, only my oldest app build is visible in testflight on my iPhone. Logging in on MacBook, I see all 5 apps and current builds. Under testflight tab there, the correct group with my email (same as developer account ID) is listed as invited. Yet, none are visible in my iPhone testflight. Clicking on the invite email gives "Couldn't Load App This invitation cannot be accepted because your Apple Account, (redacted) has already been associated to this app." Does anyone, please, have any advice???
Replies
0
Boosts
0
Views
130
Activity
Aug ’25
Unable to add new url to my service id
Unsupported Request PATCH to http://developer.apple.com/services-account/v1/bundleIds/{MyId} not supported. Reference #8.5dfb1302.1756215327.6d0203bb https://errors.edgesuite.net/8.5dfb1302.1756215327.6d0203bb
Replies
1
Boosts
1
Views
76
Activity
Aug ’25
I want to access an additional 100 higher price point
How to access an additional 100 higher price point? I can only see 800 price point right now.
Replies
0
Boosts
0
Views
46
Activity
Aug ’25
Enrollment not successful - no reply from German dev Team
We registered an Apple Account and started the enrollment as company. Entered DUNS number and everything. Afterwards we got the mail, there is somthing suspicous, we have to reply to germandev@ why we want to be registered. We found out, that we had a student once who started developing an app and registered themselves with company details. This account seems to be closed, but anyhow, it is mixed now. I tried to write several times to germandev@ team, but we don't get any reply for weeks. Who else can help us? Some phone number? Thanks
Replies
0
Boosts
0
Views
95
Activity
Aug ’25
Weatherkit Next Hour Rain Data
Next hour rain data for the last 12 hours for United Kingdom is not loading.
Replies
2
Boosts
1
Views
328
Activity
Aug ’25
iPhone 16 pro camera button slider not working for zoom.
Today I opened the camera using the camera button and noticed that when I tried to zoom in the slider button was not responding. Not sure if it’s related to iOS 26 beta which I have installed. Forced restarted the phone and the phone case is not covering the button. Thank you in advance for your help.
Replies
0
Boosts
0
Views
356
Activity
Aug ’25
Unable to Complete Apple Developer Enrollment – Account Issue
Dear Apple Developer Support Team, I am experiencing an issue when trying to enroll in the Apple Developer Program with my Apple ID . When I click “Join the Apple Developer Program,” a message appears stating: “Your account may have an issue. You need to resolve it before you can continue the enrollment process.” I have already contacted Apple Support multiple times in China, but the issue has not been resolved after several weeks. This is preventing us from completing the registration and moving forward with our app development. Could you please help us: Identify the specific issue with this account. Provide the steps required to resolve it. Expedite the process, as this delay is significantly affecting our business. Account details: Apple ID Region: China Mainland Enrollment type: Company/Organization We would greatly appreciate your assistance and a timely resolution. Please let us know if you require any additional documents or verification. Thank you for your support. Best regards,
Replies
0
Boosts
0
Views
75
Activity
Sep ’25
Issue with Apple Developer Enrollment – Email Validation
Hi Forum members, I am currently facing an issue with the Apple Developer enrollment process. My legal entity, Medinertia Technologies Pvt Ltd, is registered in India, and I have obtained a valid D-U-N-S number for it. I also purchased the domain medinertia.co.in and created a business email (support @medinertia.co.in). However, this email is still not being accepted during enrollment. Could you please clarify what domain extensions or email formats are supported for business verification? Without clear guidelines on acceptable domain names and email IDs, it becomes difficult and costly to keep purchasing multiple domains. Your guidance on the correct domain/email requirements will be greatly appreciated. Best regards, Uday
Replies
0
Boosts
0
Views
76
Activity
Sep ’25
Issue with Apple Developer Enrollment – Email Validation
Hi Forum, I am currently facing an issue with the Apple Developer enrollment process. My legal entity, Medinertia Technologies Pvt Ltd, is registered in India, and I have obtained a valid D-U-N-S number for it. I also purchased the domain medinertia.co.in and created a business email (support @medinertia.co.in). However, this email is still not being accepted during enrollment. Could you please clarify what domain extensions or email formats are supported for business verification? Without clear guidelines on acceptable domain names and email IDs, it becomes difficult and costly to keep purchasing multiple domains. Your guidance on the correct domain/email requirements will be greatly appreciated. Best regards, Uday
Replies
1
Boosts
0
Views
86
Activity
Sep ’25
Stuck After Paying – “You’ve already agreed to the Apple Developer Agreement” Loop
Hi, I need help resolving an enrollment issue. When I log into my Apple Developer account on the website, I only see the message: “You’ve already agreed to the Apple Developer Agreement.” After that, nothing else loads and I can’t continue. What I’ve tried: Paid the annual fee (it shows as charged). Logged in from iPhone (Developer app), Mac, Safari, and Chrome. Same error. Cleared cookies, tried private mode, and even changed my email. Contacted normal Apple Support (they couldn’t help). Tried to reach Developer Support but I can’t since I’m technically not enrolled. Other details: I can’t access App Store Connect. My Apple ID birthday is set to 15 October 2000. I’ve already accepted the Developer Agreement. Developer app shows an error whenever I try enrollment there. At this point, I’m stuck in a loop: Apple says I’ve already agreed, but my membership isn’t activated, and I can’t contact the right support channel.
Replies
0
Boosts
2
Views
101
Activity
Sep ’25
Programme enrollment
I started the Apple Developer Program enrollment for my organization about 2 months ago. I received an email stating that Apple needed documentation, which they mentioned in an email titled “Request for Enrollment Documents” last week. However, I never received this email with the actual document request. I have written several times through the online platform in our account asking Apple to resend this email, but I have not received any reply for over a month. Instead, every Thursday I only receive the same automated email reminding me to upload the documents. I even called Apple Business Support, but they told me they could not help because the Apple Developer team is separate. How can I reach the correct team to resolve this issue?
Replies
0
Boosts
0
Views
139
Activity
Sep ’25
Apple pay processing payment fail
Hey, I am trying to implement the apple pay process pay backend service, I have checked everything and somehow it fails. I only have 1 certificate for merchant and 1 for the apple pay process, I have the private keys and try to run this following code that fails - import crypto from 'crypto'; import fs from 'fs'; import forge from 'node-forge'; const MERCHANT_ID_FIELD_OID = '1.2.840.113635.100.6.32'; function decryptedToken() { const token = ""; const ephemeralPublicKey = ""; const encryptedData = ""; //=================================== // Import certs //=================================== const epk = Buffer.from(ephemeralPublicKey, 'base64'); const merchantCert = fs.readFileSync('merchant_full.pem', 'utf8') const paymentProcessorCert = fs.readFileSync("apple_pay_private.pem"); //=================================== let symmetricKey = ''; try { symmetricKey = restoreSymmetricKey(epk, merchantCert, paymentProcessorCert); } catch (err) { throw new Error(`Restore symmetric key failed: ${err.message}`); } try { //----------------------------------- // Use the symmetric key to decrypt the value of the data key //----------------------------------- const decrypted = JSON.parse(decryptCiphertextFunc(symmetricKey, encryptedData)); console.log("Decrypted Token:", decrypted); // const preppedToken = prepTabaPayToken(token, decrypted) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Send decrypted token back to frontend //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // res.send(preppedToken); } catch (err) { throw new Error(`Decrypt cipher data failed: ${err.message}`); } } // extractMerchantID - const extractMerchantID = (merchantCert) => { //=================================== // Extract merchant identification from public key certificate //=================================== try { const info = forge.pki.certificateFromPem(merchantCert); const result = info['extensions'].filter(d => d.id === MERCHANT_ID_FIELD_OID); //----------------------------------- // Return //----------------------------------- return result[0].value.toString().substring(2); } catch (err) { throw new Error(Unable to extract merchant ID from certificate: ${err}); } } // generateSharedSecret - const generateSharedSecret = (merchantPrivateKey, ephemeralPublicKey) => { //=================================== // Use private key from payment processing certificate and the ephemeral public key to generate // the shared secret using Elliptic Curve Diffie*Hellman (ECDH) //=================================== const privateKey = crypto.createPrivateKey({ key: merchantPrivateKey, format: "pem", type: "sec1", // because it's "EC PRIVATE KEY" }); const publicKey = crypto.createPublicKey({ key: ephemeralPublicKey, format: 'der', type: 'spki' }); //----------------------------------- // Return //----------------------------------- return crypto.diffieHellman({privateKey,publicKey: publicKey,}); //----------------------------------- } // getSymmetricKey - const getSymmetricKey = (merchantId, sharedSecret) => { //=================================== // Get KDF_Info as defined from Apple Pay documentation //=================================== const KDF_ALGORITHM = '\x0didaes256GCM'; const KDF_PARTY_V = Buffer.from(merchantId, 'hex').toString('binary'); const KDF_PARTY_U = 'Apple'; const KDF_INFO = KDF_ALGORITHM + KDF_PARTY_U + KDF_PARTY_V; //----------------------------------- // Create hash //----------------------------------- const hash = crypto.createHash('sha256'); hash.update(Buffer.from('000000', 'hex')); hash.update(Buffer.from('01', 'hex')); hash.update(Buffer.from(sharedSecret, 'hex')); hash.update(KDF_INFO, 'binary'); //----------------------------------- // Return //----------------------------------- return hash.digest('hex'); //----------------------------------- } // restoreSymmetricKey - const restoreSymmetricKey = (ephemeralPublicKey, merchantCert, paymentProcessorCert) => { //=================================== // 3.a Use the payment processor private key and the ephemeral public key, to generate the shared secret //=================================== const sharedSecret = generateSharedSecret(paymentProcessorCert, ephemeralPublicKey); //----------------------------------- // 3.b Use the merchant identifier of the public key certificate and the shared secret, to derive the symmetric key //----------------------------------- const merchantId = extractMerchantID(merchantCert); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Return //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.log("Merchant ID:", merchantId); console.log("Shared Secret (hex):", sharedSecret); return getSymmetricKey(merchantId, sharedSecret); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } // decryptCiphertextFunc - const decryptCiphertextFunc = (symmetricKey, encryptedData) => { console.log("🔑 Decrypting Ciphertext with Symmetric Key:", symmetricKey); //=================================== // Get symmetric key and initialization vector //=================================== const buf = Buffer.from(encryptedData, 'base64'); const SYMMETRIC_KEY = Buffer.from(symmetricKey, 'hex'); const IV = Buffer.from([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); // Initialization vector of 16 null bytes const CIPHERTEXT = buf.slice(0, -16); //----------------------------------- // Create and return a Decipher object that uses the given algorithm and password (key) //----------------------------------- const decipher = crypto.createDecipheriv("aes-256-gcm", SYMMETRIC_KEY, IV); const tag = buf.slice(-16, buf.length); decipher.setAuthTag(tag); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Load encrypted token into Decipher object //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ let decrypted = decipher.update(CIPHERTEXT); console.log("🔑 Decrypted Data"); decrypted += decipher.final(); //::::::::::::::::::::::::::::::::::: // Return //::::::::::::::::::::::::::::::::::: return decrypted; //::::::::::::::::::::::::::::::::::: } decryptedToken();
Replies
2
Boosts
0
Views
143
Activity
Sep ’25
Unable to upload new build
I am building my first app. I submitted 1.0 to the App Store, it was rejected and I needed to make some changes. Am I unable to upload a new build with changes to testflight before I resubmit those changes? Also, I accidentally removed the app for review, so I cannot respond to the changes they asked. What do I do now? Thank you for your help
Replies
1
Boosts
0
Views
196
Activity
Sep ’25
Getting 401 Unauthenticated when calling StoreKit In-App API with JWT
Hello, I am trying to call the StoreKit In-App API, but I am consistently receiving a 401 Unauthenticated error. Here is what I have done so far: JWT creation (via https://jwt.io): Header: { "alg": "ES256", "kid": "**********", "typ": "JWT" } Payload: { "iss": "********-e662-43d2-be42-012d0138ce39", "aud": "appstoreconnect-v1", "iat": 1757389187, "exp": 1757390987 } Private Key (.p8): -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- Algorithm used: ES256 This generates the JWT successfully. API Call: I then include the JWT in the request header as follows: Authorization: Bearer ************ Endpoint: https://api.storekit-sandbox.itunes.apple.com/inApps/v1/transactions/2000001003740262 Response: Status: 401 Unauthenticated Request ID: S3KCYHDVRMDKUT3TZVTY3QRRWM.0.0 Has anyone else faced this issue? Is there something incorrect with how I’m generating the JWT (e.g., iat/exp values, formatting, or encoding)? Do I need to generate separate keys for Sandbox and Production, or is the same key valid for both? Any guidance would be appreciated. Thanks in advance!
Replies
0
Boosts
1
Views
204
Activity
Sep ’25
Payment for developer account not approved
I have made a payment the the Apple developer program from my credit card, I have contacted my bank and they have confirmed that they payment has gone off and all that is left is for Apple to 'bank the payment' on their side but Apple isn't actioning this. I have emailed support numerous times but all I get is an automatic reply acknowledging the email but nothing else, what do I do now, is there any other email or phone number I can contact them on. I'm not from the US
Replies
0
Boosts
0
Views
64
Activity
Sep ’25
Unable to save App ID capabilities in Apple Developer portal
Hello, I’m experiencing an issue in the Apple Developer portal when trying to manage my App ID capabilities. Whenever I try to enable or disable a capability and click Save, the page shows the loading spinner but then nothing is saved. App ID: com.kangarli.lucary Team ID: (my Apple Developer account’s Team ID) Tested on different browsers (Safari, Chrome), cleared cache and cookies The issue affects all capabilities, not just Associated Domains Other sections of the Developer portal work normally Is this a known issue with the Developer portal, or is there any workaround? Thanks in advance.
Replies
2
Boosts
1
Views
412
Activity
Sep ’25
Apple Develeoper Account Creation issue
Hi, I'm new to apple, I'm planning to deploy an app in the apple app Store... for this process to be done I've created apple developer account through an iPhone, when following the steps.. it asked to enter DUNS number as I'm business not individual, I've entered it but shown a DUNS number mis match notice when submit, so I tapped back and selected individual and accepted terms and conditions(just to check if it is working), now it was fixed for individual account(can't change), but I need organisation registration, please help me out somebody. There will be pooja goods sales in the app, so the individual account is sufficient or should be as organisation?
Replies
0
Boosts
0
Views
75
Activity
Sep ’25