BAD_USER_INPUT on addPaymentToOrder mutation. #1496
-
Hello, I've been having some issues trying to understand why my addPaymentToOrder mutation is failing. I created a stackoverflow question as well - but unsure if I'll get any replies there so I'll ask the community here as well. I'm trying to add a payment to my order, but I'm getting I'm running latest Vendure ( My very simple mutation looks like this:
My variables looks like this:
And the hook declaration looks like this:
The error I get looks like this:
The error points to the
I'd appreciate any help understanding this - I know it's not really Vendure, since it's an Apollo issue. But I'd appreciate any help the community can lend me. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Sure!
|
Beta Was this translation helpful? Give feedback.
-
I've followed same pattern as in other mutations. Login for example:
|
Beta Was this translation helpful? Give feedback.
-
ok, maybe it would be helpful to share what is happening in the network tab of your browser - what does the actual request look like? |
Beta Was this translation helpful? Give feedback.
-
Definitely! I really appreciate the help! =) Headers
Payload
Preview
Response
|
Beta Was this translation helpful? Give feedback.
ok, maybe it would be helpful to share what is happening in the network tab of your browser - what does the actual request look like?