Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Return status code 200 on virtual route

Started by Thomas Vantuycom 7 years ago · 2 replies · 633 views
7 years ago

I'm working on a plugin to receive payments through Mollie. Part of the payment flow is a call from Mollie's side to a webhook on my server. I'm able to create a virtual route that acts as a webhook address, I receive the call, but I need to respond with a status code 200 to notify that I received the call and stop Mollie from trying again. How do I do that in Grav, if no actual page corresponds to the webhook route?

7 years ago

What are your virtual route pages currently returning for HTTP status?

7 years ago

It returns a 404, despite the fact that I receive the webhook call and am able to process it.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago