Skip to content

OnPaymentAuthorized

Back to Index

This hook runs after an authorization has been either succeeded or failed in a Payment Actor. If a pending authorization is added, this hook will not run.

Type

{
hook: 'OnPaymentAuthorized'
payment: Payment
authorization: PaymentAuthorization
}

Effects

effects.common.sendMessage Sends a message to another actor after the payment has been saved. Responses from the target actor is ignored.

Back to Index