#Barba-apple-pay-domain

1 messages · Page 1 of 1 (latest)

agile lake
strange cipher
#

doesnt appear there 😦

#

so not sure if im doing something wrong

agile lake
#

Are you seeing an error form your API request? Why not just add it in the Dashboard?

strange cipher
#

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
}
agile lake
#

Are you in test mode in the Dashboard? That Apple Pay domain is registered in test mode (using your sk_test key)

strange cipher
#

yep I am in app mode

#

in test mode sy

agile lake
#

Could you try adding an actual domain? (my_domain) isn't valid

strange cipher
#

I just updated that for you to dont add here the real data

agile lake
#

Can you trying using the Dashboard interface?

strange cipher
#

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?

agile lake
#

Please. Or your account ID

strange cipher
#

also.. by the terminal seems to be fine because now every time I execute the curl I get the same response

#

id: apwc_************

agile lake
#

Have you hosted the domain association file?

strange cipher
#

yep

agile lake
#

Can you share the URL please

strange cipher
#

but you would need to do the request from stripe domain link

#

its not accessible from outside... we have stripe in our whitelist

agile lake
#

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

strange cipher
#

oki, thanks!! 🙂 I will do it

#

could it works adding apple domain in the white list? or it requires to be accessible from anywhere?

agile lake
agile lake
#

!atm