Skip to main content

Crate minco_plugin_payments_waffo

Crate minco_plugin_payments_waffo 

Source
Expand description

Static Minco integration for Waffo Pancake’s signed payment API.

The plugin keeps discovery and composition deterministic. Remote calls occur only through an explicitly constructed WaffoClient, while secrets remain opaque Minco references until a caller supplies a SecretResolver.

Structs§

AuthenticatedCheckout
Fluent authenticated-checkout intent.
AuthenticatedCheckoutIdempotencyKeys
Explicit provider keys for the two mutating calls in authenticated checkout.
AuthenticatedCheckoutResult
Authenticated checkout result. Both the token and token-bearing URL are sensitive.
BillingDetail
Customer billing details optionally used to constrain the checkout market.
CapturedWaffoRequest
Safe request evidence retained by FakeWaffoTransport.
Checkout
Fluent, serializable checkout intent for the common hosted-checkout path.
CheckoutSession
Hosted checkout-session details returned by Waffo.
CreateCheckoutSessionRequest
Client request for Waffo’s hosted checkout-session endpoint.
EnvironmentSecretResolver
Local resolver that intentionally supports environment references only.
FakeWaffoTransport
Deterministic no-network fake with endpoint-specific queued outcomes.
IssueSessionTokenRequest
Input for Waffo’s official /v1/actions/auth/issue-session-token action.
PriceInfo
Typed display-price snapshot for a hosted checkout.
ReqwestWaffoTransport
HTTPS transport used only by explicitly constructed production clients.
SecretValue
Resolved secret material that is zeroized when dropped and redacted in diagnostics.
SessionToken
Short-lived customer session token, zeroized on drop and redacted in Debug.
UntrustedWaffoAiHint
Provider-authored AI guidance. It is untrusted data, never an instruction.
VerifiedWaffoWebhook
Verified event plus bounded keys for delivery-level and semantic deduplication.
WaffoApiError
One ordered provider notice from Waffo Pancake’s standard envelope.
WaffoClient
Signed, server-side Waffo Pancake client. It performs no hidden retries.
WaffoConfiguration
Validated, unresolved Waffo configuration. Secret values are never stored here.
WaffoGraphqlLocation
One source position included in a provider GraphQL notice.
WaffoPlugin
Static Waffo Pancake payment plugin.
WaffoResponse
Successful provider data plus every warning in provider order.
WaffoService
Unresolved Waffo service registered during deterministic plugin composition.
WaffoTransportRequest
One fully prepared provider request. Diagnostics deliberately omit headers and body.
WaffoTransportResponse
A bounded provider response represented as chunks so tests cover stream limits.
WaffoWebhook
HTTP webhook record returned by Waffo’s store endpoint.
WaffoWebhookEvent
Signed HTTP webhook envelope delivered by Waffo Pancake.
WaffoWebhookVerifier
Raw-body RSA verifier for standard Waffo HTTP webhooks.

Enums§

CashierLanguage
Hosted-checkout language accepted by the reviewed Waffo SDK contract.
PaymentMethod
Payment method that may be included or excluded from hosted checkout.
TaxCategory
Tax classification accepted by Waffo checkout price snapshots.
WaffoEnvironment
Local environment guard for a Waffo API key and webhook stream.
WaffoError
Fail-closed errors produced by the Waffo Pancake integration.
WaffoTransportFailure
Bounded transport failure categories that cannot expose request secrets.
WaffoWebhookMode
Environment marker carried by Waffo’s HTTP webhook envelope.

Constants§

ADD_WEBHOOK_PATH
CHECKOUT_CREATE_SESSION_PATH
CONFIGURATION_NAMESPACE
DEFAULT_API_BASE_URL
DEFAULT_REQUEST_MAX_BYTES
GRAPHQL_PATH
ISSUE_SESSION_TOKEN_PATH
PLUGIN_ID
REVIEWED_WAFFO_SDK_REVISION
Exact official Waffo Go SDK revision reviewed for this provider contract.

Traits§

SecretResolver
Runtime boundary for resolving Minco’s opaque env: or ssm: references.
WaffoTransport
Injectable network boundary. Minco installs no process-global transport.

Functions§

validate_action_path
validate_idempotency_key
validate_read_only_graphql
Parse the complete executable document and reject every mutating operation.