#Tom Catchesides
1 messages · Page 1 of 1 (latest)
👋 happy to help
On our dev server, using your PHP library and $stripe->applePayDomains->create() to register the domain works well with a Stripe account's test keys. However, the domain does not appear in the account's ApplePay web domains list.
On our production server (which uses a different domain), calling $stripe->applePayDomains->create() returns a similar result to calling that on our dev server, but in Safari's JavaScript console I see:
Either you do not have a card saved to your Wallet or the current domain (x) is not registered for Apple Pay. Visit https://dashboard.stripe.com/account/apple_pay to register this domain.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
What do you think I might be doing wrong?
would you mind sharing your account id?
Sure, the account I'm testing this with is acct_15GucOD5coyKZApv
give me a few minutes please
NP
I can see that you have 2 Apple Pay domains on that account
That's positive, they don't show up in the Stripe dashboard
Thank you!
so apparently, when you create the domain using the API it doesn't show up on the dashboard
Huh, that is interesting
but the problem is that both domains were created in test mode
So is that not possible? We can only use live API keys to create the domains?
no that's not what I meant
On our production server (which uses a different domain), calling $stripe->applePayDomains->create() returns a similar result to calling that on our dev server,
I was talking about this
I think you've used the test mode key instead of the live mode key
OK, thanks for the clarification
That's working now, thanks for your help.
I think the lessons from this are:
• ApplePay domain has to be created using live Stripe API keys, not test keys.
• ApplePay domains created via the Stripe API do not appear in the Stripe dashboard.
The bit about needing to use live Stripe API keys is fine, we can work around that for testing. The bit about ApplePay domains created via the Stripe API not appearing in the dashboard is not ideal for support, but we'll make a note of it.
Thanks again!
let me know if you need any more help
I think we're all good now, thanks for your help today.
sure thing