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 is because we have a condition here to declare them only on non admin pages so if an async request is triggered through an admin page - the webhook execution will fail with
action failed via Async Request: Invalid discount type
9274503-zen
We've discussed it here.
Webhooks failing with "invalid discount type" message when a pseudo coupon is present in the order.
https://github.com/Automattic/woocommerce-subscriptions-core/blob/fd5f568407a797ae18d1fbcbb06c037312d0ee58/includes/class-wc-subscriptions-coupon.php#L86C1-L89C4
This is because we have a condition here to declare them only on non admin pages so if an async request is triggered through an admin page - the webhook execution will fail with
Full Trace
The text was updated successfully, but these errors were encountered: