You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
When synchronising a product with Woocommerce using OAuth1, we encounter an error "Invalid signature - provided signature does not match"
Woosync uses the default value of the OAuth1 client (https://github.com/OPEN-DSI/ecommerceng_woosync/blob/2022.5.3/class/client/eCommerceClientWooCommerceApi.class.php#L85) which does not include the POST parameters in the request signature (https://github.com/OPEN-DSI/ecommerceng_woosync/blob/2022.5.3/includes/oauth-subscriber-woocommerce/src/Oauth1.php#L69).
However, Woocommerce expects them (https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/class-wc-rest-authentication.php#L270)
Note that always setting the parameter to true won't solve the problem because Woocommerce doesn't expect PUT parameters in method serialization.
The text was updated successfully, but these errors were encountered: