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
Native checkout honours the payment gateway's result. handle_place ignored the value process_payment() returned, so a
declined or failed payment still produced a 200 with an order id and the
widget showed "Order confirmed". Anything other than result: success,
or an order left failed or cancelled, now returns 402 payment_failed
with the gateway's shopper-safe message and no order id. Success responses
include the order status.
Embedded checkout bridge confirms only paid or on-hold orders.
Failed and cancelled orders post order_failed; pending and unknown
statuses post pending, which the widget ignores.
Security
Order lookup by id skips draft, auto-draft and trashed orders.
ACP feed: optional bearer secret (idea89_acp_secret, compared with hash_equals) and API-Version pin; paginated wc_get_products query
instead of loading the whole catalogue; 60 requests per minute per IP; Cache-Control: private, no-store when a secret is set.
Added
Catalogue sync key (idea89_sync_key, not autoloaded, removed on
uninstall), sent as X-IDEA89-Sync-Key on catalogue writes only.