Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Webhook.constructEvent(request.body,
- request.headers
- .get("Stripe-Signature")
- .getOrElse(throw notAuthenticatedException()),
- endpointSecret)) match {
- case Success(checked) => {
- println(checked)
- checked
- }
- case Failure(e) =>
- println(s"--------------$e")
- throw e;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement