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.

Apple Pay Documentation

Posts under Apple Pay tag

172 Posts
Sort by:
Post marked as solved
3 Replies
814 Views
Hi, App background: Our app is a credit line app based in UK. Works more or less like a credit card app. Hence we won't be taking payment from other credit cards. We are planning to have Apple Pay in our app to get payments. Problem statement: As stated earlier we couldn't use credit card for payments from within Apple pay. Is there any way to show only debit card in Apple Pay? Or is there any way to restrict customer from using credit cards via Apple Pay? Thanks in advance.
Posted
by
Post not yet marked as solved
4 Replies
2.4k Views
I am working on Issuer Extension using which user can add debit/ credit card through wallet directly. This is Extension based (Non and UI Extension. I am nearly implemented this however have doubts about PKIssuerProvisioningExtensionHandler methods which are below open func status(completion: @escaping (PKIssuerProvisioningExtensionStatus) -> Void)  open func passEntries(completion: @escaping ([PKIssuerProvisioningExtensionPassEntry]) -> Void) open func generateAddPaymentPassRequestForPassEntryWithIdentifier(_ identifier: String, configuration: PKAddPaymentPassRequestConfiguration, certificateChain certificates: [Data], nonce: Data, nonceSignature: Data, completionHandler completion: @escaping (PKAddPaymentPassRequest?) -> Void) My query is what is the significance of configuration in last callback. Can anyone please help with this. Thanks in advance
Posted
by
Post not yet marked as solved
1 Replies
693 Views
What is the List of supported Web Browsers for Apple Pay on the Web? We were able to do a PoC that starting from IOS 16 the Apple Pay works on Google Chrome, but there is no official documentationt that states about that. Is there any other official statements from apple regarding support of Apple Pay for other browsers than Safari.
Posted
by
Post not yet marked as solved
1 Replies
473 Views
Hi. When I pass the response from my merchant validation to completeMerchantValidation(merchantSession) nothing happens the payment sheet still just spins as processing. I was ecpecting it to change to thumb print etc.. to move onto the next stage. I'm getting no errors and get a unique session id returned everytime in a format like SSH0D4F440DD640424BB09A9868BE0A0EC7_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24 I am including merchantIdentifier domainName displayName merchantIdentifier and domainName match exactly as per my account displayName I just entered random I have placed debug alert just before completeMerchantValidation(merchantSession) and can see the session id if the apple server responds with a session id like above can there be anything else going wrong? I mean would it still return the session id if it doesn't verifiy the certificate etc? Please advise Jason
Posted
by
Post not yet marked as solved
0 Replies
698 Views
I have integrated apple pay in react js using recurly third party payment gateway. Apple pay working perfect on google chrome and mozilla, But not working on safari. The issue is single payment done on safari works perfect but again we tried to pay it shows error payment not completed, Also when tried after some time like an hour or more it works fine again and same thing happens again. Any one know this issue why its happening. Not working correctly on safari. On other browsers it works 100% fine we can pay 10 payments in a row. Thanks for help in advance
Posted
by
Post not yet marked as solved
0 Replies
364 Views
Currently our web application is setup to allow purchases with apple pay. About 1/3 of the transaction are unable to be processed because it's failing at the portion of creating a session https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/requesting_an_apple_pay_payment_session The error we are seeing is Connect to apple-pay-gateway.apple.com:443 [apple-pay-gateway.apple.com/17.171.78.71] failed: connect timed out
Posted
by
Post not yet marked as solved
0 Replies
298 Views
Hello Sir I have implement the Apple Pay in our code which is working fine on sandbox But when we upload the app on App Store for live. On live app its stop working, I have attach the image of code Please check and let me know Thanks attico srls
Posted
by
Post not yet marked as solved
1 Replies
465 Views
I am receiving this error Payment not Completed on completeMerchantValidation method, i can confirm that i am receiving an payment session successfully using the link provided from onvalidatemerchant event, Also i am using an verified domain and the phone has test account with test cards. Also i can confirm that the payment is working on applepaydemo website . So my Issue is how to debug this so i can find out what cases my problem. the payment session i am receiving is like the below code: { "epochTimestamp": 1685275564689, "expiresAt": 1685279164689, "merchantSessionIdentifier": "SSHF****", "nonce": "1e95***", "merchantIdentifier": "203****", "domainName": "same domain i am in and verified" , "displayName": "Z****", "signature": "********", "operationalAnalyticsIdentifier": "Z***:203****", "retries": 0, "pspId": "203C****" }
Posted
by
Post not yet marked as solved
5 Replies
1.8k Views
I am coding for Apple Pay in-App provisioning extension, but there was a problem when Apple Wallet load authorization UI extension: The source code: The principal class .h file #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface IssuerProvisioningViewController : UIViewController @end NS_ASSUME_NONNULL_END The principal class .m file #import "IssuerProvisioningViewController.h" #import <PassKit/PassKit.h> @interface IssuerProvisioningViewController ()<PKIssuerProvisioningExtensionAuthorizationProviding> @end @implementation IssuerProvisioningViewController @synthesize completionHandler; - (instancetype)init { NSLog(@"--- init"); self = [super init]; return self; } - (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { NSLog(@"--- initWithNibName nibNameOrNil"); self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; return self; } - (void)viewDidLoad { NSLog(@"viewDidLoad"); // Do any additional setup after loading the view from its nib. } @end The Info.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSExtension</key> <dict> <key>NSExtensionPointIdentifier</key> <string>com.apple.PassKit.issuer-provisioning.authorization</string> <key>NSExtensionPrincipalClass</key> <string>IssuerProvisioningViewController</string> </dict> </dict> The entitlement file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.payment-pass-provisioning</key> <true/> </dict> </plist> Environment: iOS 16.4.1 I found the method viewDidLoad was not be called after invoking method init. Thanks for reading and any advice.
Posted
by
Post not yet marked as solved
0 Replies
681 Views
Hi, I would like some information on how to implement a local payment method to the Wallet, when it is not a regular scheme (Visa, MC, Amex) ? For example in Brazil there is Pix, in Panama there is Yappy, in Colombia there is Davi Plata. How should this non credit/debit card methods should be handled? As a stored value card? Any guidance would be appreciated.
Posted
by
Post not yet marked as solved
1 Replies
316 Views
I am developing app for sharing rides like BlaBlaCar. I have credit system that requires users to buy credits to actually use app. I am unsure if Apple will allow me to integrate custom payment gateway or I will need to integrate in app payments.. I wouldn't like to lose 20-30 % of money in in app payments from Apple. Are those credits considered as digital product or not? I am also planning monthly subscription so users don't need to "pay" credits for using app but have unlimited access to app for that month. Will that be a problem?
Posted
by
Post not yet marked as solved
1 Replies
892 Views
The talk tagged below mentions sending order packages by email. I just tried sending a signed package from the sample packages that were released last year - and viewing the email on my iPhone running iOS 17 beta 1. Here it does not open in Wallet, but I suspect this is just a beta issue. My actual question is: Will it be alright for any system to attach an order package to an email? I am working on a POS-system that is iOS-based, and I would like the end customers to be able to add their orders to Wallet. Can I add an order package - or a link to an order package to my receipt emails and have those be added to Wallet? Or does Apple Pay somehow have to be involved? Can I serve an order package from a webserver? Could it be added to wallet directly from a QR code while the customer is still in the store?
Posted
by
Post not yet marked as solved
1 Replies
732 Views
Dear Team, I am trying to perform a URL registration for Apple Pay however i am always getting the below error. I could see the file on the mentioned path. Also I am able to register my other URL which has the same file. Could you please suggest on the mentioned error in below. Error Message : {"response":"{\n "statusMessage": "Payment Services Exception Domain check failed with the following errors. No domains were registered.\nDomain verification failed for pspId=5EF94E96CC471102F1B2343553921539ED98F2B1B8EC613D4C0A067609BFB domain=xyz.com url=/.well-known/apple-developer-merchantid-domain-association errorMessage=The content of Oslo merchant validation is incorrect",\n "statusCode": "400"\n}","statusCode":400}
Posted
by
Post marked as solved
1 Replies
403 Views
Our web app utilizes the Adyen payment provider and implements Apple Pay Web for seamless payment processing. While we have successfully enabled Apple Pay on one domain, we are encountering difficulties with the same codebase and deployment on a different domain. The domains in question are as follows: Working Domain: https://noq-webapp.netlify.app/ Problematic Domain: https://noq-2955-webapp.netlify.app On the working domain, users can complete payments using Apple Pay without any issues. However, when attempting to make a payment on the problematic domain, the payment sheet opens briefly and then immediately closes We have taken the following steps in an attempt to address this issue: Created payment processing certificates for both domains. Enlisted and verified both domains in the Apple Developer Portal. Despite our efforts, we have been unable to identify the root cause of this problem. We have thoroughly reviewed our implementation and configurations, but the issue persists. Considering the potential impact on the general public, we kindly request your prompt assistance in diagnosing and resolving this issue.
Posted
by
Post not yet marked as solved
0 Replies
406 Views
Is it possible to pay for a transaction in CarPlay using the ApplePay wallet? Will I need to interact with the mobile device to confirm the transaction or can it run from the car display? I want to develop an app to pay for fuel with a card registered in the Apple Wallet. Thanks
Posted
by
Post not yet marked as solved
0 Replies
348 Views
Hi, Our Product background: Our product is a credit line provider based in UK. Works more or less like a credit card. Hence we won't be taking payment from other credit cards. We are planning to have Apple Pay in our product to get payments. To showing only debit cards, we set merchant capabilities as below while creating a session for Apple Pay on the web. "merchantCapabilities": [ "supports3DS", "supportsDebit" ] Payment sheet shown with only Debit cards as expected. But I'm not sure whether this will ignore Prepaid cards or not. Problem Statement: Our product is not supposed to get payment from Prepaid cards(non-debit cards). Some Prepaid cards tend to support overdraft(credit card kinda) feature too. So we should show only debit cards for user to choose and not any other type of cards. Is there any way to ignore prepaid cards in Apple Pay? Please advice. Thanks in advance.
Posted
by
Post not yet marked as solved
0 Replies
500 Views
I am struggling to understand this error. I am getting following josn from my back-end server using Ajax call "supportedNetworks": [ "amex", "discover", "maestro", "masterCard", "visa" ], "requiredShippingContactFields": [ "email", "name", "phone", "postalAddress" ], "requiredBillingContactFields": [ "postalAddress" ], "merchantCapabilities": [ "supportsCredit", "supportsDebit", "supports3DS" ], "shippingContact": { "phoneNumber": "111-111-1111", "emailAddress": "***@gmail.com", "givenName": "Test", "familyName": "Test", "phoneticGivenName": null, "phoneticFamilyName": null, "addressLines": [ "Adress" ], "subLocality": null, "locality": null, "postalCode": "123456", "subAdministrativeArea": null, "administrativeArea": "Dummy", "country": "United States", "countryCode": "US" }, "billingContact": { "phoneNumber": "111-111-1111", "emailAddress": "***@gmail.com", "givenName": "Test", "familyName": "Test", "phoneticGivenName": null, "phoneticFamilyName": null, "addressLines": [ "Adress" ], "subLocality": null, "locality": null, "postalCode": "123456", "subAdministrativeArea": null, "administrativeArea": "Dummy", "country": "United States", "countryCode": "US" }, "shippingMethods": [], "countryCode": "US", "currencyCode": "USD", "total": { "label": "Hello", "amount": "23" } } Here is my code to create Apple Pay session this.session = new ApplePaySession(3, var2); While running this code, I am getting following error on the js: TypeError: Member ApplePayPaymentRequest.countryCode is required and must be an instance of DOMString If I change the code and hard code the same json coming from Ajax call as : "supportedNetworks": [ "amex", "discover", "maestro", "masterCard", "visa" ], "requiredShippingContactFields": [ "email", "name", "phone", "postalAddress" ], "requiredBillingContactFields": [ "postalAddress" ], "merchantCapabilities": [ "supportsCredit", "supportsDebit", "supports3DS" ], "shippingContact": { "phoneNumber": "111-111-1111", "emailAddress": "***@gmail.com", "givenName": "Test", "familyName": "Test", "phoneticGivenName": null, "phoneticFamilyName": null, "addressLines": [ "Adress" ], "subLocality": null, "locality": null, "postalCode": "123456", "subAdministrativeArea": null, "administrativeArea": "Dummy", "country": "United States", "countryCode": "US" }, "billingContact": { "phoneNumber": "111-111-1111", "emailAddress": "***@gmail.com", "givenName": "Test", "familyName": "Test", "phoneticGivenName": null, "phoneticFamilyName": null, "addressLines": [ "Adress" ], "subLocality": null, "locality": null, "postalCode": "123456", "subAdministrativeArea": null, "administrativeArea": "Dummy", "country": "United States", "countryCode": "US" }, "shippingMethods": [], "countryCode": "US", "currencyCode": "USD", "total": { "label": "Hello", "amount": "23" } } this.session = new ApplePaySession(3, request1); There is no issue to ApplePay session and things seems to be working. I am using Java as back end and the country ISO is a String. I am struggling to understand why the Json data coming from Ajax call is causing issue while same data in hard coded in the Javascript seems good to Apple Pay
Posted
by
Post not yet marked as solved
0 Replies
733 Views
Hi, we are using following setting in our web app to capture customer contact/shipping details: we have selected "detailed request" from "Apple pay payment request" It leads to parsing of following data: However, we do not need the **postal address, ** just email and contact is enough. The problem is in many cases users have not added a shipping address to their apple account, which leads to this screen in case they try to pay: Is it possible to just ask users for "contact number" and "email address" and EXCLUDE asking shipping address which they might have not added, so the payment goes through even if the user has not updated the "address".
Posted
by