Tag collection

idempotency

Explore providers, articles, and companies related to idempotency for practical research and comparison.

Article

5 results
View more →

WeChat Pay APIv3 Integration in Practice: Signing, Callback Verification, and Idempotency

WeChat Pay APIv3 rewrote the signing algorithm, the certificate model, and callback encryption all at once, so patterns carried over from v2 fail reliably. This walkthrough follows the real integration order: what each of the three key materials does, how to compute a request signature, how to verify and decrypt callbacks, which of the four payment products to pick, and how to build the order state machine and idempotency.

Payment Order Number Design and Idempotency Tables: Generation Rules and Unique Index Backstop

The order number looks like the simplest field in a payment system and is actually its foundation. Choose the generation strategy badly and the failures surface six months later: colliding numbers, values rejected as too long after switching channels, auto-increment IDs leaking real volume, and the same payment processed twice under concurrency. This article gives implementable designs.

Implementing a Multi-Channel Payment Callback Framework: Unified Entry, Verify Adapters, and Compensation

Write one callback endpoint for the first channel and it is thirty lines. Copy it for the second. By the third the code has spiraled: verification logic scattered, response formats diverging, idempotency reimplemented three ways, and lost notifications untraceable. This article lays out a reusable framework with a unified entry point, verify adapters, an idempotency middle layer, and scheduled query compensation.

Build or Buy for Each Payment Layer: The Test Is Who Carries It When Things Break

Every layer of a payment stack has to answer build or buy. Most teams weigh engineering months against subscription fees and only discover during an incident that responsibility was never clearly assigned. This article gives three decision questions, a layer-by-layer verdict, three common mistakes in building, and the four things you must keep in-house no matter how much you outsource.