Credit Return

Configure the CreditReturn project action to issue a payment credit for a linked return order.

Overview

The Credit Return action credits the payment on the return order form linked to the project. It finds the original order via the project's claim ID, locates the associated return order form, and calls the payment provider's credit method.

This action is intended for claim projects where the customer is owed a refund for returned goods.

Key behaviours:

  • The action finds the linked order automatically via the project ID — no configuration required
  • If no linked order or return order form is found, the action returns an error but does not cancel the workflow
  • On success, the order is updated to reflect the credited payment

Identifier

PropertyValue
KeyCreditReturn
GroupProject Actions

Configuration

No properties are required. The action resolves the linked order automatically.

{
  "name": "CreditReturn",
  "active": true
}

All Available Options

PropertyRequiredTypeDescription
nameYesstringMust be CreditReturn
StopOnErrorNobooleanCancel the workflow if the credit fails
TranslateKeyNostringTranslation key shown in the UI action log

Requirements

  • The project must be linked to an order via a claim (project.ProjectId must match a return order form's claim)
  • The order must have an active payment that supports crediting
  • The payment provider must support refunds

Error Handling

ConditionResultContinues Workflow?
Linked order found, credit successfulSuccessYes
No linked order foundErrorYes
No matching return order formNo result (silent)Yes

On this page