This projects demostates integration with Cryptopay Payment Gateway. You can check documentation here.
- Login into Merchant's Dashboard Web Application and register(create) your own Gate (Setup -> Gate). Grab settings:
API URL,API Passphase,API SecretandWidget URL - 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
- Open the following address in your browser: http://localhost:8080
git clone <THIS REPO> cryptopay.demo.service
cd cryptopay.demo.service
git submodule update --init
cd service/nodejs
npm install
npm startdocker build --tag cexiolabs/cryptopay.demo --file Dockerfile .