mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 00:05:30 +00:00
Alipay refunds used a UnixNano timestamp as out_request_no, so an admin retry after an ambiguous gateway error minted a new request and refunded the user twice. Use the same deterministic order+amount id as the other providers (wxpayRefundID, Stripe idempotency key). Same order and amount now map to the same Alipay refund request; the existing QueryRefund prefix contract is unchanged.