Key Takeaways
- Rails order alerts on an Android SMS gateway are ActiveJob (or Sidekiq) workers calling HTTPS/JSON — not a Rails gem SDK product we sell.
- Use a stable order id as client reference so retries do not triple-notify.
- Accept ≠ delivered; wire DLR or webhooks.
- More Sidekiq threads ≠ more SIMs. Pace to device capacity.
- Live fields live in Developer Center.
- You bring the Android and operator credit. We meter devices and send volume.
ActiveJob posts REST
Rails SMS gateway with Android device order alerts means enqueueing HTTPS POSTs when an order ships or fails — not installing a vendor Rails SDK. Hub: Android SMS gateway API. Live fields: Developer Center. Laravel twin: Laravel order alerts.
Retries without an order-scoped idempotency key turn one delayed shipment into three angry texts.
Order-alert job fields
| Field | Source | Rule |
|---|---|---|
| to | Order customer E.164 | Normalized; no Excel damage |
| body | Template + order number | No OTP digits in marketing alerts |
| client ref | order.id + event type | Stable across Sidekiq retries |
| device / pool | Ops config | Keep OTP radios separate |
Order id as client ref
Prefer order-{id}-shipped style keys. Confirm exact field names in Developer Center. Samples in PHP / C# stay samples — not Complete SDK products.
Queue vs radio
Sidekiq concurrency must respect OEM ceilings and device count. Multi-device: dual SIM routing. DLR: delivery reports.
Cost
You bring the Android and operator SMS credit. Duplicate alerts still meter volume. Free: 1 device / 300 SMS lifetime / 300 contacts. See device and SMS volume pricing.
Checklist
- No Rails gem SDK claim.
- Keys in env / credentials.
- Idempotent order event keys.
- Accept ≠ delivered documented.
- OTP pool isolated from alerts.
- Worker pace ≤ radio capacity.
- Developer Center for live fields.
- No Unlimited SMS titles.
Next steps
Setup: device setup. Webhooks: SMS webhooks.
Related product pages
Jump to the live product docs for this topic—not another long-form article.
- SMS API documentationLive endpoint reference
- device and SMS volume pricingPlans and allowances
- transactional SMS for orders and alertsEvent-driven messages
- Android SMS gateway product guideDefinition, product, and how to buy





