Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: PaymentsAppConfigure doesn't exist on type 'Mutation'"

Solved

PaymentsAppConfigure doesn't exist on type 'Mutation'"

prashantk
Tourist
7 1 1

Hello.

 

While developing a payments app I'm getting error "Field 'paymentsAppConfigure' doesn't exist on type 'Mutation'". I also checked the endpoint https://xxx.myshopify.com/admin/api/2021-01/graphql.json with a GraphQL client such as graphiql (after authorization and with following scopes enabled:

'write_payment_gateways''write_payment_sessions''read_payment_gateways''read_payment_sessions'

) and the required mutation doesn't appear there in the list.

 

My app is public and extension of type "Offsite payment provider" is published and approved.

Please see the attached screen for the request and error.

Accepted Solution (1)

prashantk
Tourist
7 1 1

This is an accepted solution.

I have tried to consume the GraphQL Mutation using CURL request in laravel and it's working for me. Now the Payment App can be Activate or Deactivate.

Thanks

View solution in original post

Replies 5 (5)

jaspersibayan
Shopify Partner
9 0 4

Hi,

 

Try using 2021-10 api version.

prashantk
Tourist
7 1 1

Hi @jaspersibayan ,

I already tried with 2021-10 API Version. But it's not working and the same error occurs.

I Really appreciate for your suggestion.

 

Thanks 

jaspersibayan
Shopify Partner
9 0 4

I think you're using the wrong endpoint. It should be payments_apps instead of admin.

prashantk
Tourist
7 1 1

Hi @jaspersibayan ,

Thanks to mention that but i already tried with payments_apps instead of admin.

prashantk
Tourist
7 1 1

This is an accepted solution.

I have tried to consume the GraphQL Mutation using CURL request in laravel and it's working for me. Now the Payment App can be Activate or Deactivate.

Thanks