Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

n8n WhatsApp Integration: Accept Payments and Send Payment Status Automatically

说明与用途

本教程展示了如何将 n8n 与 Kelviq 集成,通过 WhatsApp 发送支付链接,接收支付完成的 Webhook,验证签名,并向客户通知支付成功或失败。

问题

How to accept payments inside an n8n workflow and notify customers via WhatsApp when the payment succeeds or fails.

结果

The workflow allows a WhatsApp bot to send a Pay Now button, automatically detect successful payments via Kelviq webhooks, and inform the customer of success or failure without requiring a custom server.

工作流

  • Create a payment link by calling Kelviq’s checkout API via an HTTP Request node.
  • Send the returned checkoutUrl to the customer through WhatsApp.
  • Set up an n8n Webhook node to receive Kelviq’s checkout.completed event.
  • Verify the webhook’s authenticity using the secret key and signature headers.
  • If the webhook is valid, send a success message to the customer; otherwise, query Kelviq for the payment status and send a failure message.

证据

Kelviq handles the payment. n8n handles the steps. Webhooks connect the two.

来源

Kelviq does not send a message when a one-time payment fails.

来源

Add a Code node after the Webhook node and paste this in. It checks the stamp using your secret key:

来源

  • 记录日期: 2026-10-26T07:26:30.884Z