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.
If the C<v1> parameter is missing an C<error> is set and the method returns C<undef>. Otherwise it returns true if the signature has been verified or false if not.
=head2 check_signature
( run in 2.418 seconds using v1.01-cache-2.11-cpan-5837b0d9d2c )