Paddle Webhook Verifier

Verifies Paddle webhook notifications.

Лицензия

Лицензия

Группа

Группа

com.xk72
Идентификатор

Идентификатор

paddle-webhook-verifier
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Paddle Webhook Verifier
Verifies Paddle webhook notifications.
Ссылка на сайт

Ссылка на сайт

https://github.com/karlvr/paddle-webhook-verifier
Система контроля версий

Система контроля версий

http://github.com/karlvr/paddle-webhook-verifier

Скачать paddle-webhook-verifier

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.xk72/paddle-webhook-verifier/ -->
<dependency>
    <groupId>com.xk72</groupId>
    <artifactId>paddle-webhook-verifier</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.xk72/paddle-webhook-verifier/
implementation 'com.xk72:paddle-webhook-verifier:1.0'
// https://jarcasting.com/artifacts/com.xk72/paddle-webhook-verifier/
implementation ("com.xk72:paddle-webhook-verifier:1.0")
'com.xk72:paddle-webhook-verifier:jar:1.0'
<dependency org="com.xk72" name="paddle-webhook-verifier" rev="1.0">
  <artifact name="paddle-webhook-verifier" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.xk72', module='paddle-webhook-verifier', version='1.0')
)
libraryDependencies += "com.xk72" % "paddle-webhook-verifier" % "1.0"
[com.xk72/paddle-webhook-verifier "1.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.xk72 : pherialize jar 1.2.4

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : javax.servlet-api jar 3.0.1

Модули Проекта

Данный проект не имеет модулей.

Paddle Webhook Verifier

A helper class to verify Paddle.com webhook calls.

For more information about Paddle webhook verification, see the official documentation https://www.paddle.com/docs/reference-verifying-webhooks

How to use

Construct the verifier with the text of the public key that Paddle gives you in your settings, and then verify webhook requests that you receive by passing the verifier the request.getParameterMap() from the request.

e.g.

PaddleWebhookVerifier verifier = new PaddleWebhookVerifier("3jiasSIDJojosda/asjdnFJSU...AwEAAQ==");
if (!verifier.verify(request.getParameterMap())) {
	response.sendError(401);
	return;
}

Download

This package is available in Maven Central:

<dependencies>
  <dependency>   
    <groupId>com.xk72</groupId>
    <artifactId>paddle-webhook-verifier</artifactId>
    <version>1.0</version>
  </dependency>
</dependencies>

Dependencies

This package uses a patched version of Pherialize package, by Klaus Reimer to perform the PHP serialization required by Paddle.

Версии библиотеки

Версия
1.0