This plugin syncs orders to the SendCloud fulfillment platform.
PaymentSettled state in Vendure — no fulfillment is created at this point.Delivered by the included scheduled task. This is because orders are sometimes cancelled and duplicated in Sendcloud, resulting in misaligned stock.vendure-config.ts:Settings > Integrations and create an integration.secret and publicKey of the created integration.SetSendCloudConfig.Settings > SendCloud.secret and public key here and click save.An optional scheduled task fulfillSettledOrdersTask is included to automatically transition settled orders to Delivered.
It is not auto-registered — you need to add it to your schedulerOptions.tasks yourself.
The task runs nightly (default 2:00 AM) and processes all PaymentSettled orders placed within the last N days
(default 7) that use the SendCloud fulfillment handler. Each qualifying order is fulfilled and transitioned to Delivered.
Do not manually change order statuses in Vendure if you use this scheduled task. The task will fulfill orders and transition to delivered every night.
You can choose to send additional info to SendCloud: weight, hsCode, origin_country and additional parcel items.
Parcel items will show up as rows on your SendCloud packaging slips.
maxRetries plugin option (default: 10, previously hardcoded to 20).fulfillSettledOrdersTask scheduled task (opt-in) to fulfill settled orders to Delivered on a nightly basis.PaymentSettled until the scheduled task runs to prevent misaligned stock in Vendure.