Webhook orders/paid not triggered with Bogus Gateway

When I make a test payment with Bogus gateway, my webhook orders/paid configured with google pub/sub is not delivered. I receive the data correctly in google pub/sub but nothing in the delivery logs of my shopify dashboard partner or my endpoint. Yet when I test the creation of an order manually by marking it paid it correctly delivers the webhook returning a 200 response in my Shopify delivery logs. In shopify admin orders, the order placed with Bogus Gateway is marked as paid. I also tested with a test order via Stripe and I have the same thing, the data arrive in google pub/sub but are not delivered.
I have the protected customer data access approved and the correct required scopes (orders/paid webhooks for manually created and manually paid orders work perfectly).
The problem seems to come from the payment tests that don’t work with the webhook orders/paid? Do you have an idea? Thank you

Hi Antoine,

This does sound like a limitation with the bogus gateway - I’ll connect with the relevant team on this. When you say

I also tested with a test order via Stripe and I have the same thing

Is this with Shopify Payments in test mode?

Hi Liam,

thank you for your feedback !

No, it’s Stripe where I activated the test mode and then entered a fake blue card at checkout for the test order.

And this is on a development store, right?

Yes with the dawn theme.

It does seem that since the test order is technically not paid (as in there’s not “real” transaction) - the webhook is not being triggered. Which isn’t an issue with the Bogus Gateway, but more how Shopify recognises a transaction that should trigger the orders/paid webhook.

Do you need this for testing an app you’re building?

I already have a public online application, and I need to test the webhook with my development environment. I am receiving the data correctly on Google Pub/Sub, and the order is being properly marked paid. The data just doesn’t show up in Shopify metrics or on my route/endpoint. Is there a solution?

If you create an order in Shopify Admin, and manually mark it as paid. Do you receive the webhook?

Yes i receive everything correctly (google pub/sub + logs in the shopify metrics) when i create the order in Shopify admin and manually mark it as paid. It’s only with test orders (Bogus Gateway or stripe) where I see the webhook arrive in google pub/sub messages but not in shopify metrics or in my endpoint. I need to make a test order by going through the checkout to trigger and arrive on my post purchase page (my app) in order to trigger the webhook orders/paid with and be able to recover the revenue generated with the app. Is there a way of triggering this webhook orders/paid correctly, with a test order or otherwise, so that I can test my code?