Vietnamese Developer Shares Secure VietQR Bank-Transfer Webhook Setup on Cloudflare Workers
A developer selling digital products from Vietnam explains that PayPal blocks domestic transfers and local cards often fail on cross-border checkout, so bank transfers via VietQR are used instead. Payments settle instantly in Vietnamese dong with no card fees, and SePay forwards incoming transfers as HTTP webhooks. The checkout and webhook handler run on Cloudflare Workers and D1 within the free tier, costing nothing per month. The article focuses on making webhook handling secure, covering fail-closed signature checks, constant-time HMAC comparison, and idempotent event storage that resists duplicate retries.
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