Test webhooks locally
Test Mollie webhooks locally by using a tunneling app.
Before you start
Steps
Run a command to overwrite the domain. For example:
./ngrok http --host-header=rewrite my-local-gambio-domain:443The app returns a public URL such as
https://123456789.ngrok.io.Add the public URL to the Mollie Gambio configuration service (
Mollie\Gambio\Services\Business\ConfigurationService) by modifying itsgetDebugUrlmethod./** * Returns the debug url for your local environment * * @return string */ public function getDebugUrl() { return 'https://123456789.ngrok.io'; }