Skip to content

feat(whatsapp): payment request buttons, contact WhatsApp identity, pipeline field check - #1656

Merged
viethung0o0 merged 3 commits into
mainfrom
feat/whatsapp-payment-requests
Nov 10, 2026
Merged

viethung0o0 merged 3 commits into
mainfrom
feat/whatsapp-payment-requests

Conversation

@viethung0o0

@viethung0o0 viethung0o0 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Templates with a Brazil payment button (Pix, Boleto, payment link, one-click card) can now be sent from flows, broadcasts, the inbox and the public API.
  • Users only enter what their payment provider generates per customer, and each value accepts variables. The payment type, button position, currency and amount scale come from the template.
  • New channel setting to send Pix with redirect, in the channel settings page and at /v1/whatsapp-channels/{id}/payment-settings.
  • A payment that does not match its template, or has an empty, invalid or unresolved value, is stopped before sending and is not retried. Broadcast create checks it against the template too.
  • Sent payment requests show as a card in the inbox. A buyer's one-click confirmation is saved and shown there too. Charging the card is not included.
  • Contacts can be created with a WhatsApp phone number, a business-scoped user ID, or both.
  • Publishing a flow now fails when an "Add to pipeline" step leaves a required pipeline field empty, and the editor warns about it.
  • Includes a migration (one boolean column, default false). It is not applied anywhere yet.

Validation

  • pnpm lint
  • check-types and vitest for flow-config, business, whatsapp, worker and builder
  • Checked in the browser with an approved Pix template (message template form and preview)
  • Not yet tried with a real send: Pix with redirect, one-click, Boleto and payment link
  • Needs before release: run the migration

@github-actions github-actions Bot added the feature New feature or request label Nov 5, 2026
@viethung0o0 viethung0o0 changed the title feat(whatsapp): send payment request buttons in Brazil templates feat(whatsapp): payment request buttons, contact WhatsApp identity, pipeline field check Nov 10, 2026
@viethung0o0
viethung0o0 force-pushed the feat/whatsapp-payment-requests branch from 823406b to 77d9467 Compare November 10, 2026 10:56
@viethung0o0
viethung0o0 marked this pull request as ready for review November 10, 2026 11:30
@viethung0o0
viethung0o0 merged commit 8eb7fe3 into main Nov 10, 2026
14 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants