aimanecouissi / module-stripe-webhook-signature-bypass
Bypass Stripe webhook signature verification for local testing
Installs: 6
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
Requires
- php: ~8.3.0||~8.4.0
- magento/framework: 103.0.*
- stripe/stripe-payments: 4.4.*
README
Bypasses Stripe webhook signature verification to allow local testing against real event payloads when Stripe cannot reach your machine. Also suppresses the Webhooks Unconfigured admin notification to reduce noise during development.
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, then in the Stripe Dashboard open Developers → Webhooks, select your Magento endpoint (typically /stripe/webhooks), and locate the relevant event delivery. Copy the request JSON and POST it to your local webhook endpoint using Postman or curl with Content-Type: application/json. The request will be accepted without a Stripe-Signature header and processed as if it arrived directly 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