v3.4.159
Highlights
-
Admin alert emails on Google-account failures — the site admin now gets an email every time a customer-facing Drive operation fails because the connected Google account is unavailable (disconnected, expired/revoked token, missing credentials, or undecryptable stored data). Each alert links to the Settings tab. Multi-item orders and multi-file grants group into a single email per event so webhooks can't flood your inbox.
-
Reassuring customer messaging — when the Google account is unreachable:
- Self-service: customers see "Your order has been received and is safe… We will continue processing your order and you will receive further instructions by email. No action is needed from you." (instead of the generic "no entitlements created" error), and the rate-limit tokens are refunded so a later retry isn't blocked.
- Claim page: customers see "Your identity has been verified. We are experiencing a temporary issue connecting to Google Drive… We will continue processing this automatically…" instead of the generic retry message.
- Order processing: the skipped-order path now notes the order is on hold for manual assignment and alerts the admin.
Fixes & improvements
- New
WGDP_Google_Auth::is_account_error()distinguishes account-connectivity failures from transient API/network errors, so genuine account problems trigger the alert while momentary 5xx responses don't. - Updated the Step 4 (Create OAuth Client ID) guide wording to match Google's current console — client secrets can no longer be viewed/downloaded after creation; the "Add secret" + copy button is the recovery path, and running two secrets at once is now explicitly called out.
Notes
- Continues the v3.4.158 credential-reset recovery work.