Accrue.Portal.Checkout.CompletionJob (accrue v1.1.1)

Copy Markdown View Source

Asynchronously records and reduces the synthetic local-portal checkout completion event after a successful Braintree subscribe handoff.

Summary

Functions

enqueue(checkout_session_id, subscription_id)

@spec enqueue(Ecto.UUID.t(), Ecto.UUID.t()) ::
  {:ok, Oban.Job.t()} | {:error, Ecto.Changeset.t()}