-
Notifications
You must be signed in to change notification settings - Fork 12k
Open
Labels
Medium priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub Syncapiarea: API, enterprise API, access token, OAutharea: API, enterprise API, access token, OAuthplatformAnything related to our platform planAnything related to our platform plan🐛 bugSomething isn't workingSomething isn't working
Milestone
Description
Issue Summary
The /payments API and /payments/[id] endpoints are returning zod errors, making it impossible to retrieve the payment UID necessary for constructing abandoned cart recovery links.
Steps to Reproduce
- Make a request to the
/paymentsAPI. - Observe the response, which returns zod errors.
- Make a request to the
/payments/[id]endpoint. - Observe the response, which also returns zod errors.
This issue is considered a bug because the API should return valid data without errors, enabling the retrieval of the payment UID.
Actual Results
- The
/paymentsAPI and/payments/[id]endpoints return zod errors, preventing the retrieval of payment UIDs.
Expected Results
- The
/paymentsAPI and/payments/[id]endpoints should return valid responses, including the payment UID, without any zod errors.
Technical details
Evidence
- This bug was tested by making API requests to
/paymentsand/payments/[id]. Both endpoints returned zod errors.
By following the steps above, you can replicate the issue and observe the unexpected zod errors. The expected outcome is that the API should return the required payment UID without any errors
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Medium priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub Syncapiarea: API, enterprise API, access token, OAutharea: API, enterprise API, access token, OAuthplatformAnything related to our platform planAnything related to our platform plan🐛 bugSomething isn't workingSomething isn't working