PHPackages                             lipichang/payssion - 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. lipichang/payssion

ActiveLibrary[Payment Processing](/categories/payments)

lipichang/payssion
==================

v2.0(3y ago)029MITPHPPHP &gt;=5.3

Since Jul 19Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

payssion-php
============

[](#payssion-php)

\##Prerequisites

- PHP 5.3 or above
- curl, json &amp; openssl extensions must be enabled

\##Usage

```
$payssion = new PayssionClient('your api key', 'your secretkey');
//please uncomment the following if you use sandbox api_key
//$payssion = new PayssionClient('your api key', 'your secretkey', false);

$response = null;
try {
	$response = $payssion->create(array(
			'amount' => 1,
			'currency' => 'USD',
			'pm_id' => 'alipay_cn',
			'order_id' => 'your order id',      //your order id
			'return_url' => 'your return url'   //optional, the return url after payments (for both of paid and non-paid)
	));
} catch (Exception $e) {
	//handle exception
	echo "Exception: " . $e->getMessage();
}

if ($payssion->isSuccess()) {
	//handle success
} else {
	//handle failed
}
```

```
//Refunds
$payssion = new PayssionClient('your api key', 'your secretkey');
//please uncomment the following if you use sandbox api_key
//$payssion = new PayssionClient('your api key', 'your secretkey', false);

$response = null;
try {
     $payssion->setOrgUrl(true);
     //please uncomment the following if you use sandbox
    //$payssion->setOrgUrl(false);
	$response = $payssion->refunds(array(
			'amount' => 1,
			'currency' => 'USD',
			'transaction_id' => 'your transactoin id',
	));
} catch (Exception $e) {
	//handle exception
	echo "Exception: " . $e->getMessage();
}
```

PAYSSION PHP library

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1394d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aae9de22c43fce7e69d05a61cdf02eacca0f6787f0e9ac0aa415510b17f68065?d=identicon)[lipichang](/maintainers/lipichang)

---

Top Contributors

[![lipichang](https://avatars.githubusercontent.com/u/5976690?v=4)](https://github.com/lipichang "lipichang (13 commits)")

### Embed Badge

![Health badge](/badges/lipichang-payssion/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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