I am facing issues with .pkpasses bundle. Currently, I generate multiple .pkpass files, and store them in a zip as .pkpasses. Once I drag this ZIP into my IOS simulator or mail it to my iPhone, nothing happens.
These are the steps I followed (https://developer.apple.com/documentation/walletpasses/distributing_and_updating_a_pass)
Create a .zip file containing the .pkpass files for the passes that are part of the bundle.
Change the extension of the .zip file to .pkpasses.
I have uploaded my bundle.pkpass to Google Drive: https://drive.google.com/file/d/1UIjRpiwWtYGnPILDQV3aAfmu1D7MGE_L/view?usp=sharing
Is anybody facing similar problems? I am not sure if this is an IOS17 issue, because I haven't worked with .pkpasses files before.
Apple Pay
RSS for tagDiscuss how to integrate Apple Pay into your app for secure and convenient payments.
Post
Replies
Boosts
Views
Activity
Has anyone had experience of selling foreign currency using Apple Pay?
If so, what steps did you complete to get Apple Approval?
The Acceptable use guidelines state "You may not incorporate Apple Pay into a website that: ... Involves the purchase or transfer of currency (including cryptocurrencies) unless approved by Apple"
I would like to provide Apple Pay as a payment option on website and app's that sell currency to customers but can't find any guidance of how to get Apple approval.
Hi.
I am integrating with the Apple Pay on my website. I am trying to perform a request via Postman to register a merchant - just testing if body of request is valid, if it actually registers a merchant etc.
While I am doing so I get the following error:
{
"statusMessage": "Payment Services Exception Domain check failed with the following errors. No domains were registered.\nDomain verification failed for pspId=ENCRYPTED_MERCHANT_ID domain=xyz.com url=/.well-known/apple-developer-merchantid-domain-association errorMessage=The content of Oslo merchant validation is incorrect",
"statusCode": "400"
}
Note that domain name and pspId were censored for security reason.
I have no idea what does that error mean.
Our domain is verified. We have domain verification file on the endpoint /.well-known/apple-developer-merchantid-domain-association errorMessage - otherwise our domain could not be registered. I have also checked it manually many times if it is there and everything looked fine.
We have an active payment processing certificate.
We have a merchant identity certificate. I use it on the serwer and on Postman for both apple-pay-gateway.apple.com and apple-pay-gateway-cert.apple.com.
Requesta sent to Sandbox pass and return status 200.
Request body:
{
"domainNames": ["xyz.com"],
"encryptTo": "merchant.com.our.identifier",
"partnerInternalMerchantIdentifier": "xyz25",
"partnerMerchantName": "Some name"
}
Data is replaced with placeholders. I am 100% sure that fields encryptTo and domainNames are valid.
Thank you in advance for any help.
Hi,
I'm working in-app provisioning of card from inside a banking app. But fails to add card to wallet with generic error "Could Not Add Card - Try again later or contact your issuer for more information" when clicking on Next from screen where card holder name & card number screen with title "Add Card to Apple Pay".
I see from Console app below messages
End remote event deferring requested for token: 0x280649e50; environments: 1; reason: PKRemoteAddPaymentPassViewController: 0x144124600: end deferring
Disconnecting: identifier: com.apple.PassbookUIService; assertion: 0x280630140
Terminating interface and invalidating assertion: identifier: com.apple.PassbookUIService; assertion: 0x280630140
Terminating interface and invalidating connection: identifier: com.apple.PassbookUIService; assertion: 0x0
Disconnecting: identifier: com.apple.PassbookUIService; assertion: 0x0
Acquiring assertion: <RBSAssertionDescriptor| "NetworkProcess Background Assertion" ID:(null) target:2696>
Terminating interface and invalidating assertion: identifier: com.apple.PassbookUIService; assertion: 0xXXXXXXXXX
Terminating interface and invalidating connection: identifier: com.apple.PassbookUIService; assertion: 0x0
Kindly help me to resolve this problem.
Regards
I just making Apple Pay Button on my websites using CSS, but i dont know why the 'Type=check-out', 'lang="vi"' not working. Another type like buy, top-up still show button with text on Vietnamese language, but with 'Type=check-out" dont show anything text.
Does Apple Pay Button support type check-out with Vietnamese language?
Here my code:
<html lang="vi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
@supports (-webkit-appearance: -apple-pay-button) {
.apple-pay-button {
display: inline-block;
-webkit-appearance: -apple-pay-button;
-apple-pay-button-type: check-out;
/* Use any supported button type. */
}
.apple-pay-button-black {
-apple-pay-button-style: black;
}
}
@supports not (-webkit-appearance: -apple-pay-button) {
.apple-pay-button {
display: inline-block;
background-size: 100% 60%;
background-repeat: no-repeat;
background-position: 50% 50%;
border-radius: 5px;
padding: 0px;
box-sizing: border-box;
min-width: 200px;
min-height: 32px;
max-height: 64px;
border: 0;
}
.apple-pay-button-black {
background-image: -webkit-named-image(apple-pay-logo-white);
background-color: black;
color: white;
}
}
</style>
</head>
<body>
<div class="applePayButtonContainer">
<button class="apple-pay-button apple-pay-button-black" lang="vi" onclick="onApplePayButtonClicked()">Apple Pay</button>
</div>
</body>
</html>
Hey there I'm facing problem with create passkey .pkpass, the problem is I've to create a passkey using certificate created by macOS then upload on the appstore then import to the key chain then I can create a .pkpass but I wanna create it in my Django server for my customers when ever customer create their digital business card. when I created in my another MacBook where that certificate not imported the .pkpass is not going to create, and if I create it on any way it is not going to open. please help me how I can create it for my each customer on server dynamically.
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?
Hi Team,
I am facing issue in Card provisioning on Apple wallet extension App on last step while attempts to provision the card using the provided PKAddPaymentPassRequest. Please help on this.
Failed to get LSApplicationRecord for <RBSLaunchRequest| xpcservice<————([application<com.apple.Passbook>:**])>; "Launching extension ———————————————— for host **> with error Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=1569, _LSFunction=runEvaluator}
Me and my team are implementing Apple Pay for our products and we've requested the PassKit Entitlements two months ago and until now we did not get any answer about it.
How long does it take to Apple disponibilize the PassKit Entitlements?
Hello all,
I am trying to integrate Apple Pay in my application. And for that I need to add some sandbox/test user accounts for the development. I've setup 2FA and provided all the necessary details for this sandbox Apple ID. But I am still not able to login to applestoreconnect and getting following error message during login:
"To access App Store Connect, you must be an individual or team member in the Apple Developer Program, or invited by an individual to access their content in App Store Connect."
My question is Should I pay another $99 for this sandbox Apple ID also? I've already signed up for Apple Developer Program and paid $99 for 1 year for my organization. I can invite other team members without any additional cost by I am not able to invite existing email/Apple ID as Sandbox testers. I am confused.
Thank you for your help.
Hi Team,
While enabling Apple Pay, getting the below error message:
“Apple Pay cannot be used when automatic login is enabled.”
But automatic login is already disabled in this computer. The mobile account is enabled for this particular user. So, I tried to enable Apple Pay on a local user account in the same computer. Still getting the same error.
System details:-
VenturaOS 13.5 / MacBook Air M2 2022
Could you please help me to fix the issue?
Regards.
Hi all,
I have a very fundamental (and probably easy) question: is it possible to pass a custom QR code that has been generated outside of the system as barcode of a wallet generic card?
It looks to me like the only way is to pass a link to a website and let the system generate the barcode with the link as message, but this is not feasible from a data protection perspective in my case as I want to connect to a vcf file where personal data is stored.
Am I correct?
Cheers,
Davide
Hi,
we are a German-based company developing apps for taxi drivers.
Due to the German system, it's difficult for someone who has a visa or MasterCard, etc., which supports IAP. Even PayPal is not that widespread among taxi drivers.
We are now planning to integrate STRIPE for our payments of the drivers, This is due to the fact that Stripe supports SEPA which is basically translated Direct Debit.
Now SEPA is widespread and everyone has an IBAN to enter and can proceed with the payment.
My question is, how is going to be with the rules etc. on Apple's side, as they encourage the users to use IAP, but we cannot make use of it.
Can we integrate maybe both? IAP and Stripe if the user cannot pay via IAP.
Thanks
I'm trying to get a merchant token using the apple demo code including the "recurringPaymentRequest" subitem. My question is, how do I know what sort of token Apple returned? The documentation I've found says
“Apple Pay issues an Apple Pay Merchant Token if the user’s payment network supports merchant-specific payment tokens. Otherwise, Apple Pay issues a device token for the payment request.”
I believe our payment network (TSYS) supports this, but I think I'm only getting device tokens (they appear to only allow one charge). Is there something within the onpaymentauthorized event object that definitively identifies what sort of token we received?
We already have an domain verified for using apple pay.
and would like to add 2 more domain's
I'm following this guide: https://developer.apple.com/documentation/walletpasses/distributing_and_updating_a_pass#3793284
I'm able to create the bundle.pkpasses but when it's downloaded wallet doesn't recognise it. Is there a limit to the OS version for this to work?
I'm trying it out on a iOS v12
Hi I am trying to enable Tap to Pay for our App in the UK, it has been announced that it is released now. I have requested the Capabilities are available to us as I have filled in the form. Our PSP - Stripe - has allowed us to do this but nothing is moving forward. Can anyone tell me the process?
We have a hotel customer who collects card information via the online booking engine, and uses this to pre-charge guests before arrival.
They achieve this by manually keying transactions into their payment terminal.
They have found that while this works for normal cards, they are unable to process a transaction using the Dynamic Security Code provided by Apple in place of the guests card information.
Could you please advise on how we can help our customer with the use case of pre-charging guest cards submitted via ApplePay?
Hello,
I am integrating Apple Pay on my web page and the full process work
At the moment, the only backend call I have is onvalidatemerchant to create my merchant session.
I would like to check transaction details, refund and unsubscribe recurring payment from backend but I can not found any documentation
For example onpaymentauthorized I would like to call my backend to check if the transaction is ok using the transactionIdentifier and update my database, but I am not able to find any documentation about that
I have purchased IPhone 14 Pro Max in USA and using in India. So, I have selected my region as "India".
Having India as region: It says "To add cards, keys, tickets and passes to wallet, look for the Add to wallet button in apps, emails and websites." I am not able to proceed further.
Having USA as region: Now, I am not able to add any Indian Credit Cards in Apple Pay. I red through the Article from apple forums and found that I have to change the Region.
I want to keep India as my region and should be able to use my indian credit cards.