Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

HTTP ERROR [422] . The given data was invalid. #39

Closed
evans123456 opened this issue Dec 18, 2020 · 1 comment
Closed

HTTP ERROR [422] . The given data was invalid. #39

evans123456 opened this issue Dec 18, 2020 · 1 comment

Comments

@evans123456
Copy link

Hope you are well, I'm new to commerce.js and I've been trying to create a capture of the cart, so as to get the payment confirmation. My API is being called as below.

image

the orderData variable is as below

image

the error am getting

image

please help. Thanks

@ScopeyNZ
Copy link
Contributor

ScopeyNZ commented Dec 18, 2020

Hi Wahome. This issue looks like it's more suited for chec/commerce.js. A 422 error returned (in your network tab) provides more advice on what the problem is. Please refer to the error there. Also, feel free to join our Slack and ask for further help there: http://slack.commercejs.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants