PHPackages                             nabeelcartlow/coinpayment - 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. nabeelcartlow/coinpayment

ActiveLibrary[Payment Processing](/categories/payments)

nabeelcartlow/coinpayment
=========================

CoinPayment is a Laravel module for handling transactions from CoinPayment like creating transactions, history transactions, etc.

v1.3(1y ago)073MITJavaScript

Since Aug 28Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (16)Used By (0)

CoinPayments v3
===============

[](#coinpayments-v3)

[![Latest Stable Version](https://camo.githubusercontent.com/291966d9b802dcedba26812ca2a549e61d438c21147fc4a341c5c6e3bffb3038/68747470733a2f2f706f7365722e707567782e6f72672f686578746572732f636f696e7061796d656e742f762f737461626c65)](https://packagist.org/packages/hexters/coinpayment)[![Total Downloads](https://camo.githubusercontent.com/8d61a31e24c51ac999eaaf6231b3e62f9597df19adaf07856648b666478eaecf/68747470733a2f2f706f7365722e707567782e6f72672f686578746572732f636f696e7061796d656e742f646f776e6c6f616473)](https://packagist.org/packages/hexters/coinpayment)[![License](https://camo.githubusercontent.com/893bd7a736d27daa047af5863aa6060c1d2a992813c0e0d28d0a7f099f3fb94d/68747470733a2f2f706f7365722e707567782e6f72672f686578746572732f636f696e7061796d656e742f6c6963656e7365)](https://packagist.org/packages/hexters/coinpayment)

Coinpayment Laravel Package
---------------------------

[](#coinpayment-laravel-package)

[![Banner](https://camo.githubusercontent.com/6b2a2a7147c2c6c7a11d9989976ff85fede88916d4c34d2d4a839196767049d9/68747470733a2f2f7777772e636f696e7061796d656e74732e6e65742f696d616765732f622f62616e6e6572365f3732387839302d332e6a7067)](https://www.coinpayments.net/index.php?ref=3dc0c5875304cc5cc1d98782c2741cb5)

CoinPayment is a Laravel package for handling transactions from [CoinPayment](https://www.coinpayments.net/index.php?ref=3dc0c5875304cc5cc1d98782c2741cb5) like a create transaction, history transaction, etc.

[![Example Image](https://github.com/hexters/CoinPayment/raw/master/sample/examplev3.png?raw=true)](https://github.com/hexters/CoinPayment/blob/master/sample/examplev3.png?raw=true)

### Version support

[](#version-support)

versionlaravel[v1.1.3](https://github.com/hexters/CoinPayment/releases/tag/v1.1.3)5.6[v2.0.0](https://github.com/hexters/CoinPayment)5.8[v2.0.3](https://github.com/hexters/CoinPayment)6.x[Current Version](https://github.com/hexters/CoinPayment)^8.xInstallation
------------

[](#installation)

You can install this package via composer:

```
$ composer require nabeelcartlow/coinpayment
```

Publishing vendor

```
$ php artisan vendor:publish --tag=coinpayment
```

Install CoinPayment configuration

```
$ php artisan coinpayment:install
```

Installation finish.

Getting Started
---------------

[](#getting-started)

Create Button transaction. Example placed on your controller

```
  use Hexters\CoinPayment\CoinPayment;
  . . .
  /*
  *   @required true
  */
  $transaction['order_id'] = uniqid(); // invoice number
  $transaction['amountTotal'] = (FLOAT) 37.5;
  $transaction['note'] = 'Transaction note';
  $transaction['buyer_name'] = 'Jhone Due';
  $transaction['buyer_email'] = 'buyer@mail.com';
  $transaction['redirect_url'] = url('/back_to_tarnsaction'); // When Transaction was comleted
  $transaction['cancel_url'] = url('/back_to_tarnsaction'); // When user click cancel link

  /*
  *   @required true
  *   @example first item
  */
  $transaction['items'][] = [
    'itemDescription' => 'Product one',
    'itemPrice' => (FLOAT) 7.5, // USD
    'itemQty' => (INT) 1,
    'itemSubtotalAmount' => (FLOAT) 7.5 // USD
  ];

  /*
  *   @example second item
  */
  $transaction['items'][] = [
    'itemDescription' => 'Product two',
    'itemPrice' => (FLOAT) 10, // USD
    'itemQty' => (INT) 1,
    'itemSubtotalAmount' => (FLOAT) 10 // USD
  ];

  /*
  *   @example third item
  */
  $transaction['items'][] = [
    'itemDescription' => 'Product Three',
    'itemPrice' => (FLOAT) 10, // USD
    'itemQty' => (INT) 2,
    'itemSubtotalAmount' => (FLOAT) 20 // USD
  ];

  $transaction['payload'] = [
    'foo' => [
        'bar' => 'baz'
    ]
  ];

  return CoinPayment::generatelink($transaction);
  . . .
```

Listening status transaction
----------------------------

[](#listening-status-transaction)

Open the Job file `App\Jobs\CoinpaymentListener` for the listen the our transaction and proccess

Manual check without IPN
------------------------

[](#manual-check-without-ipn)

This function will execute orders without having to wait for the process from IPN

We can also make cron to run this function if we don't use IPN

```
use Hexters\CoinPayment\CoinPayment;

. . .

/**
* this is triger function for running Job proccess
*/
return CoinPayment::getstatusbytxnid("CPDA4VUGSBHYLXXXXXXXXXXXXXXX");
// output example: "celled / Timed Out"
```

Get histories transaction Eloquent
----------------------------------

[](#get-histories-transaction-eloquent)

```
use Hexters\CoinPayment\CoinPayment;

. . .

CoinPayment::gettransactions()->where('status', 0)->get();
```

IPN Route
=========

[](#ipn-route)

Except this path `/coinpayment/ipn` into csrf proccess in `App\Http\Middleware\VerifyCsrfToken`

```
. . .
/**
  * The URIs that should be excluded from CSRF verification.
  *
  * @var array
  */
protected $except = [
    '/coinpayment/ipn'
];
. . .
```

Promote New Features
====================

[](#promote-new-features)

Now you can integrate you coinpayment transaction with [**Ladmin (Laravel Admin scaffolding)**](https://github.com/hexters/ladmin). You just buy for the package price starting at **$ 36.25** per version.

### What is the features?

[](#what-is-the-features)

- List of the transaction from CoinPayment base on database
- Create new transaction from admin page &amp; send to buyer email
- You can Check status of transaction via admin page manually
- Remove pending transaction
- List of CoinPayment Balance
- Top Up balance
- Easy and quick Installation

For details source visit the pakcage [**Ladmin CoinPayment**](https://ppmarket.org/browse/hexters-ladmin-coinpayment)

[![Preview Plugin](https://github.com/hexters/CoinPayment/raw/master/sample/detail-trx.png?raw=true)](https://github.com/hexters/CoinPayment/blob/master/sample/detail-trx.png?raw=true)

Troubleshooting
===============

[](#troubleshooting)

Cannot use object of type Illuminate\\Http\\JsonResponse as array
-----------------------------------------------------------------

[](#cannot-use-object-of-type-illuminatehttpjsonresponse-as-array)

Visit the [**CoinPayment API Keys**](https://www.coinpayments.net/index.php?cmd=acct_api_keys) page, under *Actions*, click on the *Edit Permissions* button. Enter the IP address of your API endpoint (e.g. your website server) in the *Restrict to IP/IP Range* input. Leaving it empty, may cause this error to occur.

Supporting the project
======================

[](#supporting-the-project)

You can support the maintainer of this project through the referral links below

- [**Sign up for DigitalOcean**](https://www.digitalocean.com/?refcode=36844cd4f4b4&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)
- [**PayPal**](https://paypal.me/asepss19)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.1% 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 ~2 days

Total

15

Last Release

590d ago

### Community

Maintainers

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

---

Top Contributors

[![hexters](https://avatars.githubusercontent.com/u/7827420?v=4)](https://github.com/hexters "hexters (143 commits)")[![nabeelcartlow](https://avatars.githubusercontent.com/u/103023653?v=4)](https://github.com/nabeelcartlow "nabeelcartlow (15 commits)")[![ibrunotome](https://avatars.githubusercontent.com/u/4256471?v=4)](https://github.com/ibrunotome "ibrunotome (5 commits)")[![AVONnadozie](https://avatars.githubusercontent.com/u/10802366?v=4)](https://github.com/AVONnadozie "AVONnadozie (1 commits)")[![evgeny-barinov](https://avatars.githubusercontent.com/u/6264719?v=4)](https://github.com/evgeny-barinov "evgeny-barinov (1 commits)")[![h3xexe](https://avatars.githubusercontent.com/u/8706775?v=4)](https://github.com/h3xexe "h3xexe (1 commits)")

---

Tags

laravelbitcoincryptocurrencypayment gatewayCoinpayment

### Embed Badge

![Health badge](/badges/nabeelcartlow-coinpayment/health.svg)

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

###  Alternatives

[hexters/coinpayment

CoinPayment is a Laravel module for handling transactions from CoinPayment like a create transaction, history transaction, etc.

7058.0k](/packages/hexters-coinpayment)[victorybiz/laravel-crypto-payment-gateway

GoUrl.io Crypto Payment Gateway for Laravel

642.5k](/packages/victorybiz-laravel-crypto-payment-gateway)[luigel/laravel-paymongo

A laravel wrapper for Paymongo API

7956.2k1](/packages/luigel-laravel-paymongo)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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