Create a wallet on your protected machine, as you want to keep your cryptocurrency safe. Please notice that the potential intruder still will be able to see your addresses, transactions and balance, though. Now you are able to set up your electrum merchant daemon. SSL private key and a public certificate for your bitcoin php example script set up already.
Create another file, file that contains your certificate, and the list of certificates it depends on, up to the root CA. Your certificate must be at the top of the list, and the root CA at the end. In order to display public URLs, we need to set another configuration variable, url_rewrite. Install and run Electrum-Merchant configuration program. By default it installs a simple interface, other interfaces are in preparation and will be available in future. Please note that it is required to follow steps in previous paragraph before you will be able to successfuly run Electrum-Merchant. URL of the signed BIP70 request.
URL of a webpage displaying the request. Note that request_url and index_url use the domain name we defined in url_rewrite. The page shows the payment request. You can open the bitcoin: URI with a wallet, or scan the QR code. The bottom line displays the time remaining until the request expires. This page can already used to receive payments. Now, the page is fully interactive: it will update itself when the payment is received.