PHPackages                             decred/decred-magento-plugin - 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. [API Development](/categories/api)
4. /
5. decred/decred-magento-plugin

ActiveMagento2-module[API Development](/categories/api)

decred/decred-magento-plugin
============================

1.0.0(8y ago)473[1 issues](https://github.com/decred/decred-magento-plugin/issues)[2 PRs](https://github.com/decred/decred-magento-plugin/pulls)ISCPHPPHP ~5.6.0|~7.0.0|~7.1.0

Since Mar 13Pushed 6y ago6 watchersCompare

[ Source](https://github.com/decred/decred-magento-plugin)[ Packagist](https://packagist.org/packages/decred/decred-magento-plugin)[ RSS](/packages/decred-decred-magento-plugin/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Magento Decred Payments
=======================

[](#magento-decred-payments)

Magento module, integrates [Decred](https://decred.org) autonomous currency into magento payments.

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

[](#installation)

To install package extend your `composer.json` with new module:

```
composer require decred/decred-magento-plugin

```

Enable new extension:

```
php bin/magento module:enable Decred_Payments --clear-static-content

```

Then run next commands to setup new module:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Read more about how to install magento extensions [here](http://devdocs.magento.com/guides/v2.2/comp-mgr/install-extensions.html)

Configurations
--------------

[](#configurations)

Decred payment method settings located at `Stores -> Configurations -> Sales -> Payment Methods -> Decred Payments`

### Enabled

[](#enabled)

Enables decred payment method. New payment method available on checkout.

**Ensure to set "Master public key" before setting this config to "Yes".**

### Master public key

[](#master-public-key)

In order to receive payments extension need to know your extended public key, from this key new payment addresses will be generated. Master public key derived from HD chain by path `m/44'/42'/0'`. Payment address will be derived by for branch 0 with and index is order id: `m/44'/42'/0'/0/{incremental_order_id}` see [BIP44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki).

Example: `dpubZH8DiRuE9MyB5rBGmoz3UuQSmTHWKGCQWDs9Jkx73FZuQr1QLTdU9uuwPRbEgEnMYriY9SUr4XshamuoXZC121HVqPXBSFvE57gG9pZd2Ts`

To get it from command line:

```
dcrctl --wallet getmasterpubkey [default]

```

If you activate plugin for old store you should make sure your wallet software can find payment addresses.

In `dcrwallet` command you can increase addresses index gap with `--addridxscanlen` option.

So for old store this address index can be big as first Decred payment `incremental_order_id`.

```
dcrwallet --addridxscanlen {first_incremental_order_id}

```

### Title

[](#title)

Title displayed on checkout payment method select. Default: Decred

### Confirmations to wait

[](#confirmations-to-wait)

How many confirmations should be on transaction to make it success. Default: 3

### Show refund address?

[](#show-refund-address)

You can hide refund address input on checkout by setting "No". Default: "Yes"

### Make refund address optional?

[](#make-refund-address-optional)

By changing setting to "No" you require your customers to fill in refund address. Default: "Yes"

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

3030d ago

### Community

Maintainers

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

---

Top Contributors

[![dajohi](https://avatars.githubusercontent.com/u/3308193?v=4)](https://github.com/dajohi "dajohi (3 commits)")[![R3VoLuT1OneR](https://avatars.githubusercontent.com/u/1111188?v=4)](https://github.com/R3VoLuT1OneR "R3VoLuT1OneR (3 commits)")

---

Tags

apibitcoincryptocurrencydcrdecredmagentopaymentsphpstorefrontcryptobitcoinmagento2payment methoddecreddcr

### Embed Badge

![Health badge](/badges/decred-decred-magento-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/decred-decred-magento-plugin/health.svg)](https://phpackages.com/packages/decred-decred-magento-plugin)
```

###  Alternatives

[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

56129.9k](/packages/coinpaymentsnet-coinpayments-php)[mollie/magento2

Mollie Payment Module for Magento 2

1121.8M12](/packages/mollie-magento2)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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