- About the Project
- Development
- Versioning
- Deployment
- Documentation
- Internationalization
- Documentation
- Other useful links
GoPay payment gateway integration with the PrestaShop eCommerce platform.
Running project on local machine for development and testing purposes.
- PHP
- PrestaShop (minimum version 1.6.1.24)
- Docker Desktop
- Docker Compose (is part of Docker Desktop)
For local project execution, first install PrestaShop, then upload and configure the plugin by following the steps below:
- Install the plugin through the PrestaShop modules screen.
- Download it from GitHub and uncompress it.
- Rename the folder to have the same name as the main php file “prestashopgopay”.
- Compress the folder again.
- On "Modules and services" click on "Add a new module" and install the GoPay plugin.
- Activate the plugin through the modules screen.
- Configure the plugin by providing goid, client id and secret to load the other options (follow these steps to activate the payment gateway and get goid, client id and secret).
- Finally, choose the options you want to be available in the payment gateway (payment methods and banks must be enabled in your GoPay account).
controllers
admin
front
includes
translations
vendor
views
css
js
templates
admin
front
hook
readme.md
This plugin uses SemVer for versioning scheme.
master
- contains production code. You must not make changes directly to the master!staging
- contains staging code. Pre-production environment for testing.development
- contains development code.
- Use the development branch for the implementation.
- Update corresponding readmes after the completion of the development.
- Create a pull request and properly revise all your changes before merging.
- Push into the development branch.
- Upload to staging for testing.
- When the feature is tested and approved on staging, pull you changes to master.
Before deploy change Version in the prestashopgopay.php
, then commit & push. Staging site uses staging branch.
Add a new language on 'Add / Update a language' from tab 'IMPROVE/International/Translations'. On 'Modify translations' choose 'Type of translation: Installed modules translations', 'Select your module: PrestaShop GoPay gateway' and 'Select your language: Language to be translated'. Finally, Click on 'Modify', add the translations and click on 'Save'.