We have 3 shops as customers for our App
We installed 1 shop like 6 month ago and the others two weeks ago (Jan 2023)
For all shops we set up the manifest like this:
...
<webhook name="orderWritten" url="https://shopwareapp.keepoala.com/api/order_conversion" event="checkout.order.placed"/> <!-- replace local url with real one -->
<webhook name="orderPayed" url="https://shopwareapp.keepoala.com/api/order_payed" event="state_enter.order_transaction.state.paid"/> <!-- replace local url with real one -->
<webhook name="orderReturned" url="https://shopwareapp.keepoala.com/api/order_returned" event="state_enter.order_delivery.state.returned"/> <!-- replace local url with real one -->
<webhook name="orderReturnedPartially" url="https://shopwareapp.keepoala.com/api/order_returned" event="state_enter.order_delivery.state.returned_partially"/> <!-- replace local url with real one -->
...
Our endpoints are simply Endpoints of our NodeJS app.
Now the thing is, that upon order creation for the shops that are new, everything is working fine, we receive events, we can handle the order creation
For the old one, nothing happens Really, nothing. The registration and confirm endpoint work fine, but none of the webhooks ever get’s fired. We tried to uninstall / install a few times already. It’s a mysterium why it doesn’t work for our long-term partner.
It stoped at 2022-09-27T09:13:16.831+00:00 - we did not change our app then. Somehow there must have been an update to Shopware 6
Hey,
has the order webhooks be in the app from the beginning e.g. version 1.0 or did you added these webhooks later?
Are all shops self-hosted? Did anything else changed in the shop on the date you mentioned?
Has all shops the same Shopware Version?
Did you try to delete the app in the first shop and reupload and install it?
Best Timo
has the order webhooks be in the app from the beginning e.g. version 1.0 or did you added these webhooks later? - from the start
Are all shops self-hosted? - no, I guess hosted on Shopware, but good point, I need to check with all customers. But this would mean, there is a bug in Shopware
Did anything else changed in the shop on the date you mentioned? - Shopware Version update, I guess a lot of other Plugins installed
Has all shops the same Shopware Version? - 6.4 and higher
Did you try to delete the app in the first shop and reupload and install it? - Yes, like 5x
Are all shops self-hosted? - no, I guess hosted on Shopware, but good point, I need to check with all customers. But this would mean, there is a bug in Shopware
Ok so i would recommend to check if all shops have the same Shopware Version. If yes, it seems not to be a Shopware Bug. If not, you should have a deeper look on it or install a blank Shopware in that Version from Shop 1 where it is not working as exspected.
Did anything else changed in the shop on the date you mentioned? - Shopware Version update, I guess a lot of other Plugins installed
Ok, so it could also be a problem with another App or Plugin. I would try to install Apps/Plugins that are installed and active in „the problem shop“ in a test environment with your App to see if it works if you deactivate plugin 1, if not follow with deactivate Plugin 2 and so on …
(If you have a good customer relation, maybe you could do it directly in the live environment - otherwise use a test environment)
Best regards,
Timo