Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEX Pay Payment Gateway demo

This projects demonstrates the integration with CEX Pay Payment Gateway. You can check documentation here.

Quick start via Docker

  1. Login into Merchant's Dashboard Web Application and register (create) your own Gateway. Grab settings: API URL, API Passphase, API Secret and Widget URL
  2. Start demo container by following command:
    export GATE_ID=...          # Like a65f7fe6-ad2a-4fbe-9f2b-b939db70733c
    export GATE_PASSPHRASE=...
    export GATE_SECRET=...
    export GATE_URL=...         # Optional (local: http://127.0.0.1:38091)
    docker run --rm --interactive --tty --publish 8080:8080 --env GATE_ID --env GATE_PASSPHRASE --env GATE_SECRET --env GATE_URL cexiolabs/cexpay.gate.integration-demo
  3. Open the following address in your browser: http://localhost:8080

Dev notes

How to start

git clone https://github.com/cexiolabs/cexpay.gate.integration-demo.git

Then open VS Code, copy .env-example file into .env and set passphrase/secret there (+ optionally override gateway uuid and gate back-end url).

Now you can launch and debug app via VS Code configuration.

How to build Docker image

docker build --tag cexiolabs/cexpay.gate.integration-demo .

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages