Tagged articles
11 articles
Page 1 of 1
AI Step-by-Step
AI Step-by-Step
Apr 12, 2026 · Backend Development

Make Agents Survive Crashes and Restarts: Building a Persistent Task Engine with Durable Execution

The article explains how durable execution, exemplified by Temporal’s Workflow and Activity model, transforms long‑running Agent tasks—such as refund approvals that involve human sign‑off, external APIs, and overnight processing—into recoverable, auditable pipelines that survive crashes, restarts, and timeouts.

ActivityAgentDurable Execution
0 likes · 16 min read
Make Agents Survive Crashes and Restarts: Building a Persistent Task Engine with Durable Execution
Coder Trainee
Coder Trainee
Apr 12, 2026 · Backend Development

Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement

This article walks through the complete WeChat Pay integration for an education‑focused mini‑program, covering the business flow, database schema, Java backend implementation for order creation, callback handling, automatic refunds, scheduled tasks, common pitfalls, and practical tips for reliable payment processing.

Database designMini ProgramPayment Integration
0 likes · 21 min read
Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement
Chen Tian Universe
Chen Tian Universe
Feb 1, 2025 · Operations

Designing a Robust Refund Center: Architecture, Processes, and Product Strategies

This article explains the concept of reverse transactions, outlines the factors influencing refund operations, and details the design of a dedicated refund center, including its product architecture, processing flow, document structure, channel configuration, and the special "refund‑to‑payment" mechanism for out‑of‑time refunds.

OperationsRefundpayment
0 likes · 19 min read
Designing a Robust Refund Center: Architecture, Processes, and Product Strategies
Eric Tech Circle
Eric Tech Circle
May 12, 2024 · Industry Insights

Designing a Robust Payment & Refund Model: Core Concepts and Pitfalls

This article outlines a conceptual model for complex payment and refund scenarios, detailing payment methods, channels, platforms, various payment types, refund options, and key design considerations such as multiple payment details, merged payments, distributed locks, and state consistency.

Refundbackend designconceptual model
0 likes · 5 min read
Designing a Robust Payment & Refund Model: Core Concepts and Pitfalls
JavaEdge
JavaEdge
Jan 28, 2024 · Backend Development

Designing a Marketing Reverse Domain for Refunds with DDD

This article explains how to model and implement a marketing reverse domain that handles coupon and asset recovery during refunds, using domain‑driven design, rule engines, and service layers, complete with state‑machine diagrams, code snippets, and practical mapping configurations.

Domain-Driven DesignMarketingModeling
0 likes · 11 min read
Designing a Marketing Reverse Domain for Refunds with DDD
macrozheng
macrozheng
Jul 25, 2022 · Backend Development

How to Prevent Duplicate Payments in E‑Commerce: Strategies & Best Practices

This article explains the complete e‑commerce payment flow, identifies why orders can be paid twice—including lack of deduplication, lost orders, and multi‑channel issues—and presents practical solutions such as distributed locking, result caching, transaction cancellation, refunds, active polling, and sync‑async notifications to reliably avoid duplicate payments.

PollingRefunddistributed-lock
0 likes · 12 min read
How to Prevent Duplicate Payments in E‑Commerce: Strategies & Best Practices
Dada Group Technology
Dada Group Technology
Aug 13, 2021 · Backend Development

Inside JD Daojia’s After‑Sale System: Distributed Locks, Data Sync, and Refund Strategies

This article examines JD Daojia’s after‑sale platform, detailing its three‑tier architecture, distributed‑lock mechanisms for multi‑endpoint requests, complex promotion‑aware split‑data handling, Elasticsearch synchronization, combined‑order logistics, and rigorous refund validation to ensure accurate and performant service delivery.

BackendElasticsearchRefund
0 likes · 16 min read
Inside JD Daojia’s After‑Sale System: Distributed Locks, Data Sync, and Refund Strategies
Java Backend Technology
Java Backend Technology
Oct 29, 2020 · Operations

How to Prevent Duplicate Payments and Order Expiration in Payment Systems

This article examines common payment system anomalies such as duplicate charges and order expiration, explains how asynchronous and synchronous payment flows contribute to these issues, and provides both pre‑payment and post‑payment strategies—including UI improvements, return URLs, status checks, and automated refunds—to prevent and resolve them.

Payment IntegrationRefundasynchronous payment
0 likes · 8 min read
How to Prevent Duplicate Payments and Order Expiration in Payment Systems
Youzan Coder
Youzan Coder
Sep 25, 2020 · Backend Development

Designing a Marketing Reverse Domain for Refund Asset Management

This article explains the business challenges of handling marketing assets during refunds, defines asset types and trigger conditions, and details a domain‑driven backend architecture—including entities, value objects, aggregates, services, and model‑mapping configurations—to implement a configurable reverse‑operation system.

Backend ArchitectureDomain-Driven DesignMarketing
0 likes · 11 min read
Designing a Marketing Reverse Domain for Refund Asset Management