rick 17c0551711 Switch to PerfectDraft web reCAPTCHA key
The Android key (6LdrqmAp...) only works with the Android SDK —
it rejects all web-based token generation with "Invalid domain."

Discovered that perfectdraft.com's web login uses a separate
Enterprise web key (6LcZQiUo...) with action "Magento/login".
Testing confirmed the API at api.perfectdraft.com accepts tokens
from this web key. The only remaining requirement is a high
reCAPTCHA score, which a real user's browser will provide.

The external step flow now uses:
- Enterprise JS (recaptcha/enterprise.js)
- Web site key: 6LcZQiUoAAAAAAO3JUjLiT470c-pNXbWyepuvMtV
- Action: Magento/login

Removed server-side token generation attempt from config flow
since it cannot produce high-score tokens.

Made-with: Cursor
2026-04-11 21:04:56 +02:00
S
Description
An attempt at integrating Philips PerfectDraft Pro
829 KiB
Languages
Python 98.6%
Shell 1.4%