PHPackages                             tresorg/cakephp-paypalbuttons - 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. [Database &amp; ORM](/categories/database)
4. /
5. tresorg/cakephp-paypalbuttons

AbandonedArchivedCakephp-plugin[Database &amp; ORM](/categories/database)

tresorg/cakephp-paypalbuttons
=============================

CakePHP webservice implementation for PaypalButtons

0.0.4(7y ago)2302MITPHP

Since Apr 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/tresorg/cakephp-paypalbuttons)[ Packagist](https://packagist.org/packages/tresorg/cakephp-paypalbuttons)[ RSS](/packages/tresorg-cakephp-paypalbuttons/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (6)Used By (0)

PaypalButtons plugin
====================

[](#paypalbuttons-plugin)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

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

[](#installation)

Install the plugin with composer

```
$ composer require tresorg/cakephp-paypalbuttons

```

Manual install is discouraged but you can check the composer.json file for package requirements.

Add the following configuration to Datasources in your `config/app.php` file.

```
'Datasources' => [
   ...
   'paypal_buttons' => [
      'className' => 'Muffin\Webservice\Connection',
      'service' => 'Tresorg/PaypalButtons.PaypalButtons',
      'endpoint' => 'https://api-3t.paypal.com/nvp',
      'credentials' => [
         'USER'      => 'paypal.username',
         'PWD'       => 'pass***word',
         'SIGNATURE' => 'your-signature-here-012345678900123456789001234567890',
         'VERSION'   => 94,
      ],
      // these options can be overridden upon button creation, per button
      'defaults' => [
         'notify_url'   => 'http://exmpl.com/ipn.php',      // IPN calls get called here
         'return'       => 'http://exmpl.com/thanks.php',   // Successful Sales Page
         'cancel_return'=> 'http://exmpl.com/tryagain.php', // Unsuccessful Sale URL
      ],
   ],
],

```

Usage
-----

[](#usage)

If you are loading this plugin from within an object that is not a CakePHP Controller or Shell, use the `ModelAwareTrait` in your class to get the methods: `modelFactory` &amp; `loadModel`.

```
// use the Muffin Webservice
$this->modelFactory('Endpoint', ['Muffin\Webservice\Model\EndpointRegistry', 'get']);
// load your remote Webservice:
$paypalButtonsRemoteWebservice = $this->loadModel('PaypalButtons.PaypalButtons', 'Endpoint');
// sends the data to paypal
subscription = $this->PaypalButtonsRemote->save( new Entity([
   'item_number' => 'yourInventoryNumber',
   'item_name' => 'MyCoolProductName',
   'price' => 9.99,
   'subscription_type' => 'M', //monthly subscription
   'subscription_recurring' => '1', //recurring subscription
]));
// receive the paypal button ID add it to your form, etc
$buttonId = $buttonCreated->id;

```

Contribute
----------

[](#contribute)

This Plugin works great with all currencies, subscriptions, trial periods. Shipping is not implemented yet.

Feel free to contribute, fork and PR.

🍺

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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 ~166 days

Total

5

Last Release

2700d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3214697?v=4)[visualex](/maintainers/visualex)[@visualex](https://github.com/visualex)

---

Top Contributors

[![visualex](https://avatars.githubusercontent.com/u/3214697?v=4)](https://github.com/visualex "visualex (11 commits)")[![voidesc](https://avatars.githubusercontent.com/u/5959870?v=4)](https://github.com/voidesc "voidesc (2 commits)")[![FraGoTe](https://avatars.githubusercontent.com/u/1095778?v=4)](https://github.com/FraGoTe "FraGoTe (1 commits)")

---

Tags

cakephpormpaypalphpplugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tresorg-cakephp-paypalbuttons/health.svg)

```
[![Health](https://phpackages.com/badges/tresorg-cakephp-paypalbuttons/health.svg)](https://phpackages.com/packages/tresorg-cakephp-paypalbuttons)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[aliyun/aliyun-tablestore-sdk-php

Aliyun Tablestore SDK for PHP

30100.6k3](/packages/aliyun-aliyun-tablestore-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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