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
When using the latest version (v3.5.0) of the SDK, calling the authenticate.public.checkout method from the Checkout UI extension consistently throws a 401 Unauthorized error. The issue is not present in version v3.4.0, where the same code works as expected.
Please investigate the changes introduced in v3.5.0 that may have affected the authenticate.public.checkout method. If this behavior is intentional due to an API or SDK update, kindly update the documentation or provide guidance on required changes.
Thank you! 😊
The text was updated successfully, but these errors were encountered:
Description
When using the latest version (v3.5.0) of the SDK, calling the authenticate.public.checkout method from the Checkout UI extension consistently throws a 401 Unauthorized error. The issue is not present in version v3.4.0, where the same code works as expected.
Here’s the implementation:
Steps to Reproduce
Expected Behavior
The request should authenticate successfully, and the API should proceed without errors.
Actual Behavior
The request fails with the following response:
Debug Logs
The error consistently shows 401 Unauthorized.
The shop field in the logs appears to be null.
Workaround
Downgrading to version v3.4.0 resolves the issue. The authentication mechanism works as intended in this version.
Additional Information
Environment: Node v22
SDK Version: v3.5.0
Checkout Extension Version: 2024-10
Request
Please investigate the changes introduced in v3.5.0 that may have affected the authenticate.public.checkout method. If this behavior is intentional due to an API or SDK update, kindly update the documentation or provide guidance on required changes.
Thank you! 😊
The text was updated successfully, but these errors were encountered: