Skip to content

Latest commit

 

History

History
90 lines (56 loc) · 2.78 KB

5-Module-installation.md

File metadata and controls

90 lines (56 loc) · 2.78 KB

PrestaShop module management

Module management in the back office

Generate a ZIP from GitHub

Download the latest release in the release section: https://github.com/hipay/hipay-fullservice-sdk-prestashop/releases.

  1. Open your ZIP and extract the project on your desktop.
  2. Go to the "src" folder in the project root folder.
  3. Create a ZIP file entitled "hipay tpp".
  4. Done! You now have a "hipay_tpp.zip" ZIP file.

OR

Download the ZIP package available in the project hipay/hipay-fullservice-sdk-prestashop "package-ready-for-prestashop/hipay_tpp_1-X-X.zip".

Upload the module via PrestaShop module management

To install it in your PrestaShop administrator back office, click on "Modules -> Modules -> Add a new module".

Choose the package and click on "Upload this module".

legend

Upload the module via FTP (SFTP)

You must have a file transfer software like "FileZilla" for example.

  1. Open your software and connect to your FTP (SFTP).
  2. Go to the root of your PrestaShop project.
  3. Transfer the "hipay tpp" source module in the "/modules/" folder.
  4. Add write permissions recursively to the folder "hipay_tpp" (766).

legend

Install the module in the PrestaShop back office

Once the module is successfully downloaded:

  1. Go to "Modules -> Modules".
  2. Search for the "HiPay Enterprise" module.
  3. Click on “Install” in the module description.

legend

When the installation request is executed, a window shows up. It's simply a PrestaShop verification warning for the module. Click on "Proceed with the installation":

legend

Installation with Docker for testing

If you are a developer or a QA developer, you can use this project with Docker and Docker Compose.

Requirements for your environment:

Here is the procedure to be applied to a Linux environment:

  • Open a terminal and select the folder of your choice.
  • Clone the HiPay Enterprise PrestaShop project in your environment with Git:
$ git clone https://github.com/hipay/hipay-fullservice-sdk-prestashop.git
  • Go in the project root folder and enter this command:
$ docker-compose up -d
  • Your container is loading: wait for a few seconds while Docker installs PrestaShop and the HiPay module.*
  • You can now test the HiPay Enterprise module in a browser with this URL:
 http://localhost:8085/
  • To connect to the back office, go to this URL:
 http://localhost:8085/admin-hipay/
  • The login and password are demo@hipay.com / hipay123.
  • You can test the module with your account configuration.