Installation and configuring plug-in Stripe Hosted Checkout
If you want to use Apple Pay you need to validate your domain. Use this plugin for it.
It's very easy to configure plugin. See pciture.
You need to configure the Webhook ID from plugin configure page. Only Webhook can change the payment status of the nop order.
Open the plugin configure page and press the button 'Create Webhook', you need to have the live URL, not localhost.
After it open the Stripe Dashboard and copy Webhook secret key for this webhook ID.