Business-Stripe-Webhook
view release on metacpan or search on metacpan
lib/Business/Stripe/Webhook.pm view on Meta::CPAN
}
=head2 error
Returns the error message from the last operation, or an empty string if there was no error.
my $error = $webhook->error();
=head2 process
This method processes the webhook sent from Stripe. It checks the Stripe Signature if a C<signing_secret> parameter has been included and calls the defined subroutine to handle the Stripe event. Each subroutine is passed a JSON decoded Event Object...
my $result = $webhook->process();
This method takes no parameters.
Normally, the return value can be ignored. Returns C<undef> if there was an error or warning.
=head2 check_signature
Checks the signature of the webhook to verify that it was sent by Stripe.
( run in 0.355 second using v1.01-cache-2.11-cpan-26ccb49234f )