Alipay callbacks hit a rate limit: intake capacity, verification and backlog recovery

A confirmed Alipay payment can still have its notification rejected at the merchant's gateway. Prove where intake failed before changing capacity. Payment confirmation, customer credit and merchant settlement remain separate outcomes; asking the customer to pay again does not recover the callback.

Continue by topic

Confirm the callback contract and onboarding conditions

Public collection methods include WeChat Pay, Alipay and UnionPay, subject to business review and formal configuration. Explain your owned or authorized service, website, notification domain and backend capacity before onboarding; obtain the applicable callback and signing documents. Confirm channel fees, transaction limits, redelivery arrangements and infrastructure costs separately. HTTP throttling is not a limit on the customer's payment amount.

Merchant USDT settlement after CNY collection currently uses TRON/TRC20 only; confirm its triggers, costs and timing. Separate merchant-wallet monitoring supports TRC20 and ERC20 with funds sent directly to that wallet. This guide describes merchant infrastructure, not a universal notification throughput, delivery deadline or automated payout service. Keep formal gateways, merchant parameters and secrets private.

Trace the limiting rule and any shared capacity

In an isolated environment, correlate mock notifications across edge, proxy, application and durable intake records. Prove a limiting-rule match instead of inferring it from a status alone. Nginx limit_req defaults to 503 for rejection and allows configuration, so 429 is not the only clue. Log a redacted request reference, rule, arrival time and rejection stage; access logs do not prove payment.

Check whether callback traffic shares capacity with login, search or customer queries. Proxies may combine several legitimate senders under one apparent source. Validate the trusted proxy chain; arbitrary forwarding headers or submitted merchant IDs must not grant exemptions. Measure processing capacity, then give the verified route bounded intake, queue and timeout settings while retaining protection.

Verify and persist before acknowledging; drain deliberately

Follow the formal contract to verify signature, merchant, order, amount, currency and successful payment. Use payment identity and business-order constraints to credit once. If intake and fulfillment are separated, first confirm which durable-acceptance response the protocol permits and retain a traceable inbox-to-processing link. A gateway must not synthesize success for an unsaved or invalid notification.

Simulate distinct orders A/B plus a repeated A. If B is rejected before intake, keep it unresolved; repeated A must add no balance. Reconcile gaps through bounded original-order queries or agreed redelivery, using the same idempotent transaction as normal callbacks. Queries also consume capacity: follow agreed backoff rather than amplifying retries and polling without limits.

Accept recovery against an order register

Test legitimate bursts, forged sources, invalid signatures, storage failure, delayed delivery and concurrent reconciliation. Confirm that valid work reaches controlled processing, hostile traffic remains bounded and uncommitted intake receives no success acknowledgement. Use the actual response body and failure contract; do not assume every unsuccessful request will be retried automatically.

For the incident window, list paid-but-uncredited, durably received-but-pending and still-unknown orders. Record trusted evidence, responsible reviewer and final disposition. Confirmed payments awaiting settlement are not failed payments, and settlement receipts do not prove customer fulfillment. Review unresolved counts and oldest backlog age, retaining rule changes and rollback conditions.

Frequently asked questions

Does a 429 mean the Alipay payment failed?

No. It may describe only the merchant's intake rejection. Verify payment from a trusted callback or original-order query rather than asking for another payment.

Can an allowed sender IP bypass all checks?

No. Source addresses cannot replace signature and order verification. Adjust bounded intake only for verified network configuration, retaining resource controls and one-time crediting.

References