アプリを設定する
Oracle Opera 用のアプリを設定する
Stripe App for Oracle Opera をインストールした後、Stripe Terminal の導入でアプリを使用するための設定を行うことができます。
アプリのパラメーターを設定する
Windows File Explorer を使用して、インストールパスに移動します。次に、appsettings. ファイルを編集して、以下のアプリパラメーターを設定します。「Stanza」とは、パラメーターカテゴリーを表す Oracle 用語です。
| スタンザ | 説明 |
|---|---|
| AllowedHosts | このアプリ内のサービスをリッスンできる IP アドレスのリスト。 |
| Listen |
|
| Transactional |
|
| トークン | これらの設定は、オンプレミスで行われる Opera のインストールに適用されます。
|
| Serilog | これらの設定はログレベルに適用されます。
|
| Using | ミドルウェアで使用されるこれらのシステムモジュールの値は変更しないでください。 |
サンプルファイルを確認する
appsettings. ファイルが次のサンプルのようになっていることを確認します。
{ "AllowedHosts": "*", "Listen": { "Dashboard": { "Host": "127.0.0.1", "Port": "8081", "ServerCertificatePath": "certificate.pfx", "ServerCertificatePassword": "1234" }, "Transactional": { "Host": "127.0.0.1", "Port": "8999", "ServerCertificatePath": "certificate.pfx", "ServerCertificatePassword": "1234" }, "Token": { "Host": "127.0.0.1", "Port": "8990", "ClientCertificateAuth": false, "ClientCertificatePath": "../data/sslcerts/cert.pfx", "ClientCertificatePassword": "1111", "ServerCertificatePath": "certificate.pfx", "ServerCertificatePassword": "1234" } }, "Serilog": { "MinimumLevel": { "Default": "Debug", "Override": { "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information", "System.Net.Http.HttpClient": "Warning" } }, "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ] } }
Windows サービスを再起動する
appsettings. ファイルを編集した後、以下の手順を使用して Windows サービスを再起動します。
- キーボードの Windows キーを押します。
servicesと入力して、サービスアプリを開きます。- 左側のペインでサービスを選択してから、右側のペインでStripe OPI App Serviceに移動します。
- 再起動をクリックしてサービスを再起動し、ウェブインターフェイスにアクセスできるようにします。