Git Product home page Git Product logo

brand-connect's Introduction

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.

brand-connect's People

Contributors

marcinx avatar sui77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.