Comments (9)
It was my fault, I had changed a domain for the app but forgot to update the webhook links in the app configuration.
from laravel-shopify.
I just tested a webhook and all went well on my end, do you have any error messages?
from laravel-shopify.
I am getting undefined variable shopDomain
from laravel-shopify.
Shop domain comes from x-shopify-shop-domain header and body comes from the request. You're saying you're not getting either?
What type of webhook is this?
Can you share the constructor?
Is it going through the webhook controller or did you do something custom?
Odd because the auth.webhook middleware would fail if the shop was missing.
from laravel-shopify.
I tried it on another page and I get that error. Is that only valid for the webhook?
The webhook gets the request from shopify and gives it to the worker which is then processed, I do not get any errors in my worker database tables but when I try any webhook it doesn't actually do what it should. Would the errors appear in the laravel log or the php log?
from laravel-shopify.
public function __construct($shopDomain, $data)
{
$this->shopDomain = $shopDomain;
$this->data = $data;
}
from laravel-shopify.
When you say you try the job, what do you mean by this?
If theres any errors it may be in the php/laravel log yes. If the job gets the queue, then it has passed the validation on the middleware, which means it should have all the data it needs to run.
from laravel-shopify.
I used different webhook actions such as delete a product from my shopify store, as well as delete the app but it doesn't process anything from the database.
from laravel-shopify.
@demoskp Can you share the route, the controller action that the route points to, your webhook job and your shopify-app config file showing the webhook?
This is going to be difficult to troubleshoot without having the entire flow. Thanks.
from laravel-shopify.
Related Issues (20)
- CSRF token mismatch error in POST call using Ajax HOT 1
- Osiset\ShopifyApp\Exceptions\MissingAuthUrlException HOT 4
- 17.2 In the package in which I am facing the problem 302 status, I send the request or delete the error value, this is a problem facing HOT 3
- App must set security headers to protect against clickjacking && App must verify the authenticity of the request from Shopify. HOT 10
- rest api HOT 6
- There was an error opening your app in the Shopify admin. Your embedded app is loading an invalid URL (17.2) HOT 21
- shopify appuinstalljob problem HOT 2
- Scope Re-approval HOT 2
- Missing host parameter on getConfig(api_key) call HOT 1
- ORDER_TRANSACTIONS_CREATE Webhook not register on shopify HOT 3
- No authenticated user or shop domain error on command call HOT 1
- How to update webhook URL's for old stores? HOT 2
- Alpine.js/Livewire and Power-Grid Authentication redirect hangup HOT 1
- MissingAuthUrlException (Missing auth url) HOT 3
- The app not works on https://admin.shopify.com HOT 22
- Auth:user->name and utils Issues while Upgrading v12.x to v17.x HOT 2
- "Shopify App Outdated" but running latest app bridge, osiset, etc HOT 29
- Approving recurring billing throws SignatureVerificationException using BLADE frontend_engine config HOT 8
- upgrading and downgrading plan got issue first time.. HOT 1
- App Extension Set up Issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-shopify.