SShortSingh.
Back to feed

Cash on Delivery Payments Are Receivables, Not Settled Sales, Developer Argues

0
·4 views

A developer working on e-commerce order systems argues that marking Cash on Delivery orders as paid is misleading. The cash collected by a delivery driver stays with the carrier until its settlement cycle transfers the funds, which can take days or weeks. The author proposes treating COD orders as open receivables that are only settled after a carrier payout is matched to the specific order. This approach makes short payouts and unmatched orders visible rather than hidden, which matters most for stores with high COD volume. The author also says the approach is built into their backend-as-a-service product, StoreFlux, and asks how others handle carrier-collected payments.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Debugging Cron Trigger Failures in Node.js Scheduled Webhooks

A developer guide explains how to troubleshoot cron-triggered webhook delivery for media shipment updates in Node.js. It recommends checking the schedule configuration and public endpoint, triggering a single run manually, and reviewing run history before adjusting retry settings. The approach uses cron to enqueue work while an idempotent worker handles fan-out, since queued delivery is at-least-once. It stresses isolating one boundary at a time (schedule, endpoint, queue, subscriber) so timer failures and delivery failures are distinguished. The article also notes practical limits such as a 900-second cron execution ceiling, a 4 KB cap on retained run output, and second-level trigger jitter.

0
ProgrammingDEV Community ·

Apple's macOS removed from The Open Group's official Unix registry

A Hacker News post reported that Apple's macOS has been removed from The Open Group's official Unix registry. The item drew 158 points and 159 comments on the platform. The source article is primarily a personal essay about childhood amblyopia treatment, which uses the news as a starting point. It describes the author's experience with eye patching and a VR-based vision training app called AmblyoPunch. The article is not a detailed report on the registry change itself.

0
ProgrammingDEV Community ·

AI coding tool prices unchanged in October 2026; apparent cuts reflect yearly billing

A recheck of 30 AI coding tool pricing pages on 28 October 2026 found no list price changes since mid-October reads. Four tools appeared cheaper only because their pages defaulted to yearly billing, which can make comparisons off by up to 40%. Google is shutting down Firebase Studio on 22 March 2027 and stopped selling new Gemini Code Assist Standard and Enterprise subscriptions on 9 October 2026. Windsurf has been renamed Devin Desktop, and Cursor's cheapest $8 Plus tier only offers Grok models. The comparison covers just two dated snapshots rather than a long-term price history.

0
ProgrammingDEV Community ·

AWS Lambda Ends Python 3.10 Support: Migrate to 3.12+ by October 2026

AWS is deprecating the Python 3.10 runtime for Lambda, with October 31, 2026 set as the deprecation date. After that point, existing functions keep running but stop receiving critical security patches and lose console editing access. Creation and update of functions on the runtime will be blocked starting July 29, 2027 and August 31, 2027, respectively. The change follows Python 3.10's own end-of-life in October 2023, after which the language stopped issuing security updates. Moving to Python 3.12 or later involves more than a version change, since removed modules, a shift to Amazon Linux 2023, and rebuilt compiled dependencies all require attention.