Start typing to see suggestions. Use arrow keys to navigate, Enter to select.

PaddleTransaction

PaddleTransaction class for processing Paddle completed transaction webhook events

This class handles incoming completed transaction webhook notifications from Paddle, including signature verification, order processing, customer management, and notifications.

Information

Property Value
Namespace NymarkType\Fountain
Source /classes/PaddleTransaction.php

__construct()

Initialize the webhook handler with required dependencies

handleTransaction()

Handle transaction webhook from Paddle. Validates signature, processes webhook data, creates/updates customer, sends confirmation email, and logs transaction to database. Returns 'Success.' or error message.

Parameters

Name Type Description
$request object Kirby request object containing webhook data
Returns:
string β€” Success or error message

generateUserLicenses()

Backfill missing license snapshot files for all customers

Returns:
array β€” Counts of created and skipped files