#Barba-apple-pay-domain
1 messages · Page 1 of 1 (latest)
Hey! You can manage Apple Pay domains here: https://dashboard.stripe.com/settings/payments/apple_pay
Are you seeing an error form your API request? Why not just add it in the Dashboard?
here is my response:
❯ curl https://api.stripe.com/v1/apple_pay/domains \
-u "sk_test_**********": \
-d domain_name="my_domain
{
"id": "apwc_*************",
"object": "apple_pay_domain",
"created": 999999999,
"domain_name": "my_domain",
"livemode": false
}
Are you in test mode in the Dashboard? That Apple Pay domain is registered in test mode (using your sk_test key)
Could you try adding an actual domain? (my_domain) isn't valid
I just updated that for you to dont add here the real data
Can you trying using the Dashboard interface?
I cant use the interface.. thats why I was trying by the terminal and its weird because the response seems to be ok. do you want me to give you the response id?
Please. Or your account ID
also.. by the terminal seems to be fine because now every time I execute the curl I get the same response
id: apwc_************
Have you hosted the domain association file?
yep
Can you share the URL please
but you would need to do the request from stripe domain link
its not accessible from outside... we have stripe in our whitelist
Yeah that file needs to be accessible to all, not restricted. This is an Apple requirement nothing mandated by Stripe
This is likely why you're having issues registering the domain
oki, thanks!! 🙂 I will do it
could it works adding apple domain in the white list? or it requires to be accessible from anywhere?
I'm not sure. There's an Apple support doc: https://developer.apple.com/documentation/xcode/supporting-associated-domains
!atm