OnPaymentCommands
Back to IndexThis hook runs after commands have been applied to a Payment Actor from the create
or applyCommands
message. Commands returned from rules does not trigger the hook again.
Type
Effects
Sends a message to another actor after the payment has been saved. Responses from the target actor is ignored.effects.common.sendMessage
Calls a reactor method after the payment has been saved. Responses from the reactor is ignored.effects.common.callReactor
Aborts the creation/update of the payment and returns the error to the caller.effects.common.validationError
Applies a command to the actor. Replace effects.payment.command.*
*
with the type of [command]/reference/actors/payment/commands) you want to apply.