ID parameter for webhook
Posted: Wed Mar 19, 2014 11:43 am
I am writing a module to use the Mollie API (dutch iDeal).
One part of this API is that you can specify an url for a webhook. After a payment Mollie sends a POST request to that url with a variable called 'id'. With this ID you can get the payment status and update your local database.
But the annoying part is, cmsms does not support this 'id' variable. I specified a route in my module but it only shows the layout, not the action contents for this route when i use the 'id' parameter. It works when i remove the 'id' parameter.
This happens with a $_GET['id'] or a $_POST['id'].
Any solutions??
One part of this API is that you can specify an url for a webhook. After a payment Mollie sends a POST request to that url with a variable called 'id'. With this ID you can get the payment status and update your local database.
But the annoying part is, cmsms does not support this 'id' variable. I specified a route in my module but it only shows the layout, not the action contents for this route when i use the 'id' parameter. It works when i remove the 'id' parameter.
This happens with a $_GET['id'] or a $_POST['id'].
Any solutions??