Closed sanzeeb3 closed 1 year ago
@sanzeeb3 What was the error you received from get_license_key
?
@gilbitron 404
Error was the response. https://api.lemonsqueezy.com/v1/license-keys/20772/?include=store,product,order-item - the URL.
Ah, this is a test mode license key. Unfortunately, our WordPress plugin doesn't support authenticating with test mode at the moment so any calls to the full API (not the license API) will fail. See #18.
Describe the bug When using LS Example Plugin Updater, the updates never arrived with the error:
[body] => {"success":false,"error":"Error fetching license_key","error_code":"error_fetching_license_key"}
the activation/deactivation worked fine.
While looking into LS plugin, here:
https://github.com/Make-Lemonade/lemonsqueezy-wp/blob/develop/src/class-lsq-updater.php
get_license()
returned the license object fine.but,
get_license_key()
resulted in the response error. Which caused the error:To Reproduce Steps to reproduce the behavior:
Software (please complete the following information):
Additional context Add any other context about the problem here.