Skip to content

[Easy] Update Message Sending API from Messages to Message Events#3182

Closed
woo-ardsouza wants to merge 1 commit intomainfrom
waum-message-events
Closed

[Easy] Update Message Sending API from Messages to Message Events#3182
woo-ardsouza wants to merge 1 commit intomainfrom
waum-message-events

Conversation

@woo-ardsouza
Copy link
Copy Markdown
Contributor

Description

We were using CloudAPI to send WhatsApp Utility Messages due to a dedupe logic bug in the Message Events Post API. With this issue being resolved in D74522961, updated the message sending api to Message Events

Changelog entry

Update Message Sending API from Messages to Message Events

Test Plan

Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration.

Screenshots

Please provide screenshots or snapshots of the system/state both before and after implementing the changes, if appropriate

Before

After

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@woo-ardsouza has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T21:10:19.450Z
Commit: 794fa31
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T21:10:19.450Z
Commit: 794fa31
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@woo-ardsouza merged this pull request in 987c97f.

sharunaanandraj pushed a commit that referenced this pull request May 15, 2025
Summary:
## Description
We were using Messages Post API (CloudAPI) to send WhatsApp Utility Messages due to a dedupe logic bug in the Message Events Post API. With this issue being resolved in [D74522961](https://www.internalfb.com/diff/D74522961), updated the message sending api to Message Events

## Changelog entry
Update Message Sending API from Messages to Message Events

Pull Request resolved: #3182

Test Plan:
## Steps
1. Activate all Event Configs
2. Checkout an item and enable setting to receive order updates on WhatsApp
3. Place Order
4. Validate Order Placed message is sent on WhatsApp
5. Update Order Status to Completed on Orders Admin
6. Validate Order Fulfilled message is sent on WhatsApp
7. Update Order Status to Refunded on Orders Admin
8. Validate Order Refunded message is sent on WhatsApp

## Screen Recording
https://pxl.cl/7drLq

Reviewed By: sharunaanandraj

Differential Revision:
D74679169

Privacy Context Container: L1332882

Pulled By: woo-ardsouza

fbshipit-source-id: a7d2726a1f9c363ccb7656f8c2f201408a993583
@tzahgr tzahgr mentioned this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants