You passed an invalid URI for your domain name. It must not contain a port, path, query, or fragment, and should be just a bare top-level domain, such as https://www.example.com

Hello,

Hi all! I have installed Invoice Ninja 5 latest version on my subdomain. eg… sub.mydomain.com I am not able to get apple pay to work. I have gone in to Stripe and added the subdomain and downloaded the verification file. I have added the file to the .well-known folder. I have also entered the code from inside the file to the applepay box within the stripe module. Every time i try and complete a payment using apple pay i get “You passed an invalid URI for your domain name. It must not contain a port, path, query, or fragment, and should be just a bare top-level domain, such as https://www.example.com” .

How do i get apple pay to work on my subdomain?

Hi,

@david any ideas?

It sounds like you may need to verify inside stripe both the top level domain and the subdomain, you should be able to do this from within stripe and then download the verification file.

Hello

Yes i have done this. I have apple pay working in my main website. I have added mydomain.com and sub.mydomain.com to the stripe panel and have downloaded the correct file for each and placed them in the correct directories. I have tried everytthing invluding pasting the code from the file into the stripe apple pay field in the invoice ninja stripe module. I get the same error everytime in invoice ninja when selecting apple pay as the payment solution. My regular shopping cart on my main domain works ok just not my sub domain with invoice ninja. The stripe module works for regular credit card payment but i get that error when i try and checkout with apple pay in invoice ninja. Not sure what else to try. I really need to get this working.

1 Like