コネクターを設定
Stripe Connector for Oracle Opera の設定方法をご紹介します。
After you install the Stripe app for Oracle Opera, you can configure the settings to use the app with your Stripe Terminal integration.
Configure the app parameters
Use Windows File Explorer to navigate to the installation path. Then, edit the appsettings.
file to configure the following app parameters. “Stanza” is the Oracle term for parameter categories.
スタンザ | 説明 |
---|---|
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
と入力して、サービスアプリを開きます。- Select Services in the left pane, and then navigate to Stripe OPI App Service in the right pane.
- Click Restart to restart the service and allow you to access the web interface.