Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptopay Payment Gateway demo

This projects demostates integration with Cryptopay Payment Gateway. You can check documentation here.

Quick start via Docker

  1. Login into Merchant's Dashboard Web Application and register(create) your own Gate (Setup -> Gate). Grab settings: API URL, API Passphase, API Secret and Widget URL
  2. Start demo container by following command:
    export GATE_ID=...          # Like xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    export GATE_PASSPHRASE=...
    export GATE_SECRET=...
    export GATE_URL=...         # Optional (default: https://sandbox.cryptopay.band/widget/)
    docker run --rm --interactive --tty --publish 8080:8080 --env GATE_ID --env GATE_PASSPHRASE --env GATE_SECRET --env GATE_URL cexiolabs/cryptopay.demo
  3. Open the following address in your browser: http://localhost:8080

Dev notes

How to start

git clone <THIS REPO> cryptopay.demo.service
cd cryptopay.demo.service
git submodule update --init
cd service/nodejs
npm install
npm start

How to build Docker image

docker build --tag cexiolabs/cryptopay.demo --file Dockerfile .

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages