api rest vs page for the callback?
Created by: tttp
Reading the instruction:
Post to URL, enter the resource URL from 5 above, followed by biz.jmaconsulting.mte/CRM/Mte/Page/callback.php. For example: http://yourorg.org/civicrm/mte/callback?name=username&pass=password&key=civicrm-site-key
Isn't handling the name+pass as get param and do the authentication something drupal specific? have you tried on WP or J! ?
moreover, I didn't see where you test for the key.
Wouldn't it make sense to move all the page logic into a custom api mte.callback and so you can rely on the sites/all/modules/extern/rest.php?action=callnback&entity=mte&api_key=&key= ? So you are sure that it works as well for all the CMS,