Browse: Home / Classes /

WebhookSignature

WebhookSignature

Description #


Source #

File: includes/lib/stripe-php/lib/WebhookSignature.php



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.