ClientExec: Problem with callback.php
Hi,I spent over a week installing and then customising ClientExec, but what ever I did I couldn't get callback.php to function correctly with WorldPay.
Out of frustration, I deleted everything and made a completly fresh install and have not modified *anything*.
Version 2.6.2
This is my problem:
When some makes an order, either through signup or by clicking on "Pay Invoice" they are taken to WorldPay.
WorldPay processes the payment and then sends the results to the correct callback file:
(worldpay's MD5 and callback pass are matched to ones in CE)
but despite worldpay saying there was no failure in accesses callback.php it doesn't seem to function and nothing gets updated in ClientExec.
Here's the weird thing (and someone might be able to spot obviously what the problem is from this but I can't):
If I send variables to callback from a form I made to test it, the callback function works.
So, I thought I'd create an intermediate callback function that would collect the variables from worldpay and then send them on to the clientexec callback.
So it was setup... Worldpay -> Intermediate Callback -> CE Callback.
When sending variables via my browser through a form the intermediate callback, it worked and triggerd the CE Callback which also worked and clients details were updated and an invoice sent out.
But If i processed a transaction with WorldPay, it would trigger the intermediate which collected the correct variables but the CE callback still didn't work.
So it looks like CE Callback likes browsers but not worldpay sent variables.
Has any one got a clue how I can solve this???????
I'm tearing my hair out.