gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

Field 'endpoint' doesn't exist on type 'WebhookSubscription' #870

Closed Latonna closed 3 years ago

Latonna commented 3 years ago

I have upgraded to 17.0.0 for Removal of dependency on cookies, I installed a webhook AppUninstalledJob my shopify-app.php Snip - vl1 - shopify-app php PhpStor and when i try installing app i get this error - Field 'endpoint' doesn't exist on type 'WebhookSubscription', after refresh - Missing auth url. Help me, thanks Snip - Field 'endpoint' doesn't exist on type 'WebhookSubscription' - Google Chrome

squatto commented 3 years ago

What version of the Shopify API are you using? You can find out by getting the value of config('shopify-app.api_version').

For example, you can get it in the Tinker shell:

$ php artisan tinker
>>> echo config('shopify-app.api_version')
2021-01
Latonna commented 3 years ago

hello. thanks for the answer, Snip - devstasr@dev ~ www vl1 devstasr m wdgtest com public_html

Latonna commented 3 years ago

What version of the Shopify API are you using? You can find out by getting the value of config('shopify-app.api_version').

For example, you can get it in the Tinker shell:

$ php artisan tinker
>>> echo config('shopify-app.api_version')
2021-01

thanks a lot, I changed the version in my file shopify-app.php - 2021-01 and the error disappeared

squatto commented 3 years ago

You're very welcome! I'm glad that did the trick.