Crypto payments for Magento 2
A Magento 2 module that creates the invoice server-side from a controller, redirects to a hosted crypto checkout, and invoices the order only after the webhook signature verifies.
Is this for you
Why Magento 2 merchants pick this
- Supported versions
- Magento Open Source 2.4.x (PHP 7.4 / 8.1+)
- Settlement
- Auto-forwarded to your own payout address
- Onboarding
- Email address + payout address
- Fee
- 1.00% → 0.10%
Mechanics
What changes inside Magento 2
- Webhook endpointhttps:
/ / yourstore/ receivify/ webhook - Signature verified
- Event recordedreceivify_
webhook_ event - Order paid#1042
| In Magento 2 | |
|---|---|
| Where it appears | Stores → Configuration → Sales → Payment Methods → Receivify, shown as “Bitcoin & crypto (Receivify)”. |
| Order lifecycle | Place Order creates a pending_payment order, then the invoice, then hosted checkout. |
| Key handling | The API key never reaches the browser; invoices are created on the server. |
| Webhook endpoint | https://yourstore/receivify/webhook, routed through etc/frontend/routes.xml. |
| Duplicate protection | Each (event, sequence) pair is recorded first, so a retry cannot double-invoice. |
| Deployment | Runs module:enable, setup:upgrade, setup:di:compile and static-content:deploy, like any module. |
- Where it appears
- Stores → Configuration → Sales → Payment Methods → Receivify, shown as “Bitcoin & crypto (Receivify)”.
- Order lifecycle
- Place Order creates a pending_payment order, then the invoice, then hosted checkout.
- Key handling
- The API key never reaches the browser; invoices are created on the server.
- Webhook endpoint
- https://yourstore/receivify/webhook, routed through etc/frontend/routes.xml.
- Duplicate protection
- Each (event, sequence) pair is recorded first, so a retry cannot double-invoice.
- Deployment
- Runs module:enable, setup:upgrade, setup:di:compile and static-content:deploy, like any module.
Read this before you install
Open Source 2.4.x is what it targets. Adobe Commerce will very likely work and is not what it is tested against.
Multi-store setups share the configuration scope the module is set at — check the scope before you assume each store view is independent.
No refund flow, and Magento merchants feel this more than most because Magento's own credit-memo workflow is good. A crypto refund is a payout you send manually.
$rcv = new Receivify(
'https://receivify.io',
$apiKey,
['webhook_secrets' => [$webhookSecret]]
);
if (!$rcv->verifyWebhook(
$rawBody,
$_SERVER['HTTP_X_RECEIVIFY_SIGNATURE'] ?? ''
)) {
http_response_code(401); exit;
}
$event = json_decode($rawBody, true);
// At-least-once: de-duplicate on (event, sequence).
if ($event['event'] === 'invoice.paid') {
// mark order #{$event['data']['reference']} paid
}Other carts
Not on this one?
Take your first Magento 2 order.
Save a payout address, install the module, and place a test order.