Skip to main content

Economy Configuration

Configure the payment method, escrow/refund behavior, and cancellation rules.

economy:
payment-method: ESCROW # ESCROW or IMMEDIATE
require-payment-confirmation: false

payment:
charge-on-creation: true
pay-on-delivery: true
refund:
enabled: true
deduction-percentage: 0.0 # 0.0 to 1.0
deduction-fixed: 0.0
use-percentage: true # true = percentage, false = fixed
auto-refund-on-expiration: true
auto-refund-on-cancel: true
cancellation:
allow-cancel-with-deliveries: false
require-admin-approval: false
min-time-before-cancel: 0 # seconds
SettingTypeDefaultDescription
economy.payment-methodStringESCROWESCROW (recommended) holds payment in escrow until delivery, guaranteeing payment for deliverers and protecting creators. IMMEDIATE pays on collection - less secure, not recommended.
payment.charge-on-creationBooleantrueCharge the creator immediately, held in escrow. The escrow system itself is always enabled regardless of this setting.
payment.pay-on-deliveryBooleantruePay the deliverer immediately on delivery, proportional to items delivered
payment.refund.enabledBooleantrueEnable refunds
payment.refund.deduction-percentageDouble (0.0โ€“1.0)0.0Percentage fee deducted from refunds (used when use-percentage: true)
payment.refund.deduction-fixedDouble0.0Fixed fee deducted from refunds (used when use-percentage: false)
payment.refund.use-percentageBooleantrueSelects which deduction method applies
payment.refund.auto-refund-on-expirationBooleantrueAuto-refund escrow balance (minus fees) when an order expires
payment.refund.auto-refund-on-cancelBooleantrueAuto-refund escrow balance (minus fees) when an order is cancelled
payment.cancellation.allow-cancel-with-deliveriesBooleanfalseIf false, orders with partial deliveries can't be cancelled (admins can always cancel).
payment.cancellation.require-admin-approvalBooleanfalseRequire admin approval to cancel with deliveries. Not fully implemented - cancellation is currently blocked outright if deliveries exist.
payment.cancellation.min-time-before-cancelInteger (seconds)0Minimum time that must elapse before an order can be cancelled

Escrow Systemโ€‹

Escrow is always enabled and cannot be disabled. Flow: payment is held on order creation (if charge-on-creation) โ†’ released to the deliverer on delivery (if pay-on-delivery) โ†’ remaining balance refunded on completion, expiration, or cancellation.

Troubleshootingโ€‹

SymptomCheck
Payments not workingVault installed, economy plugin connected to Vault, sufficient balance, payment settings correct
Refunds not processingAuto-refund settings enabled, escrow balance exists, economy plugin working, transaction logs

See Alsoโ€‹