Site configuration

Note

For changes made in the site configuration to take effect the cache has to be cleared.

Example configuration (commented properties are optional)
wise:
  apiTokenKey: '11111111-1111-1111-1111-111111111111'
  eventUrlSegmentChallenge: wdoufkyrkLoqaarxxvmdxyyj
  storageUid: 1
  # binDirectory: ../vendor/bin
  # postEventCommand: "/path/to/php -f '../path/to/bin/typo3' -- 'wise:getcredits' > /dev/null 2>&1 &"

Required properties

Required site properties
wise:
  apiTokenKey: '11111111-1111-1111-1111-111111111111'
  eventUrlSegmentChallenge: wdoufkyrkLoqaarxxvmdxyyj
  storageUid: 1

apiTokenKey

Property

wise.apiTokenKey

Data type

string

Description

The API token provided by your wise account.

eventUrlSegmentChallenge

Property

wise.eventUrlSegmentChallenge

Data type

string

Description

URL segment that will be used in the event handler url. For security reasons prefer something cryptic like wdoufkyrkLoqaarxxvmdxyyj.

storageUid

Property

wise.storageUid

Data type

int/string

Description

Defines where to store event and credit transaction records. The property can contain a single uid or a coma separated list of uid’s. In the later case the first uid will be used to store new records.

Optional properties

Optional site properties
wise:
  binDirectory: ../vendor/bin
  postEventCommand: "/path/to/php -f '../path/to/bin/typo3' -- 'wise:getcredits' > /dev/null 2>&1 &"

binDirectory

Property

wise.binDirectory

Data type

string

Description

Defines the directory where the typo3 command is located. Without this property the command is obtained by the environment settings.

postEventCommand

Property

wise.postEventCommand

Data type

string

Description

Overwrites the automatically created post event command being executed as a background process, hence as well the property wise.binDirectory has no effect any more.

Note

In case new credit records aren’t created upon receiving an event from wise there might be two reasons for it:

  • Wise delayed the availability from the credit transaction -> the The transaction might be pulled in after five minutes.
  • The command used to get the credit transactions didn’t work. To further find out details about it the command details can be obtained by activation the debug logging (see Logging).