aimanecouissi/module-stripe-webhook-signature-bypass

Allow local testing of Stripe webhooks by bypassing signature verification

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 1

Open Issues: 0

Type:magento2-module

pkg:composer/aimanecouissi/module-stripe-webhook-signature-bypass

1.0.0 2025-09-14 11:34 UTC

This package is auto-updated.

Last update: 2025-10-14 12:23:33 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Allows local testing of Stripe webhooks by bypassing signature verification, so you can replay real webhook payloads against your Magento endpoint when Stripe can’t reach your machine. Development use only — do not enable in production.

Installation

composer require --dev aimanecouissi/module-stripe-webhook-signature-bypass
bin/magento module:enable AimaneCouissi_StripeWebhookSignatureBypass
bin/magento setup:upgrade
bin/magento cache:flush

Usage

Make a test payment in Magento. In the Stripe Dashboard, open Developers → Webhooks, select your Magento endpoint (typically /stripe/webhooks), and locate the relevant Event delivery. Copy the request JSON, then POST it to your local webhook endpoint (e.g., https://your.local/stripe/webhooks) using Postman or curl with Content-Type: application/json. With this module enabled, the request is accepted even without the Stripe-Signature header and the event is processed as if it arrived from Stripe.

Uninstall

bin/magento module:disable AimaneCouissi_StripeWebhookSignatureBypass
composer remove --dev aimanecouissi/module-stripe-webhook-signature-bypass
bin/magento setup:upgrade
bin/magento cache:flush

License

MIT