# Gratify Pay

### Running locally

Get your local ip address (something like 192...) - localhost won't work, then:

```shell
export EXTERNAL_IP=<your local ip>
cd docker
docker-compose up
```

Default administration credentials:

- http://<your local ip>/administration
- username: user@example.com
- password: bitnami1

### Building

`bash build.sh`

This will output ../gratify_prestashop.zip - this is the module

### Installation

1. Go to Modules > Modules Manager
2. Click "Upload a Module" and select the downloaded "gratify_prestashop.zip" file
3. After installing, need to set up using countries for Gratify Pay
   ![](./views/img/presta_6.png)

### Usage

1.  Category page
    ![Category page](./views/img/presta_3.png)
2.  Product Page
    ![Product Page](./views/img/presta_4.png)
3.  Cart page
    ![Cart page](./views/img/presta_5.png)
4.  Checkout page
    ![Checkout page](./views/img/presta_7.png)
