Business-Stripe-Webhook
view release on metacpan or search on metacpan
Revision history for Business-Stripe-Webhook
1.14 11th Jan 2026
Added tests for optional signature verification and error callbacks
Updated license from Perl to MIT
Prefer PR submissions over RT for issues and patches
1.13 7th Jan 2025
Updated examples in documentation
1.12 1st July 2023
Modified tests to prevent failure when Test::Warn is not installed
Added new author test for VERSION in module and POD
lib/Business/Stripe/Webhook.pm view on Meta::CPAN
=item *
B<payload>: A JSON string. Required (I<see below>). The JSON object from Stripe.
=item *
B<api_secret>: The Stripe secret API Key - see L<https://stripe.com/docs/keys>. Optional but will be required if the C<get_subscription> method is needed.
=item *
B<I<stripe-event>>: One or more callbacks to the subroutines to handle the webhooks events sent by Stripe. See L<https://stripe.com/docs/api/events/list>.
To listen for an event, change the fullstop in the Stripe event name to a minus sign and use that as the parameter. The events you define should match the events you ask Stripe to send. Any events Stripe sends that do not have a callback defined wi...
Stripe event C<invoice.paid> becomes C<invoice-paid>
Stripe event C<invoice.payment_failed> becomes C<invoice-payment_failed>
=item *
B<all-webhooks>: A callback subroutine which will be called for every event received from Stripe even if a callback subroutine for that event has not been defined.
( run in 2.253 seconds using v1.01-cache-2.11-cpan-d8267643d1d )