Gamend.Payments (gamend_sdk v1.0.1221)

Copy Markdown View Source

Payment catalog, purchase ledger, and entitlements.

Provider-specific integrations validate or create transactions, but this context remains the source of truth for what a user owns inside the game.

Note: This is an SDK stub. Calling these functions will raise an error. The actual implementation runs on the Gamend.

Summary

Functions

Stamp a provider event as fully handled. Only then does a retry of the same event id count as a duplicate.

Functions

mark_event_processed(event)

@spec mark_event_processed(Gamend.Payments.ProviderEvent.t()) ::
  {:ok, Gamend.Payments.ProviderEvent.t()} | {:error, Ecto.Changeset.t()}

Stamp a provider event as fully handled. Only then does a retry of the same event id count as a duplicate.