Skip to content

Commit

Permalink
enhance configuration section to match main
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Dec 9, 2024
1 parent 7f12f34 commit a0a7436
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/packages/edutap_wallet_google/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ The package is hosted at the Python Package Index (PyPI) and can be installed us

## Configuration

Configuration is done using environment variables.

If available, dotenv-files (`.env`) are respected.

### How to connect with Google

In order to create new Wallet Classes and Wallet Objects you need to have a Google Developer account and a Google Wallet API project.

To authenticate with the Google API, you need to provide a credentials file and an issuer ID.
Expand All @@ -37,3 +43,8 @@ Copy the value and point the environment variable `EDUTAP_WALLET_GOOGLE_ISSUER_I
```bash
export EDUTAP_WALLET_GOOGLE_ISSUER_ID=1234567890123456789
```

### Debugging

The traffic from and to Google can be logged to a file.
If the environment variable `EDUTAP_WALLET_GOOGLE_RECORD_API_CALLS_DIR` is set to a writeable directory, all traffic is recorded there.

0 comments on commit a0a7436

Please sign in to comment.