19 lines
853 B
Bash
19 lines
853 B
Bash
# kron, the money service beside portal: Vipps MobilePay for Tomter Vel.
|
||||
|
|
# Copy to kron.env (root, mode 600, like portal.env) and fill in the
|
|||
|
|
# values from the Vipps MobilePay portal, API-nøkler. Never commit kron.env.
|
|||
|
|
#
|
|||
|
|
# Test first: VIPPS_ENV=test with the keys from "API-nøkler – test"
|
|||
|
|
# (MSN 563326); production is the same five lines with the production
|
|||
|
|
# keys and VIPPS_ENV=prod.
|
|||
|
|
PROVIDER=vipps
|
|||
|
|
VIPPS_ENV=test
|
|||
|
|
VIPPS_MSN=563326
|
|||
|
|
VIPPS_CLIENT_ID=
|
|||
|
|
VIPPS_CLIENT_SECRET=
|
|||
|
|
# Ocp-Apim-Subscription-Key (primær). The secondary exists so this one
|
|||
|
|
# can be rotated without downtime; kron takes one at a time.
|
|||
|
|
VIPPS_SUBSCRIPTION_KEY=
|
|||
|
|
# From registering <PUBLIC_URL>/webhook with Vipps: register-vipps-webhook.sh
|
|||
|
|
# fills this in. Until it is set every webhook is refused and payments
|
|||
|
|
# settle by the sweep alone, which works but is slower.
|
|||
|
|
WEBHOOK_SECRET=
|