#alexst-apple-pay
1 messages · Page 1 of 1 (latest)
Hey there. Can you share the account ID you're using and the code used to create the domain?
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',
]);
Thanks, checking!
What's the actual URL you're looking to setup? I can see a few configured
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?
We checked this issue in test mode.
The domain association file is properly hosted as described in the steps here -> https://demo.dev-applepay.eu-w1.learnworlds.com/.well-known/apple-developer-merchantid-domain-association
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
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.
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?
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'
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 🚀 !!!
Np!