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.

Posts under Apple Pay tag

162 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

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
789
Jan ’24
IAP or apple pay for video question/answer
Hi there, I am here to ask for help regarding IAP and Apple Pay. So in my app, there are user two types, fan and athlete where a fan can ask the user text questions, or video questions or can directly tip the athlete(note: these questions are under the name of tip). I was using Stripe for payment but Apple rejected that and forced us to implement IAP by mentioning that as the question/tip is video/text based so you have to remove Stripe and use IAP. Therefore, I am here to ask whether I should use IAP or Apple Pay because in IAP we have limitations for predefined products while what if a fan wanted to tip a dynamic amount (here can we use Apple Pay for tipping) Please share your thoughts on what is the best way to tip while asking a question and free tip. One thing more to add we want to implement a bidding feature in the app as well where fans can bid dynamic amounts that IAP lacks). Thank you
0
0
447
Jan ’24
Provisioning profile doesn't support the Tap to Pay on iPhone capability.
Tap to Pay capabilities are enable and I can use in development profile but I cannot make build that I can upload on TestFlight using the distribution profile because during create build I am getting "Provisioning profile doesn't support the Tap to Pay on iPhone capability." this should be working because I checked twice that distribution profile and certificate have this capability and added in Xcode. how can I resolve this mismatched profile issue I am using Xcode - 15.0.1
2
0
1.5k
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
1.3k
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
688
Jan ’24
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
584
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
424
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
1
469
Dec ’23
Apple Pay as an Entry/Exit system
We have a parking garage system that works with RFID-tags or Credit Cards. The user use the tag/card when he enters and exits. Charging is via invoice for tags or via the Credit Card. Now we (our customers) want to use Apple Pay to Enter/Exit. Here we got a problem. Apple Pay generates a unique ID for each use. So we can not match an entry with an exit. Is there a (simple) way around this or for this? (I am not the developer of this system)
0
0
403
Dec ’23
Disable Prepaid cards in ApplePay
I want to allow only credit cards and debit cards while user selects card from payment method screen. I do not want to allow user to make payment with prepaid cards. I have found PKMerchantCapabilityCredit and PKMerchantCapabilityDebit only in merchant capability of PKPaymentRequest. There is no capability related to prepaid, Does any one know how to disable prepaid cards on Payment Method screen?
0
2
579
Dec ’23
Apple pay "Payment not completed" yet amount captured
Our apple pay integration with the gateway "Checkout.com" is succeeding from Checkout side & the amount is captured (withdrawn from bank account) and confirmed yet on the apple pay popup it fails with a "Payment not completed" error message. Any idea how to resolve this? This is on multiple devices (iPhones, MacBooks) -The request in the headers is a success (200)
0
0
702
Nov ’23
Apple Pay - Deferred Token Usage
I know Apple Pay recently added some new token types for unscheduled card on file use cases. In my app, I attain the token from Apple Pay, and then I submit that token to my gateway for full payment anywhere from 1-12 hours later-- after the user had used up the service. The final payment is based on a usage of the service. Do I need to use the ApplePayDeferredPaymentRequest token type for this kind of use case?
1
1
601
Nov ’23
Apple Pay multimerchant setup
Situation: I have an ecommerce app that is an online marketplace where sellers can list items. We accept credit card information and pass the information along to a third party payment processor that takes payment and then routes to the seller. I want to add apple pay support for sellers that wish to accept it. Due to the nature of our relationship with the 3rd party payment processor and sellers, I'm planning to have any seller interested in accepting apple pay register their own apple developer account and create their own apple pay merchant id. However I am struggling to verify an implementation that will work via sandbox. Two potential approaches I've identified - both of these successfully create a payment token in the sandbox environment: Set up a PKPaymentRequest and pass the seller merchant id instead of our own. paymentRequest.merchantIdentifier However, I don't think that this will work in production due to the verbiage in the merchanIdentifier docs. The merchant identifier you provide when you make an Apple Pay payment request. If you request a payment token for another merchant, use their merchant identifier, if available. Otherwise, use your own merchant identifier. use the multiTokenContexts field to pass the seller merchantId and amount to be charged by that seller paymentRequest.multiTokenContexts = [ PKPaymentTokenContext(merchantIdentifier: "merchant.example.seller", externalIdentifier: "merchant.example.seller", merchantName: "Seller", merchantDomain: "seller.example.com", amount: 135.00), based on the presentation in this WWDC22 video, I think that this will work - but I haven't found a way to verify without sending an actual transaction. My questions: will the multiTokenContexts approach work for this use case? is there any way to validate that a payment token has been successfully created in sandbox without purchasing multiple apple developer accounts and sending a real transaction?
0
1
591
Nov ’23
Apple Pay provisioning error
Hi, I can't complete provisioning flow on Sandbox Environment. You can find error response and PKAddPaymentPassRequestConfiguration below. How can I find the issue? guard let addPaymentPassRequestConfiguration = PKAddPaymentPassRequestConfiguration( encryptionScheme: .ECC_V2 ) else { return } addPaymentPassRequestConfiguration.style = .payment addPaymentPassRequestConfiguration.cardholderName = debitCard.cardholder addPaymentPassRequestConfiguration.primaryAccountSuffix = String(debitCard.cardNumber.suffix(4)) addPaymentPassRequestConfiguration.localizedDescription = debitCard.cardType.cardDisplayName addPaymentPassRequestConfiguration.paymentNetwork = .girocard https://crt-pod1-smp-device.apple.com:443/broker/v4/devices/--------------/cards 500 Time profile: 0.207283 seconds { x-conversation-id = "9affa45be1a1499381c2136dd3971443" Vary = "accept-language" Content-Type = "application/json" x-pod = "crt-pod1" x-keystone-correlationid = "A43237AA-DF0F-4B53-8A3D-4729CFC6C03E" Date = "Tue, 28 Nov 2023 15:17:12 GMT" x-apay-service-response-details = "via_upstream" Content-Length = "81" x-envoy-upstream-service-time = "36" x-pod-region = "paymentpass.com.apple" } { statusCode = 500; statusMessage = "Broker Service Response exception"; }
0
0
659
Nov ’23
How to
Hi! In Apple Pay for iMessage, users can initiate an Apple Pay payment on iMessage. Once the user authorizes the payment, my endpoint receives the Apple Pay Token from Apple- this has the user's encrypted payment details. This is where i would need to integrate with a payment processor to accept the payment. Well, I am having trouble figuring out how to process this token payment. According to this link, Stripe and other authorized payment processors are supposed to fully handle this token on their own? From my understanding I would simply be forwarding the apple pay token to Stripe. Unfortunately, stripe isn't accepting the payment token as valid and i am not sure why as i couldn't find documentation from apple nor stripe on how to process this (If anyone can point me to them, please let me know). I tried using the Stripe python package and passing in the token as the 'source' for ".charge" but it doesn't work as stripe doesn't understand. Anyways, where am I going wrong here nothing else is working and I am not sure what I should do? Do i need to do something to de-encrypt the apple pay token, I am not even sure if I'd have the regulatory approval to do this. If anyone can point me to the correct Apple docs on integration instructions, I would appreciate it! P.S This is not for apple pay web or js integration.
0
0
625
Nov ’23
PKPassKitErrorDomain error 2, App Clip? Bundle Identifier?
My provisioning code works in my main app, but when I try to use it in my app clip it fails with this: The operation couldn’t be completed. (PKPassKitErrorDomain error 2.) I'm having an issue due to how vague this particular error is and how little documentation exists to explain it? I've been looking around the PassKit and Apple Pay documentation for more specific information. But I'm not certain what to do just yet. After provisioning and receiving the digital wallet token, adding the request to the wallet produces the unsupportedVersionError. My initial thought is because the appClip bundle identifier does not match the identifier that the issuer expects, but I'm not entirely sure. I have the entitlement necessary to provision passes on apples end.
2
0
2.5k
Jul ’24
Wallet Extension - "From apps on your iPhone" option not showing
I'm implementing Wallet Extension for adding credit card on wallet, I created both extension, UI and NonUI, but the "From apps on your iPhone" option never shows to me. My extensions have the same entitlements of main app, with the com.apple.developer.payment-pass-provisioning. My NonUI status function implementation: final class MBFApplePayNonUIExtensionHandler: PKIssuerProvisioningExtensionHandler { override func status(completion: @escaping (PKIssuerProvisioningExtensionStatus) -> Void) { let status = PKIssuerProvisioningExtensionStatus() status.requiresAuthentication = true status.passEntriesAvailable = true status.remotePassEntriesAvailable = true completion(status) } .... I tried this to: final class MBFApplePayNonUIExtensionHandler: PKIssuerProvisioningExtensionHandler { override func status(completion: @escaping (PKIssuerProvisioningExtensionStatus) -> Void) { let status = PKIssuerProvisioningExtensionStatus() status.requiresAuthentication = true completion(status) } .... Extensions .plists: NonUI: NSExtension NSExtensionPointIdentifier com.apple.PassKit.issuer-provisioning NSExtensionPrincipalClass MBFApplePayNonUIExtensionHandler UI: NSExtension NSExtensionMainStoryboard MBFApplePayUIExtension NSExtensionPointIdentifier com.apple.PassKit.issuer-provisioning.authorization What am I missing?
5
0
2.7k
Jun ’24
ApplePay how to create merchant tokens in sandbox
Hi, I'm trying to create merchant tokens in ApplePay sandbox environment, so then I can use them to invalidate token API call and lifecycle notifications testing. When processing test payment I use Apple Pay payment request taken directly from Apple's demo website (I skipped non important part of JSON) { ... "recurringPaymentRequest": { "paymentDescription": "A description of the recurring payment to display to the user in the payment sheet.", "regularBilling": { "label": "Recurring", "amount": "4.99", "paymentTiming": "recurring", "recurringPaymentStartDate": "2023-08-11T11:20:32.369Z" }, "trialBilling": { "label": "7 Day Trial", "amount": "0.00", "paymentTiming": "recurring", "recurringPaymentEndDate": "2023-08-11T11:20:32.369Z" }, "billingAgreement": "A localized billing agreement displayed to the user in the payment sheet prior to the payment authorization.", "managementURL": "https://applepaydemo.apple.com", "tokenNotificationURL": "https://applepaydemo.apple.com" }, ... } Payment is successful, but merchantTokenIdentifier in decrypted ApplePay token is always empty, regardless of test card used, I tried Visa, MasterCard, Amex. Anyone have an idea what I'm missing and how to get that merchant token? Is it even possible to test merchant tokens (lifecycle notifications) in sandbox?
3
3
731
2w