Knowledge & insights
Integrations
Design decisions and practical lessons for reliable integrations between business systems.
-
Webhooks or scheduled synchronisation: what needs real-time processing?
When should you use webhooks or a schedule? This decision framework connects speed with completeness, recovery and manageability.
-
Check the provider amount before completing the order
A successful provider status is usable only when reference, currency and amount match the correct order.
-
Reliably identifying parcel delivery, own delivery or collection
A commercial shipping title is not a fulfilment type. Use a fixed source hierarchy and test which subsequent processes start for each category.
-
Polling and webhooks without duplicate payment completion
Two status channels are useful as long as only one process performs the business order transition.
-
Identifying business or consumer accounts from online store data
An entered company name is not conclusive evidence. Use an explicit decision table and make unknown or conflicting cases visible.
-
When may an online-store address be sent to an AFAS debtor account?
A matching email address or postcode is not an identity. Combine a confirmed link with valid address fields and handle ambiguity deliberately.
-
Safely recovering a locked AFAS record
Rapid retries rarely resolve a lock. Use a waiting, checking and escalation ladder and repeat only the blocked provider step.
-
Writing again after an API timeout? Check first
Treat an unclear API response as a separate status. Record the write intent in advance and look for evidence before releasing a retry.
-
Preventing and resolving duplicate AFAS debtor records from online store orders
How to recognise existing AFAS contacts from online store orders, prevent new duplicates and resolve uncertain cases without further damage.
-
AFAS succeeded, the downstream system failed: what now?
Partial success is a concrete state. Model provider steps separately and rerun only what demonstrably has not yet succeeded.
-
Which order version wins when a webhook arrives late?
The last message received is not always the latest change. Separate source order from arrival order and explain skipped events.
-
Which data should you synchronise between WooCommerce and AFAS?
Prevent WooCommerce and AFAS from overwriting each other’s data by defining one owner and clear synchronisation rules for each business object.