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
This issue follows up on #10092. Previously, we added metadata to the error, but we noticed that this metadata is stripped by the Jetpack REST API endpoint of WPCOM. This endpoint is used by mobile apps to access the store's capture_terminal_payment endpoint of the WooCommerce REST API.
In this pull request, we are including the JSON-formatted error metadata within the error message, as the error message itself is not stripped from the response.
Acceptance criteria
Include the JSON-formatted metadata as part of the error message.
The metadata should include:
Minimum amount: The amount in the smallest currency unit (e.g., 50).
Currency: The currency code in ISO 4217 format (e.g., USD).
Additional context
Discussion in Slack: p1738161784891029-slack-C025A8VV728
The text was updated successfully, but these errors were encountered:
Description
This issue follows up on #10092. Previously, we added metadata to the error, but we noticed that this metadata is stripped by the Jetpack REST API endpoint of WPCOM. This endpoint is used by mobile apps to access the store's
capture_terminal_payment
endpoint of the WooCommerce REST API.In this pull request, we are including the JSON-formatted error metadata within the error message, as the error message itself is not stripped from the response.
Acceptance criteria
Additional context
Discussion in Slack: p1738161784891029-slack-C025A8VV728
The text was updated successfully, but these errors were encountered: