blokbay / module-crypto-donations
Decentralized Crypto Payment Gateway. Crypto donations for Magento 2 and Adobe Commerce by Blokbay, a decentralized crypto payment gateway: accept USDT, USDC, ETH, BTC and SOL straight to your own wallet.
Package info
github.com/blokbay/magento2-crypto-donations
Type:magento2-module
pkg:composer/blokbay/module-crypto-donations
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- blokbay/module-payment: ^1.3
- magento/framework: ^103.0.6
- magento/module-backend: ^102.0.6
- magento/module-config: ^101.2.6
- magento/module-store: ^101.1.6
- magento/module-ui: ^101.2.6
- magento/module-widget: ^101.2.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-12-03 00:55:45 UTC
README
Decentralized crypto payment gateway by Blokbay: non-custodial, each payment is settled on the blockchain and goes straight to your own wallet, never to a Blokbay wallet. The 1% fee is withheld in the same transaction.
All Blokbay crypto payment plugins and guides: https://blokbay.com/crypto-payment-gateway#plugins
Accept donations in crypto from your Magento store: USDT, USDC, ETH, BTC and SOL. The donation arrives in your wallet the moment it is paid; Blokbay never holds the funds, no documents are needed and the fee is a fixed 1% per donation, with no monthly cost.
Package blokbay/module-crypto-donations, module Blokbay_Donations, license MIT (see LICENSE.txt). Requires the Blokbay payment module blokbay/module-payment (1.2 or later), which holds the keys and the webhook.
Install
Composer: composer require blokbay/module-crypto-donations, or copy this folder to app/code/Blokbay/Donations (with Blokbay/Payment next to it). Then bin/magento module:enable Blokbay_Donations, setup:upgrade, setup:di:compile, cache:flush.
Configure
- Connect your store in the payment method Crypto (Blokbay) with one click (Connect with Blokbay, or the wallet-only start; keys and webhook URL are set up for you, or paste them by hand under Advanced settings). One webhook URL serves all Blokbay modules.
- Stores > Configuration > Blokbay > Crypto donations: enable, title, text, button, suggested amounts (up to 8), custom amount with minimum and maximum, purposes (one per line), thank-you message. Amounts are in the base currency of the store (USD, EUR, GBP, CHF, JPY, CAD, AUD, SGD, HKD or AED).
- The form is on the page
/blokbaydonate; add it to any CMS page or block with the widget Blokbay crypto donation form (its own title, amounts and purposes).
How it works
- The settings of each form (currency, amounts, custom amount, purposes) are signed: the donor only sends the index of an amount or a custom amount checked against the minimum and maximum, so amounts cannot be changed in the page. Form key and a light limit per address.
- The donor chooses coin and network on the Blokbay payment page, then comes back to the thank-you page; if the webhook is late, the page asks the API.
- Donation payments use references
DON-...and the webhook of the payment module. - Sales > Crypto donations: amount, purpose, donor, optional email and message, coin, network, transaction; filters and CSV export.
Test mode
In the Blokbay dashboard (Payments on your site) turn on Test mode. It is off by default and turns off on its own after 24 hours. While it is on, the payments your site creates are test payments: the payment page says TEST, shows no address or QR code and has a "Simulate payment" button, which sends your site the usual payment.paid webhook with "test": true. No money moves and no fee is charged.
Warning: while test mode is on, real donations on your site can also be completed without any payment. Turn it off before you go back to real sales.
A real payment of 1 USD with USDC on Polygon or Base also stays available, for a few cents of network fee.
Changelog
- 1.1.0: Blokbay account status (keys, wallet, payment notifications, last payment) at the top of the settings, with a link to the "Crypto (Blokbay)" payment method where "Connect with Blokbay" (or the wallet-only start) is done once for the whole store; requires the Blokbay payment module 1.3.
- 1.0.0: first version.