#Tom Catchesides

1 messages · Page 1 of 1 (latest)

snow cryptBOT
slender yoke
#

👋 happy to help

pseudo heart
#

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.

#

What do you think I might be doing wrong?

slender yoke
#

would you mind sharing your account id?

pseudo heart
#

Sure, the account I'm testing this with is acct_15GucOD5coyKZApv

slender yoke
#

give me a few minutes please

pseudo heart
#

NP

slender yoke
#

I can see that you have 2 Apple Pay domains on that account

pseudo heart
#

That's positive, they don't show up in the Stripe dashboard

slender yoke
#

yes you're right that's a bit weird

#

let me try to dig a bit deeper

pseudo heart
#

Thank you!

slender yoke
#

so apparently, when you create the domain using the API it doesn't show up on the dashboard

pseudo heart
#

Huh, that is interesting

slender yoke
#

but the problem is that both domains were created in test mode

pseudo heart
#

So is that not possible? We can only use live API keys to create the domains?

slender yoke
#

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

pseudo heart
#

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!

slender yoke
#

let me know if you need any more help

pseudo heart
#

I think we're all good now, thanks for your help today.

slender yoke
#

sure thing