I am trying to write a payment module for Mals-e.com. I nearly got it (I think) but now I'm stuck on how to call the callback function.
I have searched this forum, trying to mimick paypal, but not knowing paypal, I dunno what people are saying.
My understanding of the callback function is that it:
1. Updates the order status
2. sends the customer to the success page (I don't need this step)
Mal's has a Remote Call feature which will call a script after the buyer has finished paying.
I'm thinking that I can use this remote call feature to call the callback function in the malse.php file
But what do I write in the script


Another option is to just forget the callback function in malse.php and write my own mysql to update the order table with the order status. Is that all I need to do ? Guess I had also better check when the email to the customer is triggered.
-------------
Note for others who read this in the future
You can modifiy the twocheckout payment option to suit Mals-e
It was really easy except I had trouble thinking how to get opencart's order number back. So I used Mal's 'message' field.
Other than that, it was a straight global find/replace of the words for twocheckout with malse
except for this last callback bit which Q is going to help me with. Right Q ?
