WebhookSignature
Description Description
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/WebhookSignature.php
Methods Methods
- computeSignature — Computes the signature for a given payload and secret.
- getSignatures — Extracts the signatures matching a given scheme in a signature header.
- getTimestamp — Extracts the timestamp in a signature header.
- verifyHeader — Verifies the signature header sent by Stripe. Throws an Exception\SignatureVerificationException exception if the verification fails for any reason.