Apple Pay on the Web

RSS for tag

Apple Pay on the Web allows you to accept Apple Pay on your website using JavaScript-based APIs.

Apple Pay on the Web Documentation

Posts under Apple Pay on the Web tag

126 Posts
Sort by:
Post not yet marked as solved
1 Replies
462 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
0 Replies
277 Views
In the Setting up server section , Apple ask to allow Apple IP address to merchant validation and domain validation. Want to know what data elements does Apple access in these processes.
Posted
by
Post not yet marked as solved
0 Replies
563 Views
Hey i am trying to integrate my api with my machine for some testing work but it is showing me an error code possibility combinations 18336326964 , 08336326964 , 8336326964 , Can anyone help me out fixing this i have been working really hard for this project
Posted
by
Post not yet marked as solved
1 Replies
729 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 not yet marked as solved
0 Replies
295 Views
Hello. i'm from Côte d’Ivoire and I make a mobile app with react native where users pay for adding profil they want to control. I want to give to my users the possibility to make theirs payment in my app but Apple doesn’t have the ways of payment we use in my country ( Orange Money, Moov Money, Mtn Money, Wave, ..). So first, I want to know if it’s a case of Subscription or in-App purchased which are in the official documentation and second how can I do it? Can I implement myself theses system payements in my app ? Is it legal ?
Posted
by
Post not yet marked as solved
0 Replies
640 Views
Hey i am trying to integrate my api with my machine for some testing work but it is showing me an error code possibility combinations 18336324201 , 08336324201 , 8336324201 , Can anyone help me out fixing this i have been working really hard for this project
Posted
by
Post marked as solved
1 Replies
400 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
342 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
1 Replies
477 Views
My goal is simply to test a Safari (macOS/iOS) Apple Pay integration in a sandbox environment. I created a sandbox tester account. However, when I try and login to this account anywhere (icloud.com, on a Mac in macOS settings, or on a phone or even the iOS simulator in iOS settings), I get "Your AppleID or password was incorrect." I'm 100% positive I'm using the correct sandbox AppleID and password, though. What am I missing?? The payment handling backend, merchant validation, and everything else has been set up. I'm simply trying to test payments with a test card, from a device logged into a sandbox iCloud account with a test card in Wallet.
Posted
by
Post not yet marked as solved
0 Replies
496 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
731 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
Post not yet marked as solved
0 Replies
321 Views
I'm trying to implement customized "Pay with Apple Pay" button in our website. The button loads on the web as expected but does not pop up the wallet when I follow this link https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_javascript When I tried the css way, seems "Pay with" is not supported type. Though the wallet payment works by loading plain button. https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_css#3667429 Can someone please help if I'm missing something.
Posted
by
Post not yet marked as solved
1 Replies
704 Views
Hi, We have a iOS app where users can purchase videos from others. Purchasing happens through In-app purchasing and our client get the money. So when the owner of the videos need to cashout the money he gets from the video selling, we need to implement an option for that. Currently we have a manual process for that. Our major mode of receiving payments is CashApp but when automating it with custom API it is giving error code : 8447435879 , 18447435879 Can Anyone tell me what exactly is this error code about? Note : we are synchronising the API with REST API
Post not yet marked as solved
0 Replies
406 Views
I've successfully set up ApplePay Web for two of my sites. I've now added and verified the URL for my 3rd site. The issue I've got is I get sporadic failures attempting to initiate the ApplePay session with an error response of: { "statusMessage": "Payment Services Exception merchantId=xxxx not registered for domain=***.com", "statusCode": "400" } The session intitiation DOES often succeed and then I'm able to complete a payment but. The URL the ApplePay javascript supplies to intiate the session is: https://apple-pay-gateway.apple.com/paymentservices/startSession The payload I send is: { merchantIdentifier = "merchant.my.identifier", initiative = "web", initiativeContext = "site.url.com", displayName = "My Name" } Any help would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
441 Views
We are a payment service provider and have configured our infrastructure with segmented network, firewalls, etc. Our main server resides behind a proxy server running on nginx. This is a requirement from PCI compliance point of view. But now, when we are trying to verify our domain. We are getting the below error message. Domain verification failed. Review your TLS Certificate configuration to confirm that the certificate is accessible and a supported TLS Cipher Suite is used. Please advise on what we can do to resolve this.
Posted
by