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 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
380
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
388
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
369
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
376
Jan ’24
How to use provider certificate to connect to APNs (MissingProviderToken)
Hi, I'm building an app to build and update a wallet pass. I want to send a push notification to the Wallet app to update the pass, but I got the following error. :status: 403 apns-id: 3EDEDFEA-C8F1-215A-D9F3-2FA7D6C5AF0C {reason: MissingProviderToken} I am using the certificate and authentication header like this. var storage = admin.storage().bucket() var signerCert = (await getRawBody(storage.file('signerCert.pem').createReadStream())).toString(); var signerKey = (await getRawBody(storage.file('signerKey.pem').createReadStream())).toString(); // 方法1(クライアント立てる) const client = http2.connect(url); client.on('socketError', (err) => console.error('ソケットエラー!',err)); client.on('error', (err) => console.error('エラー!',err)); var header = { 'Authrorization': 'Bearer '+pushToken } const req = client.request({ ':method': 'POST', ':path': path, 'cert': signerCert, 'key': signerKey, 'passphrase': '', 'headers': JSON.stringify(header), }); req.on('response', (headers, flags) => { for (const name in headers) { console.log(`${name}: ${headers[name]}`); } }); req.setEncoding('utf8'); let data = ''; req.on('data', (chunk) => { data += chunk; }); req.on('end', () => { console.log(`\n${data}`); client.destroy(); }); req.end(); Language is Typescript. The code sits in Cloud Functions. Is there something wrong with the code?
0
0
371
Jan ’24
Multiple apple developer merchantid domain association files
Hello, I'm not sure this is the right place to ask this question, but we've a scenario that I'd like to get some help on. We're integrated with Stripe, and have enabled Apple Pay for Stripe accounts. So, in order for the domain to be verified to enable apple pay, we're hosting the file apple-developer-merchantid-domain-association under ${domain}/.well-known/. And that's working great. Now, we also want to enable apple pay through another payment processor Cardknox, for which the integration is done. But for domain verification purposes, we've to host a different apple-developer-merchantid-domain-association in the same directory. So, if I update the file contents, domain verification through Stripe will fail, and vice-versa. I'm sure this must have come up before, and I'd like to know your opinion on how we can resolve this. Is there a way to configure different paths for verification? Thanks a lot.
0
0
591
Jan ’24
What exactly is in-app-provisioning?
I am a little confused. Is in-app-provisioning where you: Start adding your card to wallet from the wallet app Start adding your card to wallet from bank issuer app Just the process of adding your card to wallet without having to enter the card number manually? I am reading a lot of documentation about in-app-provisioning and verification and just can't figure it out
1
0
910
Jan ’24
Confirm acceptance of Terms and Conditions for Tap and Pay
i am implementing the Tap and Pay for stripe terminal during this i want to check whether the merchant accepted the terms and conditions or not using the isAccountLinked(using:) but this method requires the parameter - "The token from your payment service provider. This token contains the merchant identifier." i cannot find any other reference for the merchant identifier how to retrieve or how to get it as per stripe support they said you need to contact the apple support.
0
1
524
Jan ’24
newDeferredPaymentRequest doesn't work
Hi all Im trying to update deferDeferredPaymentRequest on event completeShippingMethodSelection API ver 14 So Im using ApplePayShippingMethodUpdate object which contains newDeferredPaymentRequest But deferred payment cannot be updated. Here is my ApplePayDeferredPaymentRequest object for newDeferredPaymentRequest: "deferredBilling": { "label": "Pay for Later", "amount": 68, "paymentTiming": "deferred", "type": "final", "deferredPaymentDate": "2024-01-25" }, "managementURL": "https://siteURL.com", "paymentDescription": "A description of the deferred payment to display to the user in the payment sheet.", "freeCancellationDate": "2024-01-25", "freeCancellationDateTimeZone": "America/New_York" } Even I tried to put mistake for newDeferredPaymentRequest but ApplePay doesn't throw a JS error Can we update deferred ? for example, ApplePayRecurringPaymentRequest can't be updated according to documentation https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentrequest But I can't find same info for Deferred. Who can help me with it?
0
0
364
Dec ’23
Apple Pay - merchant identity certificate is it required to be on site?
Hi, I have a question about the merchant ID domain verification file. Do we need to store that file on our site permanently, or can we delete it after domain verification? I searched for this information in the documentation, but found nothing specific. https://developer.apple.com/documentation/applepaywebmerchantregistrationapi/preparing_merchant_domains_for_verification
0
0
443
Dec ’23
apple pay for classes
Hey everyone, we are trying to create a service for online classes and meetings with experts, but it is like that expert can add their free time on the app and users can see them and book an online meet. And also it is possible to be an online class for everyone. can we use Apple pay or it is not possible with it and we should go through IAP?
0
0
316
Dec ’23
Apple Pay Sandbox, macOS, canMakePaymentsWithActiveCard false
Hello, Here's some sample Javascript code: if (window.ApplePaySession) { console.log('ApplePaySession is available'); console.log('canMakePayments: ' + ApplePaySession.canMakePayments()); ApplePaySession.canMakePaymentsWithActiveCard(merchantId) .then(function(canMakePayments) { console.log('canMakePaymentsWithActiveCard: ' + canMakePayments); }); } else { console.log('ApplePaySession is not available'); } I'm logged into macOS with a sandbox test account that has Apple Pay permissions. The merchantId value is the one listed with my merchant ID. I'm running this locally. canMakePayments returns true, but canMakePaymentsWithActiveCard always returns false. I have two test cards setup in the macOS account's Apple Pay wallet, and both have a billing address setup. What can I do to troubleshoot why ApplePaySession.canMakePaymentsWithActiveCard is returning false?
1
0
495
Dec ’23
free app with donate button via stripe
Hi, We have an app that is free to download and use (provides local info such as defibs, hospitals, tourist hotspots, etc) for a local tourism charity. I have been asked to update the app and provide a donate button in the app so they can take a donation via stripe. My initial thought were Apple would want their 30% of any payments via the app is this still the case for donations and using a 3rd party payment provider like stripe. Could we avoid this by using the button to open a web page on their website to do the payments. thanks
0
0
362
Dec ’23
Merchant Domain Verified successfully but Verify button still active and expiration date unchanged
We have multiple domains that were about to expire and we've verified them without any issue but the Verify button is still present and active and the expiration date hasn't changed: Found only one post related to our situation: https://developer.apple.com/forums/thread/672279 Will removing and then adding them again fix this? We have multiple domains in this situation.
2
0
421
Dec ’23