Thought to myself "could that be Mal's Ecommerce?" I've mentioned a couple of times how nice it would be to have Mal'sE as part of the options. It's a truly secure, compliant offline payment system PLUS it has it's own Affiliate Program. What's not to like?
I Have always used it as a offline option with my CubeCart sites. It's a really nice option to offer, if you have a virtual terminal, which I do.
What's the story on this? Was it operational an now gone? Is it almost ready for release? Is it simply taking up space on the server?
A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!
Code: Select all
<?php
class ControllerPaymentMalsE extends Controller {
private $error = array();
public function index() {
$this->load->language('payment/malse');
$this->document->title = $this->language->get('heading_title');
$this->load->model('setting/setting');
if (($this->request->server['REQUEST_METHOD'] == 'POST') && ($this->validate())) {
$this->load->model('setting/setting');
$this->model_setting_setting->editSetting('malse', $this->request->post);
$this->session->data['success'] = $this->language->get('text_success');
$this->redirect($this->url->https('extension/payment'));
}
$this->data['heading_title'] = $this->language->get('heading_title');
$this->data['text_enabled'] = $this->language->get('text_enabled');
$this->data['text_disabled'] = $this->language->get('text_disabled');
$this->data['text_all_zones'] = $this->language->get('text_all_zones');
$this->data['entry_account'] = $this->language->get('entry_account');
$this->data['entry_domain'] = $this->language->get('entry_domain');
$this->data['entry_order_status'] = $this->language->get('entry_order_status');
$this->data['entry_geo_zone'] = $this->language->get('entry_geo_zone');
$this->data['entry_status'] = $this->language->get('entry_status');
$this->data['entry_sort_order'] = $this->language->get('entry_sort_order');
$this->data['button_save'] = $this->language->get('button_save');
$this->data['button_cancel'] = $this->language->get('button_cancel');
$this->data['tab_general'] = $this->language->get('tab_general');
$this->data['error_warning'] = @$this->error['warning'];
$this->data['error_account'] = @$this->error['account'];
$this->data['error_domain'] = @$this->error['domain'];
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('common/home'),
'text' => $this->language->get('text_home'),
'separator' => FALSE
);
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('extension/payment'),
'text' => $this->language->get('text_payment'),
'separator' => ' :: '
);
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('payment/malse'),
'text' => $this->language->get('heading_title'),
'separator' => ' :: '
);
$this->data['action'] = $this->url->https('payment/malse');
$this->data['cancel'] = $this->url->https('extension/payment');
if (isset($this->request->post['malse_account'])) {
$this->data['malse_account'] = $this->request->post['malse_account'];
} else {
$this->data['malse_account'] = $this->config->get('malse_account');
}
if (isset($this->request->post['malse_account'])) {
$this->data['malse_domain'] = $this->request->post['malse_domain'];
} else {
$this->data['malse_domain'] = $this->config->get('malse_domain');
}
if (isset($this->request->post['malse_order_status_id'])) {
$this->data['malse_order_status_id'] = $this->request->post['malse_order_status_id'];
} else {
$this->data['malse_order_status_id'] = $this->config->get('malse_order_status_id');
}
$this->load->model('localisation/order_status');
$this->data['order_statuses'] = $this->model_localisation_order_status->getOrderStatuses();
if (isset($this->request->post['malse_geo_zone_id'])) {
$this->data['malse_geo_zone_id'] = $this->request->post['malse_geo_zone_id'];
} else {
$this->data['malse_geo_zone_id'] = $this->config->get('malse_geo_zone_id');
}
$this->load->model('localisation/geo_zone');
$this->data['geo_zones'] = $this->model_localisation_geo_zone->getGeoZones();
if (isset($this->request->post['malse_status'])) {
$this->data['malse_status'] = $this->request->post['malse_status'];
} else {
$this->data['malse_status'] = $this->config->get('malse_status');
}
if (isset($this->request->post['malse_sort_order'])) {
$this->data['malse_sort_order'] = $this->request->post['malse_sort_order'];
} else {
$this->data['malse_sort_order'] = $this->config->get('malse_sort_order');
}
$this->id = 'content';
$this->template = 'payment/malse.tpl';
$this->layout = 'common/layout';
$this->render();
}
private function validate() {
if (!$this->user->hasPermission('modify', 'payment/malse')) {
$this->error['warning'] = $this->language->get('error_permission');
}
if (!@$this->request->post['malse_account']) {
$this->error['account'] = $this->language->get('error_account');
}
if (!@$this->request->post['malse_domain']) {
$this->error['domain'] = $this->language->get('error_domain');
}
if (!$this->error) {
return TRUE;
} else {
return FALSE;
}
}
}
?>
Free competition for Q's mod maybe? It's free, it's totally compliant (at least Mals is, don't know about this file) and it also has a free affiliate option.
It should be there.
Reason: Code-tags added
A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
There are dozens of carts that offer it, and I know there is some information on how to do it on Mal's site. It is not so friendly in that respect, you have to search it out, but it is there.
It looks like at one time it was in OC, but I can't say for sure.
I've been using it for years, the actual card info is double passworded, you have to get into your specific admin, then a second password to get the card info.
And it sends an email, just like PayPal. so you know there is money waiting.
People talk about a compliant offline method and it's right there.
A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
In some cases you may need to pass back data about an order to a script on your own server. This could be so that you can record orders to your own database or simply to send the customer an email.
It is assumed that the remote call will point to a some sort of CGI, ASP, Cold Fusion or PHP script. Anything returned by your server is ignored, it isn't displayed to the customer. No payment information is sent as the link does not use SSL.
Click here for a list of the fields passed in the remote call.
You can set-up the link by entering the URL below. Do not place http:// at the beginning.
The method used to call your script. GET or POST
You can get a free account. Get that then go to Cart Setup / Advanced settings / Remote call
A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!
Not as nice an interface. You lose your template.peteVA wrote:It's a truly secure, compliant offline payment system PLUS it has it's own Affiliate Program. What's not to like?
Unless you want to pay for a Premium account which is something like $80+ per annum (and worth it). A tad more than Q's Offline Credit Card mod, wouldn't you say ?
I seem to recall iframes could be used to keep the template but then https breaks out of the iframe, at least that's what I experienced when I was testing it.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
use '%3F'
http://www.yoursite.com/index.php%3Frou ... e/callback
note the '%3F' It has to be %3F instead of '?'
Yea there are a few payment gateways out there that do this and they need to be slapped. There are even ones like realex that don't allow you to redirect once you've processed the order information. Much hackery must be done and I've had to make standalone redirect pages for them. Good to hear mals allows %3FXsecrets wrote:if mals doesn't allow parameters in their return url then that certainly throws a kink into things. About the only thing you could do is create an htacces rule and rewrite the url that you give to mals.
It's been mentioned in previous posts in this thread that you can use "%3F" in place of a "?" in the Mals remote call function. In my own testing I found that, while using %3F allowed me to save the url of the callback to OC in the Mals setup, the debug emails sent by Mals (and my server log files) were reporting a 404 not found error. So I decided to ignore the remote call and make use of the return link instead.
How it Works
The customer adds items to their shopping cart on your OC site, then proceeds to the checkout. Upon clicking the "Confirm" button, they are sent to Mals where they are presented with an itemized list of the products they have selected, including quantities, unit price, total amount, subtotal, shipping and taxes (if applicable). Clicking the "Continue" button will present them with a page where they can securely enter their credit card details. After clicking the "Continue" button on this page, they are presented with a "Payment successfully processed" page. On this page, an "exit message" (and appropriate wording on the return button) is used to "encourage" the customer to return to your site to finalize the transaction.
Upon clicking that return button, they are returned to your site, where the order is updated, the shopping cart is cleared and an order confirmation email is sent to the customer from your site. If the customer is/was an account customer, they will still be logged in to their account.
I have a test environment set up at http://mals.fido-x.net for demonstration purposes. If you want to try it out, use a credit card number of 4111 1111 1111 1111. This number is not a "real" credit card number, and should work with any name and expiry date.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Users browsing this forum: No registered users and 9 guests