TranslatePress seems to be breaking Woocommerce Webhooks
-
Hello, I’m facing an issue I’m hoping you could help me with.
As you know, when woocommerce sends webhook notifications for new orders, it also sends along a key that it generates from that order payload. The payload it uses contains some text annotated with trp-gettext.
However, the order payload that wordpress sends to my server has that annotation stripped. As a result, my server cannot generate the same authentication key, and thus cannot ensure the order is indeed coming from wordpress.
Specifically, for my case, the path in the order payload that contains this annotated text is order->shipping_lines->meta_data->key.
Its value when wordpress generates the key is “#!trpst#trp-gettext data-trpgettextoriginal=1721#!trpen#Items#!trpst#/trp-gettext#!trpen#”, however inside the order payload as it arrives to my server, it’s just “Items”
Edit: I should also mention I’m using version 2.6.1 and woocommerce 8.0.3
- The topic ‘TranslatePress seems to be breaking Woocommerce Webhooks’ is closed to new replies.