#learner

1 messages · Page 1 of 1 (latest)

fervent cairnBOT
modest epoch
bold mesa
#

Thanks @modest epoch

I tried installing this locally. But not sure how can I test Apple Pay locally.

#

I see the default credit card form

modest epoch
#

you can't, you need to host the server on a public URL so you register the domain with Apple.

#

you can use a service like e.g. ngrok.io to get a public domain and HTTPs link for a local app and use that to verify the domain for Apple Pay in your Stripe dashboard.

#

that's unfortunately the only option, it's impossible to test Apple Pay entirely locally

bold mesa
#

Thanks. Is there supporting documentation around this for the repo you shared?

modest epoch
bold mesa
#

Is there a way to make this work on a Mac with touch id?

modest epoch
#

should just work

#

my mac is a 2017 one with TouchId and I've never had a problem. Did you see otherwise? I wouldn't put too much thought into the words we use in that page, it doesn't mean TouchID doesn't work, just means we didn't mention it

bold mesa
opaque dew
#

it's a demo app

#

that you can use to preview the payment with Apple/Google Pay

bold mesa
#

Is there a repo which when cloned works for Apple Pay out of the box?

opaque dew
#

the repo that my colleague suggested earlier

#

but Apple Pay won't work unless it's hosted on a server with https and you need to register that domain with Apple