Note: This functionality is available on Release 83 and onwards.
Configuration
It's possible to configure a webhook to be fired whenever an error occurs whilst processing an order.
You can configure a URL in Settings > General Settings > Webhooks > Error Reporting > Error.
Response
The endpoint specified in this textbox will receive a POST request with the contents of the error message. It will also contain the error message for any of the order processing plugins configured in your Limio environment.
You can use the eventId and processEventId to find the full details of the event in your Limio application.
{
eventId: 'event-f3a77aa153fdab191479b484d85375e6',
processEventId: 'process_event-f3a77aa153fdab191479b484d85375e6',
event: {
message: 'Order Received',
type: 'order.refund',
event: {
recipientDetails: [Object],
billingDetails: [Object],
hasDelivery: false,
__spec_version: '2',
external_id: '801377f3-e59d-4d2a-a737-f85d24a207b7',
orderItems: [Array],
tracking: [Object],
orderState: 'submitted',
mode: 'test',
total: [Object],
chooseDate: false,
isRedeem: false,
deliveryDetails: [Object],
isGift: false,
payment: [Object],
customerDetails: [Object],
order_type: 'refund',
orderDate: '2023-01-01T00:00:00.000Z'
}
},
pluginErrorOutput: [ { name: 'zuora', message: 'Invalid service id: [undefined]' } ]
}
Comments
0 comments
Please sign in to leave a comment.