What goes where
The most common confusion is where to paste what. This table sums it up.
| Item | Where you get it | Where it goes |
|---|---|---|
| Platform base URL | Hotsale gives it to you | Magento → Stores → Configuration → Sales → Yape Connector |
Secret key sk_test_… / sk_live_… |
Panel → API keys (shown only when created) | Magento → Yape Connector → Llave secreta del conector |
Environment (test / live) |
Your choice | Magento → Yape Connector → Entorno. Must match the key |
| Policy mode | Your choice | Magento → Yape Connector → Modo de política. Start on Shadow |
| Webhook secret (optional) | Panel → Webhooks | Magento → Yape Connector → Secreto del webhook |
| Yape number, holder and QR | Your Yape account | Magento → Payment Methods → Yape (Hotsale Detector) |
| Payment window, instructions | Your choice | Magento → Payment Methods → Yape (Hotsale Detector) |
Linking code HS-… |
Panel → Devices → Link device | Android app, on the first screen (or by tapping Sin vincular) |
Quick rules
Section titled “Quick rules”- The
sklives only in Magento. Never on the phone, in an email or in a repository. - The phone only gets the linking code; with it, it obtains its own credentials.
- One website, one environment. If you switch from
testtolive, change that website’s key too. - If you re-link the phone to another store or environment, pending payments from the previous link are not sent to the new one.