PHPackages                             placetopay/magento2-module-payments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. placetopay/magento2-module-payments

ActiveMagento2-module[Payment Processing](/categories/payments)

placetopay/magento2-module-payments
===================================

Shared component for accepting online payments in Magento 2 using the PlacetoPay payment gateway.

2.1.0(4mo ago)18.9k↓15.4%1OSL-3.0PHPPHP &gt;=7.4

Since Nov 20Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/placetopay-org/magento2-placetopay)[ Packagist](https://packagist.org/packages/placetopay/magento2-module-payments)[ RSS](/packages/placetopay-magento2-module-payments/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (8)Versions (51)Used By (0)

Magento 2 Gateway to PlacetoPay
===============================

[](#magento-2-gateway-to-placetopay)

[PlacetoPay](https://www.placetopay.com) Plugin Payment for [Magento 2](https://magento.com) Stable

For more information about the component and the functionalities it offers, visit the following link **[Magento-Placetopay](https://placetopay.dev/plugins/magento)**.

Prerequisites
-------------

[](#prerequisites)

- `php` ^7.4
- `ext-bcmath`
- `ext-ctype`
- `ext-curl`
- `ext-gd`
- `ext-hash`
- `ext-iconv`
- `ext-intl`
- `ext-mbstring`
- `ext-openssl`
- `ext-pdo_mysql`
- `ext-xml`
- `ext-soap`
- `ext-spl`
- `ext-xsl`
- `ext-zip`
- `lib-libxml`
- `composer` @latest
- `database`
    - `MySQL` 5.7
    - `MariaDB` 10.\*
- `web server`
    - `apache` 2.2 or 2.4 with mod\_rewrite and mod\_versions
    - `nginx` 1.\*

Compatibility Version
---------------------

[](#compatibility-version)

MagentoPluginComments2.4.4+~2.1.0From 2.1.x> Note: Plugin 2.1.x requires Magento 2.4.4+ and PHP 7.4+. Earlier versions are not supported.

View releases [here](https://github.com/placetopay-org/magento2-placetopay/releases)

Manual Installation
-------------------

[](#manual-installation)

Create `PlacetoPay\Payments` folder (this is required, with this name)

```
mkdir /var/www/html/app/code/PlacetoPay/Payments
```

Clone Project in modules

```
git clone https://github.com/placetopay-org/magento2-placetopay.git /var/www/html/app/code/PlacetoPay/Payments
```

Set permissions and install dependencies with composer

```
cd /var/www/html \
    && composer require alejociro/redirection \
    && cd app/code/PlacetoPay/Payments \
    && sudo setfacl -dR -m u:www-data:rwX -m u:`whoami`:rwX `pwd` \
    && sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX `pwd`
```

Set up the module by running the following commands:

```
cd /var/www/html \
    && bin/magento setup:upgrade \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

If you run Magento in production mode, you also must compile and deploy the module’s static files:

```
cd /var/www/html \
    && bin/magento setup:upgrade \
    && bin/magento setup:di:compile \
    && bin/magento setup:static-content:deploy \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

If for some reasons, the language not show in spanish, run these commands:

```
cd /var/www/html \
    && bin/magento setup:static-content:deploy es_ES \
    && bin/magento setup:static-content:deploy es_CO \
    && bin/magento setup:static-content:deploy -f \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

Composer Installation
---------------------

[](#composer-installation)

Set up the module by running the following commands:

```
cd /var/www/html \
    && composer require placetopay/magento2-module-payments \
    && bin/magento module:enable PlacetoPay_Payments --clear-static-content \
    && bin/magento setup:upgrade \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

If you run Magento in production mode, you also must compile and deploy the module’s static files:

```
cd /var/www/html \
    && bin/magento setup:di:compile \
    && bin/magento setup:static-content:deploy \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

If for some reasons, the language not show in spanish, run these commands:

```
cd /var/www/html \
    && bin/magento setup:static-content:deploy es_ES \
    && bin/magento setup:static-content:deploy es_CO \
    && bin/magento setup:static-content:deploy -f \
    && bin/magento cache:flush \
    && bin/magento cache:clean
```

Docker Installation
-------------------

[](#docker-installation)

First, you must edit the auth.json, follow the next instructions:

```
cd /path/to/magento/.docker/magento-{version}
cp auth.json.example auth.json
```

For install magento 2, just exec this command in terminal, make sure you can execute make commands

```
cd /var/www/html/
make build-magento-{version}
```

Then... (Please wait few minutes, while install ALL and load Apache :D to continue), you can go to

- [store](http://localhost)
- [admin](http://localhost/admin)

If you want, go to /etc/hosts file and add the next line:

```
sudo vim /etc/hosts
add -> 127.0.0.1 magento.test
```

**Magento 2 Admin Access**

- user:
- password: Admin12\*

**MySQL Access**

- user: root
- password: root
- database: magento

See details in `docker-compose.yml` file or run `make config` command

if you wat to change the users and passwords, edit the env file.

### Customize docker installation

[](#customize-docker-installation)

Default versions

- Magento: 2.4.4 (minimum supported)
- PHP: 7.4 (minimum supported)
- MySQL: 5.6.23

You can change versions in `.docker/Dockerfile`

```
MAGENTO_VERSION
```

If you find an error in the docker installation process, you must verify and update the github-oauth in auth.json, to do so, you must log in your github personal account and go to the settings, then click on the developer settings option and generate a personal access token.

Quality
-------

[](#quality)

During package development I try as best as possible to embrace good design and development practices, to help ensure that this package is as good as it can be. My checklist for package development includes:

- Be fully [PSR1](https://www.php-fig.org/psr/psr-1/), [PSR2](https://www.php-fig.org/psr/psr-2/), and [PSR4](https://www.php-fig.org/psr/psr-1/) compliant.
- Include comprehensive documentation in README.md.
- Provide an up-to-date CHANGELOG.md which adheres to the format outlined at [keepachangelog](https://keepachangelog.com).
- Have no [phpcs](http://pear.php.net/package/PHP_CodeSniffer) warnings throughout all code, use `composer test` command.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance77

Regular maintenance activity

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~121 days

Total

49

Last Release

126d ago

Major Versions

1.12.2 → 2.0.02026-02-07

PHP version history (6 changes)1.0.0PHP ~7.1.3||~7.3.10

1.2.0PHP ^7.1

1.3.0PHP &gt;=7.0

1.8.8PHP &gt;=7.3

1.9.0PHP &gt;=7.2

2.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/188a6d118a8949533ff4154931c90b50f20e0fdebfb98831fd215a50430cfa67?d=identicon)[placetopay](/maintainers/placetopay)

---

Top Contributors

[![freddiegar](https://avatars.githubusercontent.com/u/8710491?v=4)](https://github.com/freddiegar "freddiegar (98 commits)")[![sgodoy17](https://avatars.githubusercontent.com/u/9864705?v=4)](https://github.com/sgodoy17 "sgodoy17 (78 commits)")[![alejociro](https://avatars.githubusercontent.com/u/66333830?v=4)](https://github.com/alejociro "alejociro (29 commits)")[![dnetix](https://avatars.githubusercontent.com/u/4644865?v=4)](https://github.com/dnetix "dnetix (3 commits)")

---

Tags

ecommercemagentomagento2magento2-extensionmagento2-module

### Embed Badge

![Health badge](/badges/placetopay-magento2-module-payments/health.svg)

```
[![Health](https://phpackages.com/badges/placetopay-magento2-module-payments/health.svg)](https://phpackages.com/packages/placetopay-magento2-module-payments)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
