PHPackages                             phuongdev89/omnipay-coinbase-commerce - 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. phuongdev89/omnipay-coinbase-commerce

ActiveLibrary

phuongdev89/omnipay-coinbase-commerce
=====================================

Coinbase Commerce driver for the Omnipay payment processing library

062PHP

Since Jan 10Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Coinbase Commerce
==========================

[](#omnipay-coinbase-commerce)

**Coinbase Commerce driver for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/omnipay/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Coinbase Commerce support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
	"require" : {
		"phuongdev89/omnipay-coinbase-commerce" : "@dev"
	}
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

Basic Usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- Payssion

For general usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)repository.

Example
-------

[](#example)

### Create a transaction

[](#create-a-transaction)

```
$gateway = Omnipay::create(Gateway::NAME);
$gateway->initialize(array(
    'api_key' => '',
    'timeout' => 30,
));
$response = $gateway->purchase([
    'name'                 => 'Payment',
    'description'          => 'Payment description',
    'pricing_type'         => 'fixed_price',
    'local_price_amount'   => 10,
    'local_price_currency' => 'USD',
])->send();
if ($response->isSuccessful() && $response->isRedirect()) {
    return $response->getRedirectUrl();
}
```

### Verify purchase

[](#verify-purchase)

```
$gateway = Omnipay::create(Gateway::NAME);
$gateway->initialize(array(
    'api_key' => '',
    'timeout' => 30,
));
$response = $gateway->completePurchase([
    'code' => '',//todo charge Id
])->send();
if ($response->isSuccessful()) {
    //todo complete payment
}
```

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/phuongdev89/omnipay-coinbase-commerce/issues), or better yet, fork the library and submit a pull request.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/phuongdev89-omnipay-coinbase-commerce/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-omnipay-coinbase-commerce/health.svg)](https://phpackages.com/packages/phuongdev89-omnipay-coinbase-commerce)
```

PHPackages © 2026

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