WebService::Braintree::WebhookNotification
This class parses and verifies webhook notifications.
Unlike all other classes, this class does NOT interact with a REST API. Instead, this takes data you provide it and either parses it into a usable object or provides a verification of it.
This takes a signature and a payload and returns a parsing of the notification within that payload. The payload is validated against the signature before parsing.
The return is an object of this class.
This takes a challenge and returns a proper response.
To install WebService::Braintree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Braintree
CPAN shell
perl -MCPAN -e shell install WebService::Braintree
For more information on module installation, please visit the detailed CPAN module installation guide.