
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
medusa-payment-deropay
Advanced tools
DeroPay payment provider for Medusa.js v2 — accept DERO payments in your Medusa store.
DeroPay payment provider for Medusa.js v2 — accept DERO payments in your self-hosted store.
Before installing the plugin you need two things running:
3080.Medusa v2 projects are monorepos with an apps/backend/ directory. Install the plugin inside the backend workspace:
# From your project root
cd apps/backend
npm install medusa-payment-deropay
# or
bun add medusa-payment-deropay
Edit apps/backend/medusa-config.ts to register the provider:
import { loadEnv, defineConfig } from "@medusajs/framework/utils";
loadEnv(process.env.NODE_ENV || "development", process.cwd());
module.exports = defineConfig({
projectConfig: {
// ... your existing config
},
modules: [
{
resolve: "@medusajs/medusa/payment",
options: {
providers: [
{
resolve: "medusa-payment-deropay",
id: "deropay",
options: {
gatewayUrl: process.env.DEROPAY_GATEWAY_URL!,
apiKey: process.env.DEROPAY_API_KEY!,
webhookSecret: process.env.DEROPAY_WEBHOOK_SECRET,
},
},
],
},
},
],
});
Add the corresponding variables to apps/backend/.env:
DEROPAY_GATEWAY_URL=http://localhost:3080
DEROPAY_API_KEY=your-api-key
DEROPAY_WEBHOOK_SECRET=your-webhook-secret
| Option | Required | Description |
|---|---|---|
gatewayUrl | Yes | Base URL of your DeroPay gateway (e.g. http://localhost:3080) |
apiKey | Yes | API key for the gateway. Set DEROPAY_API_KEYS in the gateway's env to enable key auth. |
webhookSecret | Yes | HMAC-SHA256 secret for webhook signature verification. Required — without it, a forged webhook could mark an order paid with no real payment. |
After starting Medusa, you must activate DeroPay as a payment provider for a region before it appears at checkout:
http://localhost:9000/appYou will also need a Publishable API Key for any storefront that calls the Store API:
x-publishable-api-key header on all storefront requestsConfigure your DeroPay gateway to send webhooks to your Medusa backend:
Webhook URL: https://your-medusa-store.com/hooks/payment/deropay_deropay
The gateway sends { invoiceId, status, metadata } payloads. The plugin maps invoiceId to the Medusa payment session for automatic order completion.
completed → captured, confirming → authorized, expired → error.DERO to use atomic amounts directly.FAQs
DeroPay payment provider for Medusa.js v2 — accept DERO payments in your Medusa store.
The npm package medusa-payment-deropay receives a total of 4 weekly downloads. As such, medusa-payment-deropay popularity was classified as not popular.
We found that medusa-payment-deropay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.