Skip to content
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

Getting Issue while checkout #56

Open
ashrafwbst opened this issue Jan 18, 2021 · 0 comments
Open

Getting Issue while checkout #56

ashrafwbst opened this issue Jan 18, 2021 · 0 comments

Comments

@ashrafwbst
Copy link

HI, I getting an issue while checkout and I already updated all the gatsby and wordpress plugins which is updated on the repository around 20days ago, mutation payload you can see below

{operationName: "CHECKOUT_MUTATION",…}
operationName: "CHECKOUT_MUTATION"
query: "mutation CHECKOUT_MUTATION($input: CheckoutInput!) {↵ checkout(input: $input) {↵ clientMutationId↵ order {↵ id↵ orderKey↵ refunds {↵ nodes {↵ amount↵ __typename↵ }↵ __typename↵ }↵ status↵ __typename↵ }↵ result↵ redirect↵ __typename↵ }↵}↵"
variables: {input: {clientMutationId: "44b09c60-0743-42b1-82df-fef82a579033",…}}
input: {clientMutationId: "44b09c60-0743-42b1-82df-fef82a579033",…}
billing: {firstName: "Vinay", lastName: "Krishna", address1: "415xxxxxxxxxxx", address2: "lakhimpur kheri",…}
address1: "415xxxxxxxxxxx"
address2: "lakhimpur kheri"
city: "Lucknow"
company: "sdfdsf"
country: "IN"
email: "[email protected]"
firstName: "Vinay"
lastName: "Krishna"
phone: "4444444444"
postcode: "226024"
state: "Uttar Pradesh"
clientMutationId: "44b09c60-0743-42b1-82df-fef82a579033"
customerNote: "note"
isPaid: false
paymentMethod: "cod"
shipToDifferentAddress: false
shipping: {firstName: "Vinay", lastName: "Krishna", address1: "415xxxxxxxxxxx", address2: "lakhimpur kheri",…}
address1: "415xxxxxxxxxxx"
address2: "lakhimpur kheri"
city: "Lucknow"
company: "sdfdsf"
country: "IN"
email: "[email protected]"
firstName: "Vinay"
lastName: "Krishna"
phone: "4444444444"
postcode: "226024"
state: "Uttar Pradesh"
transactionId: "hjkhjkhsdsdiui"

error is

{"errors":[{"debugMessage":"Too few arguments to function THMAF_Public::add_address_from_checkout(), 1 passed in /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected","message":"Internal server error","extensions":{"category":"internal"},"locations":[{"line":2,"column":3}],"path":["checkout"]}],"data":{"checkout":null},"extensions":{"debug":[]}}

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

No branches or pull requests

1 participant