#tiffanyatschedulicity - Apple Pay
1 messages · Page 1 of 1 (latest)
Hello! That error can happen for a lot of reasons. Can you share the page where you expect the Apple Pay button to show up so I can investigate?
It's on a local test environment that is not accessible outside of our private network, although the certificate was made public
Does the Apple Pay domain show up in your Stripe Dashboard?
Yes - in the section underneath Web
Are you using Connect?
I am using Payment Request Button Element
Does the Apple Pay button show up for you on this page in the same browser you're using to test your own site? https://stripe.com/docs/stripe-js/elements/payment-request-button
It should show up above the HTML + JS and React tabs.
Yes it does
Okay, that narrows it down a bit, we know Apple Pay works in the browser you're using.
Can you confirm the publishable key you're using to initialize Stripe.js belongs to the same account where the Apple Pay domain has been added?
Yes we only have one Stripe account with all of our domains/iOS certificates there. It does look like we have an old key without the new prefix of test or prod
Ah, that may be the issue, although that usually only causes problems if Connect is involved.
Is there any way you can set up a minimal test page that's publicly accessible on the same domain so I can take look?
No .. unfortunately.
Are you sure the domain is an exact match? For example, if you have example.com added in the Dashboard as an Apple Pay domain but you're on www.example.com those don't match and won't work.
yes its an exact match - without the www is correct
Without being able to see/debug the page myself the only thing I can suggest is to generate a new publishable key that uses the current format and see if that solves the issue.
and it successfully registered on the dashboard
ok I'm going to double check my stripe key
I can send you the site w/ our certificate but the rest of the site is private
Which certificate are you referring to? A TLS certificate?
the validation file from Stripe
Ah, that's not a certificate, it's just a validation file, and it's not specific to your site.
This is what you mean, right? https://stripe.com/.well-known/apple-developer-merchantid-domain-association
@eternal atlas thanks let me have a look