customerPaymentMethodRemoteCreditCardCreate does not exist on type mutation

justinffortier
New Member
1 0 0

I am getting the following response when hitting the customerPaymentMethodRemoteCreditCardCreate mutation... All other mutations under the customer object are working and it doesn't seem to be a problem with invalid `stripeCustomerId` or `customerId` inputs... 

I have added the mutation and error below...

mutation MyMutation {
  customerPaymentMethodRemoteCreditCardCreate(
    stripeCustomerId: "ID", 
    customerId: "ID"
  ) {
    customerPaymentMethod {
      id
    }
  }
}

 

{
    "errors": [
        {
            "message": "Field 'customerPaymentMethodRemoteCreditCardCreate' doesn't exist on type 'Mutation'",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": [
                "mutation MyMutation",
                "customerPaymentMethodRemoteCreditCardCreate"
            ],
            "extensions": {
                "code": "undefinedField",
                "typeName": "Mutation",
                "fieldName": "customerPaymentMethodRemoteCreditCardCreate"
            }
        }
    ]
}

 

0 Likes