PHPackages                             oveland/placetopay - 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. oveland/placetopay

ActiveLibrary

oveland/placetopay
==================

PHP library to make a basic test pay with PlaceToPay

1.2.0(9y ago)145MITPHP

Since Dec 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/oveland/placetopay)[ Packagist](https://packagist.org/packages/oveland/placetopay)[ RSS](/packages/oveland-placetopay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Oveland PlaceToPay Library
==========================

[](#oveland-placetopay-library)

---

####  **Installation**

[](#-installation)

Install via composer

> *$ composer require oveland/placetopay*

Or include on composer.json file:

```
"require": {
	"oveland/placetopay": "^1.0"
}

```

####  **How to use**

[](#-how-to-use)

```
use Oveland\Placetopay\PlaceToPay;

...

$params = [
    'payer' => [
        'documentType' => 'CC',
        'document' => '1061743074',
        'firstName' => 'Oscar',
        'lastName' => 'Velásquez Andrade',
        'company' => 'Oveland',
        'emailAddress' => 'oscarivelan@gmail.co',
        'address' => 'Cra 10 23 N 55',
        'city' => 'Popayán',
        'province' => 'Cauca',
        'country' => 'CO',
        'phone' => 'null',
        'mobile' => '3145224313'
    ],
    'buyer' => null,
    'shipping' => null,
    'bank' => [
        'bankCode' => 1022,
        'bankInterface' => 0,
        'returnURL' => 'http://oveland.placetopay/',
        'reference' => uniqid(rand(), true),
        'description' => 'Pago Básico Oveland',
        'language' => 'ES',
        'currency' => 'COP',
        'totalAmount' => 10,
        'taxAmount' => 0,
        'devolutionBase' => 0,
        'tipAmount' => 0
    ],
    'additionalData' => [
        [
            'name' => 'foo',
            'value' => 'bar'
        ],
        [
            'name' => 'foo_1',
            'value' => 'bar_1'
        ]
    ]
];

$placetopay = new PlaceToPay();

$transaction = $placetopay->createTransaction($params);
$status = $placetopay->getTransactionInformation($transaction->getTransactionID());

```

####  **Methods**

[](#-methods)

> **Bank List**:

> Get array of bank list: `$placetopay->getBankList(); `

---

> **Transaction**:

> Get return code: `$transaction->getReturnCode(); `

> Get bank url redirect: `$transaction->getBankURL(); `

> Get trazability code: `$transaction->getTrazabilityCode(); `

> Get transaction cycle: `$transaction->getTransactionCycle(); `

> Get transaction ID: `$transaction->getTransactionID(); `

> Get session ID: `$transaction->getSessionID(); `

> Get bank currency: `$transaction->getBankCurrency(); `

> Get bank factor: `$transaction->getBankFactor(); `

> Get response code: `$transaction->getResponseCode(); `

> Get response reason code: `$transaction->getResponseReasonCode(); `

> Get response reason text: `$transaction->getResponseReasonText(); `

> Get array of all data: `$transaction->getData(); `

---

> **Status**:

> Get transaction ID: `$status->getTransactionID(); `

> Get session ID: `$status->getSessionID(); `

> Get reference: `$status->getReference(); `

> Get request date: `$status->getRequestDate(); `

> Get trazability code: `$status->getTrazabilityCode(); `

> Get bank process date: `$status->getBankProcessDate(); `

> Get bank on test: `$status->getOnTest(); `

> Get return code: `$status->getReturnCode(); `

> Get trazability code: `$status->getTrazabilityCode(); `

> Get transaction cycle: `$status->getTransactionCycle(); `

> Get transaction state: `$status->getTransactionState(); `

> Get response code: `$status->getResponseCode(); `

> Get response reason code: `$status->getResponseReasonCode(); `

> Get response reason text: `$status->getResponseReasonText(); `

> Get array of all data: `$status->getData(); `

####  **Example**

[](#-example)

> See [Laravel project that implements the PlaceToPay Library](https://github.com/oveland/clientPlaceToPay).

> Please try the [Live demo](http://oveland.herokuapp.com/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

5

Last Release

3421d ago

Major Versions

0.1 → 1.02016-12-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/09c587a226bccd700f2b45e23d3baee490fc76782f00fa65176fb4010328551c?d=identicon)[oveland](/maintainers/oveland)

---

Top Contributors

[![oveland](https://avatars.githubusercontent.com/u/8990029?v=4)](https://github.com/oveland "oveland (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oveland-placetopay/health.svg)

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

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[getkirby/cms

The Kirby core

1.5k535.5k350](/packages/getkirby-cms)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[bowphp/framework

The bow PHP Framework

6015.5k8](/packages/bowphp-framework)

PHPackages © 2026

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