Search.../

onOrderMarkedAsPaid( )

Developer Preview

Triggered when an offline order is marked as paid.

Syntax

function wixPricingPlans_onOrderMarkedAsPaid(event: OrderMarkedAsPaidEvent): void

onOrderMarkedAsPaid Parameters

NAME
TYPE
DESCRIPTION
event
Optional
OrderMarkedAsPaidEvent

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onOrderMarkedAsPaid example

Copy Code
1
2 export function wixPricingPlans_onOrderMarkedAsPaid(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.order._id;
5 }
6
7