Post by jty » Tue Jul 27, 2010 12:34 am

Hello,
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 :crazy: I'm not a programmer so I am clueless :(

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 ? :drunk:

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by AllenConquest » Sat May 05, 2012 7:50 pm

Hello,
Did you get this callback working from Mals-e. I am attempting something similar with Mals to collect credit card details. I agree that you can use the twocheckout as a template, but I have made many changes to streamline the experience.

The last piece of the puzzle is the callback to OpenCart, so any help would be greatly recieved. I will put this up as a module once it's working properly.

Thanks,

Allen

New member

Posts

Joined
Tue Sep 06, 2011 9:13 pm

Post by beattie » Sat Dec 08, 2012 5:11 am

Mal's Opencart Payment Module for OC v1.5x is available here http://www.opencart.com/index.php?route ... on_id=7759

New member

Posts

Joined
Tue May 22, 2012 11:33 am
Location - Australia
Who is online

Users browsing this forum: No registered users and 110 guests