I'm having terrible trouble getting an updated EE2.7.2 / CartThrob 2.4 MSM site to integrate with Sagepay (Europe Offsite). Every time I try to go out to sagepay from the checkout page, I'm returned to my order_complete template with an error:
3011 : The NotificationURL format is incorrect
I think I've configured extload.php correctly (when I request it in the browser, I don't get any errors, and I've set the system path absolutely).
I really need to see what notification url is being generated (if any) so that I can debug from there, but I don't know if the payment gateway plugin is invoking even extload.php or not. The payment notification function references it (
function extload($post)), so I was working on the assumption that it was using it, but I don't know how to confirm.
I've tried using LiveHTTPHeaders to watch what goes out, but it's not very helpful. I can't see any mention of notificationurl.
So my question is in the title - how can I tell if extload is being invoked or not (is it simply that I'm getting an error from sage and so it must be?) and if it is being invoked, why is my notificationURL malformed/incorrect?
In my cartthrob form I have return="customer/checkout/order_complete" - which is where I'm taken to straight after submitting my checkout form. This is where the error is displayed - so I must be sending something out to sage?
EDIT! One MSM site (site_id 1) is going through to sage The primary site goes through to the sage server, the second site gives the error. They both use the same payment gateway plugin, the checkout and extload.php code is identical for both (aside from the msm settings in each extload.php, which is all good). Even the POST data that goes out is the same (as far as I can see - it's all structured in the same way and all of the fields are present). So now I'm really wondering what it can be! It's got to be something simple that I've missed, but everything looks right...