FraudLabs Pro - Agent Javascript Code

LiteCart Fan
Tól től Australia
Tagság dec. 2018 óta

Firstly I would like to say this is a great extension, and thanks to Tim for rewriting it for Litecart 2.2

Secondly, I have a  question.  I have installed the extension as per the instructions and it works great.  But there are 2 features that don't work with the default installation:

  1. Device Information
    When I click on the "Device Information" tab in Fraudlabspro, it gives me the message: "This feature is unavailable. Please integrate the FraudLabs Pro Agent Javascript in your shopping cart."

When I goto the Agent Javascript integration page, I see these instructions: https://www.fraudlabspro.com/developer/javascript

I was thinking to try and add the code to “includes/templates/default.catalog/layouts/checkout.php", but then it mentions:
"If you were using the ready made module in an e-commerce platform, such as Magento, please visit the respective module page for the Agent Javascript installation instructions."

Has anyone done this?

2. Credit Card Validation
The extension doesn't seem to support the credit card validation (eg. BIN Found:  BIN Country Match:  Prepaid Card:) with the Stripe module.  My guess is that with the new Stripe module, that things are more secure and there is no way for the Fraudlabspro to see the credit card information. Is this right?  Or can the credit card number somehow be passed to the extension?

LiteCart Fan
Tól től Malaysia
Tagság márc. 2015 óta

You will need to manually add the Javascript into your existing template in order to work in LiteCart.

LiteCart Fan
Tól től Australia
Tagság dec. 2018 óta

Thanks. Into this template? includes/templates/default.catalog/layouts/checkout.php

LiteCart Fan
Tól től Malaysia
Tagság márc. 2015 óta

Yes.

LiteCart Fan
Tól től Australia
Tagság dec. 2018 óta

Thanks. I added the javascript code to the bottom of the checkout.php page before the </body> but it doesn't work. I still get the message "This feature is unavailable. Please integrate the FraudLabs Pro Agent Javascript in your shopping cart."

When I view the source of the checkout page, I can see code is there:
<script>
(function(){
function s() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.async = true;
e.src = ('https:' === document.location.protocol ? 'https://' : 'http://') + 'cdn.fraudlabspro.com/s.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
}  
(window.attachEvent) ? window.attachEvent('onload', s) : window.addEventListener('load', s, false);
})();
</script>
</body>
</html>

Any ideas?

LiteCart Fan
Tól től Malaysia
Tagság márc. 2015 óta

It might be blocked by your adblock extension or settings.

Please contact us directly with your website at support[at]fraudlabspro.com.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.