PHPackages                             mprince/kiplepay - 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. mprince/kiplepay

ActiveLibrary[Payment Processing](/categories/payments)

mprince/kiplepay
================

The SDK mainly shows how to access the kiplepay gateway.

11PHP

Since Oct 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mprince2k18/test-kiplepay-php-sdk)[ Packagist](https://packagist.org/packages/mprince/kiplepay)[ RSS](/packages/mprince-kiplepay/feed)WikiDiscussions main Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 KiplePay PHP SDK
==================

[](#-kiplepay-php-sdk-)

The SDK mainly shows how to access the kiplepay gateway (only for WaaS customers).

Installing
----------

[](#installing)

```
$ composer require mprince/kiplepay
```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/m2c/kiplepay-php-sdk/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/m2c/kiplepay-php-sdk/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

Documents
---------

[](#documents)

[documents](http://sdks.kiplepay.com)

Errors
------

[](#errors)

If an error occurs while calling the associated gateway, That will thrown some errors `GatewayException`,`InvalidSignException`, etc. We can review the details of the error by `$e->getMessage()`，at the same time, is also available through `$e->raw` Look at the raw data returned after calling the API, That raw data was an array.

All Exceptions
--------------

[](#all-exceptions)

- Greenpacket\\KiplePay\\Exceptions\\InvalidGatewayException ，Means that the payment gateway supported by the SDK is used.
- Greenpacket\\KiplePay\\Exceptions\\InvalidSignException ，Means that the Sign failed.
- Greenpacket\\KiplePay\\Exceptions\\InvalidConfigException ，Means that the configuration parameters are missing.for example: `public_key`, `private_key`, etc.
- Greenpacket\\KiplePay\\Exceptions\\GatewayException ，Represents the abnormal result of data returned by gateway server, for example: parameter error, non-existence of statement, etc.

Usage
-----

[](#usage)

```
