Briqpay payment

The Briqpay Payment App can be used to integrate with Briqpay to handle payments in your e-commerce solution.

It is used for accepting payments with Briqpay Checkout. For earlier versions of Litium, please see the Briqpay extension
lappnotice.jpg

Values to replace in the template:

  • ports
  • environment
    • ASPNETCORE_HTTPS_PORT
    • AppMetadata__AppUrl
    • LitiumApi__ApiUrl
version: '3'
services:
  briqpay-payment:
    image: registry.litium.cloud/apps/briqpay-payment:1.4.5
    dns: 
    - 192.168.65.2
    restart: unless-stopped
    ports:
    - "10030:80"
    - "10031:443"
    environment:
    # Enable HTTPS binding
    - ASPNETCORE_URLS=https://+;http://+
    - ASPNETCORE_HTTPS_PORT=10031
    # Configuration for HTTPS inside the container, exported dotnet dev-certs with corresponding password
    - ASPNETCORE_Kestrel__Certificates__Default__Password=${CERT_PWD}
    - ASPNETCORE_Kestrel__Certificates__Default__Path=/https/localhost.pfx
    # Folder for the configuraiton, this is volume-mapped
    - CONFIG_PATH=/app_config
    # Folder where logfiles should be placed, this is volume-mapped
    - APP_LOG_PATH=/logs
    # Don't validate certificates
    - AppConfiguration__ValidateCertificate=false
    # Disable callbacks
    - AppConfiguration__DisableCallbacks=true
    # Url to this app
    - AppMetadata__AppUrl=https://customer-app-briqpay-payment.localtest.me:10031
    # Url to the litium installation
    - LitiumApi__ApiUrl=https://customer.localtest.me:5001
    volumes:
    - ./data/briqpay-payment/config:/app_config
    - ./data/briqpay-payment/data:/app_data
    - ./data/briqpay-payment/logs:/logs
    - ./data/briqpay-payment/DataProtection-Keys:/root/.aspnet/DataProtection-Keys
    - ./data/https:/https:ro

The configuration file must have json format and UTF-8 encoding

{
    "Briqpay": {
        "PaymentAccounts": [
            {
                "PaymentAccountId": "SE",
                "MerchantId": "",
                "Secret": "",
                "Environment": "Test",
                "PaymentOptions": [ "Checkout" ]
            }
        ]
    }
}
  • Merchant ID: Your account ID provided by Briqpay
  • Secret: Your API secret provided by Briqpay (You can sign up for a test-account instantly at https://app.briqpay.com )
  • Environment: Test or Live depending on what environment you want to target