blokbay / module-crypto-tickets
Decentralized Crypto Payment Gateway. Crypto event tickets for Magento 2 and Adobe Commerce by Blokbay, a decentralized crypto payment gateway: sell tickets in USDT and USDC and split each sale between organizer, venue and partners.
Package info
github.com/blokbay/magento2-crypto-tickets
Type:magento2-module
pkg:composer/blokbay/module-crypto-tickets
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-catalog: ^104.0.6
- magento/module-config: ^101.2.6
- magento/module-eav: ^102.1.6
- magento/module-payment: ^100.4.6
- magento/module-quote: ^101.2.6
- magento/module-sales: ^103.0.6
- magento/module-store: ^101.1.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-12-03 00:51:07 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
Sell event tickets in crypto and split each payment automatically between the organizer, the venue and other partners: up to 7 wallets per payment, including the main one. Every wallet receives its share in the same blockchain transaction, the moment the buyer pays; Blokbay never holds the funds, no documents are needed and the fee is a fixed 1% per payment, withheld from every wallet in proportion.
Package blokbay/module-crypto-tickets, module Blokbay_Tickets, license MIT (see LICENSE.txt). Requires the Blokbay payment module blokbay/module-payment (1.2 or later): the split is added to its payments and checked on its webhook.
Install
Composer: composer require blokbay/module-crypto-tickets, or copy this folder to app/code/Blokbay/Tickets (with Blokbay/Payment next to it). Then bin/magento module:enable Blokbay_Tickets, 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). The automatic split must be active on your Blokbay account.
- Stores > Configuration > Blokbay > Crypto tickets and revenue split: main wallet of the store (EVM address, checked with the EIP-55 checksum), its name, and what to do with an order that cannot be split (accept it as a normal payment, or hide crypto payment for that cart).
- Edit the ticket product, group Blokbay Crypto Ticket Split: Event ticket (counted in the summary), event name (products with the same event are added up), organizer name and wallet (empty = main wallet), partners, one per line:
Venue | 0xAbC... | 30. Up to 6 partners; every wallet is checked (EIP-55, no duplicates), shares below 100% that add up to 100% at most; the organizer gets the rest.
How it works
- At checkout the payment is created with the
splitfield: same shares, rounding (largest remainder) and fee as the Blokbay service; shipping and fees go to the main wallet; the wallet that gets the most receives the rest. Split payments are made in USDC or USDT on EVM networks. - Fallback: if the account answers
split_unavailable(remembered for one hour), or the order is below 10 USD, a share is below 1 USD or more than 7 wallets are needed, the payment goes in full to the wallet of the account and the order gets a comment with the parts to pay by hand. - The webhook of the payment module invoices the order only if the paid wallets and amounts are exactly those of the plan.
- Reports > Sales > Crypto tickets and revenue split: by event, tickets sold, orders, revenue and the part of each wallet, paid on payment or to pay yourself.
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 orders on your site can also be marked as paid without any payment. Turn it off before you go back to real sales.
Test mode does not cover orders split between several wallets: those are always real payments. To try the split itself, make a small real order.
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.