Kaizen
Browse modulesCheckoutcheckout/serverFunctions

Function: createManualProvider()

function createManualProvider(options?: CreateManualProviderOptions): PaymentProvider;

Defined in: server/checkout/manual-provider.ts:141

Built-in provider for cash / check / gift card / account balance and other manual tenders (proposal §The PaymentProvider port). supportsAuthorization is false and there is no external call: capture and refund record one synchronous success CanonicalTxn with the deterministic dedupe key manual:{paymentId}:{kind}:{opIdempotencyKey}. Every tender flows through the same PaymentProvider abstraction — the manual "provider object" is the tender itself (providerPaymentId = paymentId), trivially satisfying the correlation rule.

Parameters

ParameterType
optionsCreateManualProviderOptions

Returns

PaymentProvider

On this page