Post by fido-x » Sat Dec 20, 2014 11:28 am

Offline credit card processing through Mal's Ecommerce (http://www.mals-e.com).

Mal's provide a secure, PCI compliant environment for offline credit card processing, or for payment through a number of recognized payment gateways including PayPal, Paymate, Nochex, Moneybookers, and many others.

Mal's E-commerce is registered with Visa as a PCI compliant Level 2 service providor, taking the worry out of having to have your own site registered as PCI compliant. Credit card and cheque details are collected using an SSL secured server. This means you don't have to worry about having to purchase and maintain an SSL certificate. Mal's Ecommerce provide all of this for FREE!

This extension is compatible with OpenCart versions 2.0.0.x and 2.0.1.x. It is NOT compatible with any earlier releases of OpenCart.

Supports up to 5 currencies in addition to your default.

Full installation and setup instructions included.

Get it from Fido-X IT

Image
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!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by BlueNote » Wed Dec 23, 2015 11:44 pm

Hi Fido,

I've installed this extension and it's working and taking payments perfectly well, great job!

I'm just having some issues with the return link, although I'm not sure if it's an issue with mals-e rather or something I'm doing. I entered mysite.com/shop/index.php?route=payment/malse/callback for the return link in my mals-e settings, but after clicking update, the form truncates the url and the last 6 characters are missing (llback), so I get an error when returning to my site and the cart doesn't get cleared.
However, tried an order, then manually typed the whole url and still got the error, unless that is because some POST data needs to be sent by pressing the return button?

If I return to checkout/success, the cart will clear, but then order doesn't get recorded in opencart.

I'm new to opencart, I did click the request support link on the extension page, but it just gives me a pop up with instructions to search the forum. Not sure where to ask for support, so I came here..

Cheers

Newbie

Posts

Joined
Wed Dec 23, 2015 11:26 pm

Post by BlueNote » Sun Dec 27, 2015 10:02 am

Ok, I found that indeed it's a problem with mals-e. I'm not sure why, but there is a character limit for the return link. I've posted on their forum about it, so hopefully I can find out if they can fix that.
In the meantime, I made a workaround. It's not ideal, but it works ok..
I made another page called checkout.php in my top level, then redirected the post data to the correct url.

Code: Select all

<body onload="document.forms[0].submit()">
<form action="shop/index.php?route=payment/malse/callback" method="post">
<?php foreach( $_POST as $key => $val ): ?>
<input type="hidden" name="<?= htmlspecialchars($key, ENT_COMPAT, 'UTF-8') ?>" value="<?= htmlspecialchars($val, ENT_COMPAT, 'UTF-8') ?>">
<?php endforeach; ?>
</form>
<img src="images/loading_spinner.gif" width="200" height="200" alt="loading" align="absmiddle" />
</body> 

Newbie

Posts

Joined
Wed Dec 23, 2015 11:26 pm

Post by labeshops » Sun Dec 27, 2015 8:20 pm

Actually Mals has had that character limit for like 30 years, so not sure they will ever change it :( I used them when I used to use cubecart and a company I worked with also used them and it had that limit. They are a great service, just a bit weird on a few things like that. Good workaround idea though.

Running Opencart v2.2 with multi-stores from http://www.labeshops.com which has links to all my stores.

Image


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by BlueNote » Mon Dec 28, 2015 4:39 pm

Ah ok, well thanks at least for confirming that for me. Seems a bit strange why they would do that, but anyway, at least I have a way to make it work now.
Maybe an idea fido to include a file like this in the download, maybe just call it m.php just to be sure it will fit! I'm sure I won't be the only one to encounter this problem..

Cheers :)

Newbie

Posts

Joined
Wed Dec 23, 2015 11:26 pm
Who is online

Users browsing this forum: No registered users and 5 guests