onPaymentUpdate( )


An event that fires when a payment's transaction status is changed.

The onPaymentUpdate() event handler runs when a payment's transaction status has changed. The received PaymentUpdateEvent object contains information about the payment transaction.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventPaymentUpdateEventRequired

The payment data.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?