Home
Softono
gringotts_payment

gringotts_payment

Open source Elixir
27
Stars
4
Forks
8
Issues
6
Watchers
3 years
Last Commit

About gringotts_payment

# GringottsPayment An Example application showing, the integration of different *Payment Gateways* in a Phoenix application using [`gringotts`](https://github.com/aviabird/gringotts) library. To test this application locally: * Fork this repository. * Install dependencies with `mix deps.get` * (Optionally) Start postgres via `make start-pgsql` via Docker. You'll need docker installed locally. * Confirm via `docker ps` if required. * Use `make pgsql` to start postgres in foreground to troubleshoot, if needed. * `export DATABASE_URL=postgres://postgres:@localhost:5432/gringotts_payment_dev` * `make clean-pgsql` to remove image and start over. * You may need to start `make start-pgsql` twice, after `clean-pgsql` * Create and migrate your database with `mix ecto.create` * Install Node.js dependencies with `cd assets && npm install` * Start Phoenix endpoint with `make dev` Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. Checkout the ...

Platforms

Web Self-hosted

Languages

Elixir

GringottsPayment

An Example application showing, the integration of different Payment Gateways in a Phoenix application using gringotts library.

To test this application locally:

  • Fork this repository.
  • Install dependencies with mix deps.get
  • (Optionally) Start postgres via make start-pgsql via Docker. You'll need docker installed locally.
    • Confirm via docker ps if required.
    • Use make pgsql to start postgres in foreground to troubleshoot, if needed.
    • export DATABASE_URL=postgres://postgres:@localhost:5432/gringotts_payment_dev
    • make clean-pgsql to remove image and start over.
    • You may need to start make start-pgsql twice, after clean-pgsql
  • Create and migrate your database with mix ecto.create
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with make dev

Now you can visit localhost:4000 from your browser.

Checkout the running application @ gringotts_pay

Learn more