Skip to content

whalestackhq/brand-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brand Connect Container

Connects your brand to hosted checkout pages and serves Whalestack payment UIs under your own domain. Brand Connect customizes hosted checkouts to your own brand, web domain, custom logo, images, and fully skinned UI. Brand Connect can run on whalestack.com or on your own web domain, which is activated through your DNS settings pointed at a docker container hosted in your own deployment. See below.

Pre-Requisites

  • Enable and configure Brand Connect in your account settings
  • Obtain your WS_BRANDING_KEY by enabling Brand Connect (see step above)
  • Apply behavior setting 1 or 2 during initial setup and specify your desired "custom web domain"

Configuration

The container binds port https/443 and http/80. You may use your own SSL certificate by mounting it to /ssl.pem. The PEM file must contain a combined public and private key. If no PEM file is mounted, https will be served with an invalid dummy certificate.

Activate Brand Connect by pointing the "custom web domain" specified in your account settings at the IP address of the docker container via your DNS config. Once up and running you can block access via whalestack.com by applying behavior setting 3 (checkouts on whalestack.com redirect the user to your custom web domain) or 4 (checkouts on whalestack.com are blocked and only accessible via your custom web domain) in your account.

Environment variables:

WS_BRANDING_KEY Your branding key as given by Whalestack (see your account settings).

Examples

Run with an invalid SSL certificate

docker run -p 443:443 -e WS_BRANDING_KEY=demo whalestack/brand-connect:latest

Run with your own SSL certificate

docker run -v /path/to/ssl.pem:/ssl.pem -p 443:443 -e WS_BRANDING_KEY=demo whalestack/brand-connect:latest

Run without SSL

docker run -p 80:80 -e WS_BRANDING_KEY=demo whalestack/brand-connect:latest

Kubernetes

The configuration file in examples/kubernetes.yaml shows a very basic example setup without SSL, you'll need to terminate SSL in your ingress depending on your environment.