#alexst-apple-pay

1 messages · Page 1 of 1 (latest)

plush olive
#

Hey there. Can you share the account ID you're using and the code used to create the domain?

ivory thunder
#

Hello @plush olive !!! The account id is acct_1KWIvBIpEc5LQ9Ee. The code is exactly the same as described in the documentation (we use PHP) . PLease keep in mind that we have the same issue using curl \Stripe\Stripe::setApiKey("sk_live_••••••••••••••••••••••••");

\Stripe\ApplePayDomain::create([
'domain_name' => 'example.com',
]);

plush olive
#

Thanks, checking!

#

What's the actual URL you're looking to setup? I can see a few configured

ivory thunder
plush olive
#

Did you actually use your live secret key? I can see that domain in our system, but it's registered in test mode
Is the domain association file configured?

ivory thunder
#

We checked this issue in test mode.

#

Please keep in mind tha the configuration of association file seems to be ok as we were able to verify the domain via stripe UI. THe problem is using api call

plush olive
#

You can't/shouldn't register the Apple Pay domains in test mode. That's why they won't be in the Dashboard

#

As noted at that doc:

All domains, whether in production or testing, must be registered with your live secret key.

ivory thunder
#

Thanks for the feedback. However we managed to register the domain manually from Stripe UI while we were in test mode. How could we test the apple pay integration in test mode? Our understanding is that we have to manually add the domain through stripe UI and then continue will the implementation of checkout form. Is our understanding right?

plush olive
#

register the domain manually from Stripe UI while we were in test mode
I imagine that we're using your secret keys under the hood. But if you're using the API directly then you must use your live keys

#

How could we test the apple pay integration in test mode? Our understanding is that we have to manually add the domain through stripe UI and then continue will the implementation of checkout form. Is our understanding right?
That will work yes. That's how most merchants manage Apple Pay domains as generally they're 'set it and forget'

ivory thunder
#

We appreciate your help and quick response. We can now proceed with the rest of implementation as we now understand the limitation.

#

Thanks a lot 🚀 !!!

plush olive
#

Np!