#learner
1 messages · Page 1 of 1 (latest)
hi! depends exactly what you're looking for, for example https://github.com/stripe-samples/accept-a-payment/tree/main/payment-element has several example projects, including one that use Node as a backend and could support Apple Pay. I don't think we have anything specifically for Next.js
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
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
Thanks. Is there supporting documentation around this for the repo you shared?
Is there a way to make this work on a Mac with touch id?
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
https://checkout.stripe.dev/preview seems to be a demo of Prebuilt UI. Is there an hosted example of Custom Payment flow with Apple Pay? or the right Github repo example I should look at?
Preview some of the features available in our prebuilt, hosted payment page.
you can always check this out https://stripe-payments-demo.appspot.com/
it's a demo app
that you can use to preview the payment with Apple/Google Pay
The repo for above says it's archived now https://github.com/stripe-archive/stripe-payments-demo
Is there a repo which when cloned works for Apple Pay out of the box?