Keep seller order notifications replaceable by owning the template version, notification identity, and delivery evidence in your application. A developer tools marketplace should be able to change its SMS provider without changing what a new-order event means. The deciding constraint is template ownership: a provider template ID should describe how to send a message, rather than define which business notification exists.
Short answer: record the notification before sending, preserve its idempotency key across safe retries, and reconcile its status before deciding to resend. A timeout means the outcome is unknown. It does not prove the SMS failed.
How should SMS event notifications handle timeout retry and status polling?
Consider an illustrative marketplace order, order-157, for a developer tool license. The seller needs one new-order SMS. Your application owns a template called seller-order, version 3; the sending adapter maps that version to the selected provider's template identifier.β¦