visual-studiowebstripe-paymentsapplepaykentico-12

Apple Pay with Stripe on Web - Error while Domain verification from stripe apple pay


I need to add Apple Pay on the web using following link to integrate Apple Pay on my kentico website : https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account

I have created a physical folder in the web root directly on the web server and copied the required files to this physical folder using FTP but it is giving this error "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." while verification of domain.

It is not accessing extensionless file "apple-developer-merchantid-domain-association" under ".well-know" folder.

Screen Shot - 1

Screen Shot - 2

Screen Shot - 3


Solution

  • You are adding extensionless file in folder. You need to allow this in your web.config file like below.

    <system.webServer>
    <staticContent>
    <mimeMap fileExtension="." mimeType="text/xml" />
    </staticContent>
    </system.webServer>