Post not yet marked as solved
Hi,I tried to re-verify our apple pay merchant domain, but after I drop the apple-developer-merchantid-domain-association file to the path: https://{MY_DOMAIN}/.well-known/And make the file public accessible.When I hit ok button to continue, it always show a error message:Verification failed for domainError occurred while trying to access 'https://..../.well-known/apple-developer-merchantid-domain-association'. Received HTTP error code '307'.Don't know what's wrong with it. Our server is on Amazaon S3, and it support all TLS 1.1, 1.2.Can anyone help me?Thanks
Post not yet marked as solved
I'm trying to get Apple Pay going on a Shopify site using Authorize.net. I have the text file I need to upload to /.well-known/apple-developer-merchantid-domain-association.txt. Shopify doesn't allow that sort of thing. I know Google will offer a meta tag to add to the header as an alternative when the text file isn't an option. I can't seem to find another method with Apple in this situation. Has anyone found a way around this?
Post not yet marked as solved
Hi,
We have a public website using Apple Pay with the JS Library. We use Adyen as payment gateway and Avalara to calculate taxes. We've recently discovered a lot of errors in regards of ApplePay token amount-mismatch errorType error. This mean the amount authorized by ApplePay does not match the amount sent to Adyen for authorization. Here's the root cause:
Applepay only reports full address including address line 1 after user authorizes the transaction with ApplePay using the session.onshippingcontactselected event. At this point we only have the following - City, Region, Country, Zip
So, the total order value is based on what Avalara reports the tax is using these fields. For an example order using this zip code 94534, the tax is calculated as $1.84 at this point.
After we receive the authorization from Applepay, we also receive the full address. This address is then sent to the backend to recalculate the cart (including tax). This is just before calling Adyen API
For this specific cart, since now the Address has AddressLine1, the zip code (94534) along with address line 1 results in a different tax from Avalara ($2.09)
So, the cart total is more than the amount that was authorized in Applepay token.
This could easily be solved if we can make Apple Pay to return the AddressLine1 from the initial callback to session.onshippingcontactselected, this would solve our problems. Is there a way to force the call to session.onshippingcontactselected to return the AddressLine1 field as part of the response?
Is there any work around for this?
Thanks and Regards
Post not yet marked as solved
Guys can anyone provide me entire java-script sample code for apple pay development on web.
As it is not available properly on documentation getting redirected to many different articles.
Plz share me if available.
Post not yet marked as solved
Hi,
I'm looking to automate the Apple Pay set up process. I need to enable the Apple Pay for mass number of merchants. To do this, I want to automate the process of creating the merchant identifier, creating the merchant identity certificate, creating the payment processing certificate and validating the domain.
I've been trying to find if there are any api's available from Apple to do this job, just like how Apple is providing appstoreconnectapis to automate lots of stuff related to appstore processes.
Spent a lot of time to see how other competitors are doing this but of no luck. Any help/guidance would be much appreciated.
Thanks
Post not yet marked as solved
We are looking to add ApplePay to our website and we have an odd use case, I'm looking for the best way to handle it. We offer discount & free tickets to local customers. Currently we check the billing zip code the user enters on the checkout page to verify they qualify for the discount, then rely on AVS to validate. However, with ApplePay, I'm not sure we have access to the billing zipcode at this point in the transaction. I'm looking for a way to replicate this verification. I know that there is an option for a shipping address check, but given that we don't ship anything, the user could enter anything they want there. Is there a way to mandate the shipping and billing address match? Is there an opportunity to authorize the transaction, use the AVS there, then update the cart & price before charging? Any help would be appreciated.
Post not yet marked as solved
Hi, I am trying to build a store with Korean Won, but Safari diagram shows "Payment Not Completed".
To reproduce, I tried the demo site at https://applepaydemo.apple.com with
"countryCode": "US"
"currencyCode": "KRW"
"amount": "70000"
The amount is about 60 USD in order to exceeds the KRW minimal amount as described at https://help.apple.com/app-store-connect/#/dev3d7556467 .
The error occurs with other country codes such as JP, US, FR, etc. KR is not supported.
Is KRW supported?
Post not yet marked as solved
Our client's site uses Apple Pay, and once a month we get a series of email notifying us that the domain verification is about to expire:
Your website domain that uses Apple Pay has an SSL Certificate that expires on Oct 11, 2020. We were unable to automatically to reverify your domain. To ensure uninterrupted use of Apple Pay on your website, revalidate your domain by Oct 11, 2020 in Certificates, Identifiers & Profiles.
The site uses Let's Encrypt to automatically renew its SSL cert monthly.
Every time that happens, we need to log into the Apple Developer tools, navigate to Certificates, Identifiers, and Profiles -> Identifiers -> Merchant IDs -> ID -> Merchant Domains, then download the file and drop it onto the server with SFTP. It's a pain.
Is there a way to automate this process (or better yet, stop it from happening)? I can't imagine monthly-renewing SSL certificates is a particularly uncommon thing.
Post not yet marked as solved
I want to you use "Pay with Apple Pay" button on my website.
As per the documentation here https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/buttons-and-marks/
I see a Pay with Apple button as a type, but in the css I do not know what type will show this kind of button.
Is this button yet not available or I am missing something? Can somebody help here?
Post not yet marked as solved
Hi All,
I am in process of integrating the apple pay for web. We will be using our Payment processor to integrate with Apple pay. While going through the documentation, it seems that we need to have a verified domain before integrating with the apple pay.
Since the initial development will happen on the developer local machine, I am not sure what are the options to verify the domain
Is there any other option to work on local development as the local server will be running on localhost and will not have any public facing DNS.
I am not seen this issue while integrating with other payment options, so want to check if I am missing something or not reading the documentation correctly.
Looking forward for the input.
Thanks
Umesh
Post not yet marked as solved
My company has implemented Apple Pay on the Web. We are getting 400 and 403 status codes returned from Apple during the merchant validation process and have no idea why. All the required fields described here are provided. (https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/requesting_an_apple_pay_payment_session)
We completed the configuration of environments, registering and verifying domains, and have even tested successfully on lower environments.
when I'm making a call to "apple-pay-gateway-cert.apple.com/paymentservices/startSession"
I'm getting an error
{"statusMessage": "Payment Services Exception merchantId=XXXXXX-LONG_STRING-XXXX not registered for service", "statusCode": "417"}
Has anyone else faced this issue and can you please suggest what could be the reason for it?
I've exhausted myself looking for an answer for this
Post not yet marked as solved
I am having app where you can have stores(merchants) those who are using 2 payment providers.
Merchant 1: order.example.com/<merchantId 1 >
Merchant 2: order.example.com/<merchantId 2>
Both the payment gateways their own payment processing certificates. So i assume to configure two payment processing certificates, i need to create two apple pay MIDs in my dev portal. Or can i use one MID and configure both? if yes, please mention how to do it
the next question is about the domain association. I am having a single backend hosting all the merchant sites mentioned in above. If i have to MIDs, which means there are to domain association files that needs to be hosted in the server's welknown directory.
Could you mention the possibilities of resolving above issue >
Post not yet marked as solved
We have 2 Merchant Domains expiring on Feb 13.
I downloaded the new apple-developer-merchantid-domain-association and placed it one the appropriate servers. When I tell it to verify it doesn't show that it failed, but the Verification Expires date never changes.
Post not yet marked as solved
I'm trying to get apple pay working with the JS integration, I've got my payment cert, merchant cert, and merchant id in place. I'm able to verify the merchant, click the checkout button, get the pay sheet and then verify the transaction.
But when I authorize the payment, the only thing that gets passed to session.onpaymentauthorized is
{ "isTrusted": true }
There does not appear to be any payment property on the event.
I have tried re-creating a new merchantid/cert/processing cert, and the domain is verified.
Here's my boilerplate
onApplePayButtonClicked() {
this.session = new ApplePaySession(1, testOrder);
this.session.onvalidatemerchant = (function (e) {
console.log(e);
const validationURL = e.validationURL;
this.apiClient.getApplepaySession({ url: validationURL }).then(x = {
this.session.completeMerchantValidation(x);
})
}).bind(this);
this.session.onpaymentauthorized = (function (e) {
console.log("onpaymentauthorized start");
console.log(JSON.stringify(e, null, 4));
this.apiClient.commitApplePay(e).then(() = {
this.session.completePayment(ApplePaySession.STATUS_SUCCESS);
console.log("onpaymentauthorized done");
})
}).bind(this);
this.session.begin();
}
Post not yet marked as solved
I'm trying to validate a merchant for web from my server but I keep being met with a 400 response with the following error message:
Payment Services Exception Invalid session request -- missing domainName
The body I am sending is as follows (using dummy values):
{
"merchantIdentifier":"merchant.com.company.TestMerchant",
"domainName":"frontend.example.com",
"displayName":"My Store",
"initiative": "web",
"initiative_context": "frontend.example.com"
}
frontend.example.com is a verified domain so it looks right to me. Am I possibly missing something? or misunderstanding something? I haven't found any other queries about this specific error so I am creating one here.
Any help would be greatly appreciated.
Thanks :)
Post not yet marked as solved
I'm trying to re-verify a domain but I keep getting an error saying "Domain Verification Failed".
My questions are Do I need to re-download "apple-developer-merchantid-domain-association.txt"? I checked the contents and it never changed from the first time I verified the domain. I just re-checked the "txt files" again, they were different.
Should I remove the domain and register them again?
The alert notification I get from apple, about "SSL expiration" is inaccurate. My SSL certificate's expiration is on July but the email I'm getting is it's about to expire on the 16th of April. Any issues on this?
Post not yet marked as solved
I am from China. I want to renew membership with Zhaoshang Bank credit card. The card supports mastercard, but only afford US dollars, while Apple payment need Chinese RMB.
So, my question is: which credit card has succeed in paying in China? Thanks for your information.
Post not yet marked as solved
I need to download the ApplePay API documentation. I can't find anywhere to get this.
Does anyone have a link where it can be grabbed?
Post not yet marked as solved
In WWDC 2019, there was announced "in iOS 13, you can now use Apple Pay inside a WKWebView.". (#1)
But the guide of Apple Pay on the web says "In iOS, Apple Pay is supported in Safari and in SFSafariViewController objects.". (#2)
When I actually implement it, the payment was completed without any problems.
Are there any problems using Apple Pay payments on WkWebView?
WWDC2019(#1)
https://developer.apple.com/videos/play/wwdc2019/518/
ApplePay on the web guide(#2)
https://developer.apple.com/documentation/apple_pay_on_the_web/