PHPackages                             parceladousa/gateway - 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. parceladousa/gateway

ActiveLibrary

parceladousa/gateway
====================

Package to assist in payment integration with ParceladoUSA

1.0.4(3y ago)0169↓100%MITPHPPHP &gt;=7.2

Since Oct 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ParceladoUSA/gateway)[ Packagist](https://packagist.org/packages/parceladousa/gateway)[ RSS](/packages/parceladousa-gateway/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

Gateway ParceladoUSA
====================

[](#gateway-parceladousa)

This package was developed to facilitate integration with ParceladoUSA new API via PHP.

Installation
------------

[](#installation)

Gateway ParceladoUSA is available via Composer:

```
"parceladousa/gateway": "1.0.*"
```

or run

```
composer require parceladousa/gateway
```

Documentation
-------------

[](#documentation)

### Details of Construct:

[](#details-of-construct)

#### The construct has 4 parameters mandatory:

[](#the-construct-has-4-parameters-mandatory)

1° pubKey - API Key;
2° merchantCode - Account code with ParceladoUSA;
3° environment - Type of environment where the integration will be performed, ParceladoUSA::SANDBOX or ParceladoUSA::PRODUCTION;
4° callback - URL Where the payment status must be informed.

#### OBS.: The callback route is used to redirect the paying customer to your environment, a parameter will be added to it after the address provided which is the order ID

[](#obs-the-callback-route-is-used-to-redirect-the-paying-customer-to-your-environment-a-parameter-will-be-added-to-it-after-the-address-provided-which-is-the-order-id)

### Construct:

[](#construct)

```
