Vulcan\StripeWebhook\Handlers\StripeEventHandler
Class StripeEventHandler
Synopsis
class StripeEventHandler
{
- // members
- private static $events = NULL;
- // methods
- public static string handle()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $events
—
array
The dot notated event this handler is responsible for, full list at https://stripe.com/docs/api#event_types, can either be an array, or a string. If handling multiple you should check what $event is in your {@link ::handle()} override
Methods
public
- handle() — You should override this method in your subclass and create any functionality you need to handle the data from the event