#kikohbrew
1 messages · Page 1 of 1 (latest)
It can be a couple of things, happy to run through them. First, can you check if you see the apple pay button on this page? https://stripe.com/docs/elements/express-checkout-element
Thanks! On that page - you mean in the demo area? I see the attached options (apple pay there). For the payment collection in my app I'm using https://stripe.com/docs/payments/payment-element currently.
Awesome, that confirms that your wallet is set up properly
So now we can debug on your webpage. My first two questions are: are you serving this page over https (note: localhost only allows for http typically) and have you registered your URL as a payment method domain? https://stripe.com/docs/payments/payment-methods/pmd-registration
So for my local- it's http. For registering a domain, I did enter 'localhost' into the configure domains option for apple pay. That said, I couldn't see a way to verify localhost, so it's unverified currently.
Is it possible to test apple pay using localhost/a development environment, or do I need to deploy to a live/public domain that I can verify and access over https?
oh nm I see the note in the documentation for ngrok- I'll set that up one sec (I've used before)
Exactly what I was about to say with ngrok
Yeah, unfortunately (in this context) HTTPS is a requirement to show wallets like Apple and Google Pay. Those are requirements from Apple and Google themselves, so they are restrictions in our test mode as well
ah ha! nice that did it. Thank you, apologies for missing that in the doc. The 'https://dashboard.stripe.com/test/settings/payment_methods/review page not listing apple pay made me think I was missing configuration up front somewhere.
now it appears as I'd hoped!
thanks for your time
Nice! Glad that that worked