code_corps v0.0.1 CodeCorps.StripeService.WebhookProcessing.PlatformEventHandler View Source

Handler for Stripe Platform webhooks.

Link to this section Summary

Functions

Handles Stripe Platform webhooks

Link to this section Functions

Link to this function handle_event(attributes) View Source

Handles Stripe Platform webhooks

Returns

  • The result of calling the specific handlers handle/1 function. This result should be a tuple, in which the first member is :ok, followed by one or more other elements, usually modified records.
  • {:ok, :unhandled_event} if the specific event is not supported yet or at all