-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link user logged in at checkout #320
Comments
@felipepxavier Have you tried looking at this pinned issue? #147 If you're in a hurry just look for a link containing QL Session Handler in the label. It'll take you to a PR summary with a React/Apollo example of what you need to implement in your client side application. For future reference, you can find the link in the repo README. |
Hi @kidunot89 ! |
Hello @felipepxavier! Have you fixed this issue? I'm facing the same problem here. My orders are always linked to the invited user. |
Describe the bug
Hello, I would like to know how to link a user logged in to a mutation at checkout?
I'm using "wp-graphql-jwt-authentication", so I have the user id, but I don't know how to insert it in mutation, any suggestions?
my mutation
const CHECKOUT_MUTATION = gql`
mutation CHECKOUT_MUTATION( $input: CheckoutInput! ) {
checkout(input: $input) {
clientMutationId
}
}
`;
The text was updated successfully, but these errors were encountered: