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

Webhooks Interface Error #84

Closed
beckbailey opened this issue Oct 17, 2023 · 7 comments
Closed

Webhooks Interface Error #84

beckbailey opened this issue Oct 17, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@beckbailey
Copy link

Description

I've configured the plugin and input the connection settings. When I get to the webhooks step in the documentation I get an error when I try to visit that interface in the CP. I have a multi-site configuration. I tried inputting the API values directly in the interface and as variables in my env file. Stack trace attached.
shopify-trace.txt

Steps to reproduce

See above

Additional info

  • Craft version: 4.5.6.1
  • PHP version: 8.0.26
  • Database driver & version: MySQL 5.7.41
  • Plugins & versions: Shopify 3.2.0
@beckbailey beckbailey added the bug Something isn't working label Oct 17, 2023
@beckbailey
Copy link
Author

I believe this is related to #81

@nfourtythree
Copy link
Contributor

Hi @beckbailey

Which "Webhook version" did you set in your custom develop app in your Shopify store?

Thanks

@beckbailey
Copy link
Author

@nfourtythree I tried all that I have available to me with no success. Right now it's set to
2023-10. Here's what I can select from:
Screenshot_34

@nfourtythree
Copy link
Contributor

@beckbailey ah yes I can see that they have finally dropped support for 2022-10 for newly created apps.

We were waiting on this issue to be resolved in the Shopify PHP API: Shopify/shopify-api-php#300

That has now been resolved, so we have started our process to get a new release out of this plugin so it can be compatible. We are looking to get that out ASAP.

If you are in desperate need for this right now you can change your craftcms/shopify requirement in your project's composer.json to:

"require": {
  "craftcms/shopify": "4.0.x-dev as 4.0.0",
  "...": "..."
}

Then run composer update.

@lukeholder
Copy link
Member

This is fixed for the next release. I will update this issue once Shopify 4.0 is out.

@lukeholder
Copy link
Member

4.0.0 is now out. Make sure to read the changelog item to learn what you need to do to upgrade. The readme also contains instructions.

@beckbailey
Copy link
Author

beckbailey commented Jan 31, 2024

I just got back to this and it's still not working for me.
I attached my error. I checked and regenerated my credentials multiple times. My host name did change on my Shopify install since my initial post but I have updated it in the Craft config.

error-shopify.txt

CraftCMS: 4.7.1
Shopify: 4.0
PHP version: 8.0.26
Database driver & version: MySQL 5.7.41

Update: after seeing this post I changed my hostname to the secondary myshopify domain and it worked just like this post: #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants